2015-11-06 17:27:17 +08:00
|
|
|
# Amon Output Plugin
|
|
|
|
|
|
2022-04-21 23:45:47 +08:00
|
|
|
This plugin writes to [Amon](https://www.amon.cx) and requires an `serverkey`
|
|
|
|
|
and `amoninstance` URL which can be obtained
|
|
|
|
|
[here](https://www.amon.cx/docs/monitoring/) for the account.
|
2015-11-06 17:27:17 +08:00
|
|
|
|
2022-04-21 23:45:47 +08:00
|
|
|
If the point value being sent cannot be converted to a float64, the metric is
|
|
|
|
|
skipped.
|
2015-11-06 17:27:17 +08:00
|
|
|
|
2021-11-25 02:47:33 +08:00
|
|
|
Metrics are grouped by converting any `_` characters to `.` in the Point Name.
|
2022-04-08 05:55:03 +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
|
|
|
|
2022-04-08 05:55:03 +08:00
|
|
|
## Configuration
|
|
|
|
|
|
2022-05-25 22:48:59 +08:00
|
|
|
```toml @sample.conf
|
2022-04-08 05:55:03 +08:00
|
|
|
# Configuration for Amon Server to send metrics to.
|
|
|
|
|
[[outputs.amon]]
|
|
|
|
|
## Amon Server Key
|
|
|
|
|
server_key = "my-server-key" # required.
|
|
|
|
|
|
|
|
|
|
## Amon Instance URL
|
|
|
|
|
amon_instance = "https://youramoninstance" # required
|
|
|
|
|
|
|
|
|
|
## Connection timeout.
|
|
|
|
|
# timeout = "5s"
|
|
|
|
|
```
|