You are viewing version 2.24 of the documentation, which is no longer maintained. For up-to-date documentation, see the latest version.

Monitoring the Armory Agent with Prometheus

Learn how to configure Prometheus to get metrics from the Armory Agent and display them in a Grafana dashboard.

Configure Prometheus

If prometheus.enabled is true in the Agent configuration, the Agent exposes metrics on port 8008 (prometheus.port) on path /metrics or /prometheus_metrics like other Spinnaker services. Both paths serve the same data.

If you are using the Prometheus operator, you can scrape metrics with:

kind: ServiceMonitor
    app: spin
  name: armory-agent-service-monitor
    - path: /prometheus_metrics
      port: metrics
#    - path: /metrics
#      port: metrics
    app: spin

Import a Grafana dashboard

You can import this Grafana dashboard definition to use with Prometheus.