Difference between revisions of "CAdvisor"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
* Connect: http://localhost:8080/ | * Connect: http://localhost:8080/ | ||
+ | |||
+ | == [[Prometheus]] == | ||
+ | - [[job_name]]: 'cadvisor' | ||
+ | scrape_interval: 5s | ||
+ | static_configs: | ||
+ | - targets: ['cadvisor:[[8080]]'] | ||
== Related == | == Related == | ||
* [[Kubelet]] | * [[Kubelet]] | ||
* [[cAdvisor releases]] | * [[cAdvisor releases]] | ||
+ | * [[Prometheus node exporter]] | ||
+ | * [[9323]] [[dockerd]] | ||
== See also == | == See also == |
Latest revision as of 11:40, 31 December 2023
wikipedia:cAdvisor (Container Advisor) It is a running daemon that collects, aggregates, processes, and exports information about running containers.
- https://github.com/google/cadvisor
- gcr.io/cadvisor/cadvisor
E1124 11:43:23.882646 2159 cadvisor_stats_provider.go:415] "Partial failure issuing cadvisor.ContainerInfoV2" err="partial failures: [\"/kubepods/besteffort/pod57eb9fcd-e4c3-4b91-92bd-f1205c1915b8\": RecentStats: unable to find data in memory cache], [\"/kubepods/besteffort/podc89e8745-e50b-482c-bb11-1d87cd4f63e7\": RecentStats: unable to find data in memory cache ]"
docker run --volume=/:/rootfs:ro --volume=/var/run:/var/run:ro --volume=/sys:/sys:ro --volume=/var/lib/docker/:/var/lib/docker:ro --volume=/dev/disk/:/dev/disk:ro --publish=8080:8080 --detach=true --name=cadvisor --privileged --device=/dev/kmsg gcr.io/cadvisor/cadvisor:v0.47.0
- Connect: http://localhost:8080/
Prometheus[edit]
- job_name: 'cadvisor' scrape_interval: 5s static_configs: - targets: ['cadvisor:8080']
Related[edit]
See also[edit]
- cAdvisor, priorityClass, cAdvisor releases, 8080
- Containers, OCI: Docker (
dockerd
),containerd
,runc
, Podman, buildah, skopeo, lxd, Container Registry, Service mesh, Windows Server containers, Containerpilot, CoreOS, CAdvisor, Containers networking, Container scanning, cosign, CRI, CRI-O,initContainers
, Sidecar container, Container images, latest - Monitoring: On call, Monitoring software, Monitoring services, Resource monitoring, Metric colletion tools, network monitoring, SLA Management Monitoring Tools, Alarm/Alert, Resource starvation, Alerts and notifications, Monitoring Kubernetes, VictoriaMetrics, Sensu, LogicMonitor, Distributed tracing, Datadog Monitors
Advertising: