You are viewing version 2.22 of the documentation, which is no longer maintained. For up-to-date documentation, see the latest version.
Monitoring
Monitor using Prometheus
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:
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
app: spin
name: armory-agent-service-monitor
spec:
endpoints:
- path: /prometheus_metrics
port: metrics
# - path: /metrics
# port: metrics
selector:
app: spin
Grafana
You can import this Grafana dashboard definition to use with Prometheus.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified October 8, 2020: chore(docs): Add Armory Agent, few fixes (#240) (643ab6b)