prometheus

Host endpoints (/metrics and /stats) for Prometheus scraping.

metrics:
prometheus:
prefix: benthos

Metrics paths will differ from the list in that dot separators will instead be underscores.

Fields

prefix

string A string prefix to add to all metrics.

push_url

string An optional Push Gateway URL to push metrics to.

push_interval

string The period of time between each push when sending metrics to a Push Gateway.

push_job_name

string An identifier for push jobs.

Push Gateway

The field push_url is optional and when set will trigger a push of metrics to a Prometheus Push Gateway once Benthos shuts down. It is also possible to specify a push_interval which results in periodic pushes.

The Push Gateway is useful for when Benthos instances are short lived. Do not include the "/metrics/jobs/..." path in the push URL.