Architecting Monitoring for Containerized Applications
Why not use Nagios?
Can’t use same method as traditional servers. E.g. putting an agent into a container doesn’t really work.
/metrics exposed for container runtime. Docker uses Prometheus format (i.e. simple text with
Key Value format)
Prometheus stores data in time series database.
Is in YAML. E.g.
- job_name: <name here>
Status > Targets: lists all monitored targets
Graph > Graph > select from
insert metric at cursor
Collecting Metrics with Prometheus
Exposing Runtime Metrics with Prometheus
Exposing Application Metrics to Prometheus
Exposing Docker Metrics to Prometheus
Building Dashboards with Grafana