The agentmon
application reads language metrics from
a Prometheus or a StatsD source, then
translates and aggregates the metrics data to a format expected by the
language metrics sink. It posts the data to the language metrics sink
located at https://app.metrics.heroku.com
. A typical use case would
be to add agentmon
to a buildpack and set an environment variable
HEROKU_METRICS_URL
to https://app.metrics.heroku.com/<dyno id>
. agentmon
will read the language metrics sink URL from the
environment variable when it starts and use it to post language
metrics.
For more about what agentmon actually does, and its modes of operation, see design.
usage: agentmon [flags] sink-URL
-backlog int
Size of pending measurement buffer (default 1000)
-debug
debug mode is more verbose
-interval int
Sink flush interval in seconds (default 20)
-prom-interval int
Prometheus poll interval in seconds (default 5)
-prom-url string
Prometheus URL
-statsd-addr string
UDP address for statsd listener
-version
print version string
make test
make install
make build
make release
(c) 2017, Heroku, Inc. See LICENSE for details.