Changes

Jump to: navigation, search

Metrics and Monitoring in swarm

576 bytes added, 20:52, 6 September 2018
Beépített címkék
Pl az alábbi metrikát a cAdvisor egyik konténere küldi. A Prometheus config-ban a job neve "cadivisor" (lást [[Metrics_and_Monitoring_in_swarm#Prometheus_konfigur.C3.A1ci.C3.B3|Prometheus konfig című fejezetet]])
container_cpu_system_seconds_total{id="/",'''instance'''="10.0.0.12:8080",'''job'''="cadvisor"}
 
 
Ezen felül még 4 beépített idősort is automatikusan létrehoz a Prometheus minden egyes végponthoz, tehát minden instance-hoz:
 
up{job="<job-name>", instance="<instance-id>"}: 1 if the instance is healthy, i.e. reachable, or 0 if the scrape failed.
 
scrape_duration_seconds{job="<job-name>", instance="<instance-id>"}: duration of the scrape.
 
scrape_samples_post_metric_relabeling{job="<job-name>", instance="<instance-id>"}: the number of samples remaining after metric relabeling was applied.
 
scrape_samples_scraped{job="<job-name>", instance="<instance-id>"
==Honnan jön a metrika==

Navigation menu