2016-05-02 22:58:29 +08:00
|
|
|
# Instrumental Output Plugin
|
|
|
|
|
|
2022-04-21 23:45:47 +08:00
|
|
|
This plugin writes to the [Instrumental Collector
|
|
|
|
|
API](https://instrumentalapp.com/docs/tcp-collector) and requires a
|
|
|
|
|
Project-specific API token.
|
2016-05-02 22:58:29 +08:00
|
|
|
|
2022-04-21 23:45:47 +08:00
|
|
|
Instrumental accepts stats in a format very close to Graphite, with the only
|
|
|
|
|
difference being that the type of stat (gauge, increment) is the first token,
|
|
|
|
|
separated from the metric itself by whitespace. The `increment` type is only
|
|
|
|
|
used if the metric comes in as a counter through `[[input.statsd]]`.
|
2016-05-02 22:58:29 +08:00
|
|
|
|
2022-10-27 03:58:36 +08:00
|
|
|
## Global configuration options <!-- @/docs/includes/plugin_config.md -->
|
|
|
|
|
|
|
|
|
|
In addition to the plugin-specific configuration settings, plugins support
|
|
|
|
|
additional global and plugin configuration settings. These settings are used to
|
|
|
|
|
modify metrics, tags, and field or create aliases and configure ordering, etc.
|
|
|
|
|
See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
|
|
|
|
|
2023-01-12 23:55:21 +08:00
|
|
|
[CONFIGURATION.md]: ../../../docs/CONFIGURATION.md#plugins
|
2022-10-27 03:58:36 +08:00
|
|
|
|
2021-11-25 02:47:33 +08:00
|
|
|
## Configuration
|
2016-05-02 22:58:29 +08:00
|
|
|
|
2022-05-25 22:48:59 +08:00
|
|
|
```toml @sample.conf
|
2022-04-08 05:55:03 +08:00
|
|
|
# Configuration for sending metrics to an Instrumental project
|
2016-05-02 22:58:29 +08:00
|
|
|
[[outputs.instrumental]]
|
|
|
|
|
## Project API Token (required)
|
|
|
|
|
api_token = "API Token" # required
|
|
|
|
|
## Prefix the metrics with a given name
|
|
|
|
|
prefix = ""
|
|
|
|
|
## Stats output template (Graphite formatting)
|
|
|
|
|
## see https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md#graphite
|
|
|
|
|
template = "host.tags.measurement.field"
|
|
|
|
|
## Timeout in seconds to connect
|
|
|
|
|
timeout = "2s"
|
2020-05-14 15:41:58 +08:00
|
|
|
## Debug true - Print communication to Instrumental
|
2016-05-02 22:58:29 +08:00
|
|
|
debug = false
|
|
|
|
|
```
|