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
|
|
|
|
|
|
|
|
## 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"
|
|
|
|
|
```
|