Monitoring

Bindplane is instrumented with OpenTelemetry metrics, allowing server operators to track Bindplane's health using the monitoring backend of their choice.

Metrics

See Metrics For a comprehensive list of metrics.

Monitoring Bindplane Server

Bindplane can be configured to export metrics about its health, for example allowing you to see a sudden drop in connected collectors or dangerously high memory utilization. These metrics can be collected by two methods: scraping a Prometheus endpoint on the server, or sending to an OTLP endpoint.

For both methods, we recommend collecting the metrics with the Bindplane Collector, which can then perform processing and forward metrics to your monitoring platform.

By default, your config.yaml file will contain this base metrics block, which doesn't export anything:

metrics:
  interval: 1m0s
  prometheus:
    endpoint: /metrics

OTLP

Use the following values for the metrics block of your config.yaml.

metrics:
  type: otlp
  interval: 60s
  otlp:
    endpoint: 127.0.0.1:4317
    insecure: true

With this configuration, metrics will be exported every 60 seconds to an OTLP endpoint without TLS. To have your Bindplane Collector collect these metrics, add an OTLP source listening on port 4317.

Prometheus

Use the following values for the metrics block of your config.yaml.

metrics:
  type: prometheus
  interval: 60s
  prometheus:
    endpoint: /metrics

With this configuration, metrics will be available in Prometheus format at the /metrics of the Bindplane server. The endpoint will be available without authentication. To protect the endpoint with basic auth, provide the username and password parameters:

metrics:
  type: prometheus
  interval: 60s
  prometheus:
    endpoint: /metrics
    username: user
    password: pass

We recommend collecting the metrics using the Bindplane Collector.

Last updated

Was this helpful?