feat(prometheus): Docker Daemon scraping for monitoring (#1865)

* Docker Daemon scraping using otel

* Dashboard for the docker statistics updated with internal network implementation

---------

Co-authored-by: Kushang Haria <kushangh@192.168.1.3>
Co-authored-by: Kushang Haria <kushangh@MacBook-Pro.local>
This commit is contained in:
24kushang
2024-08-06 18:21:03 +05:30
committed by GitHub
parent d6b64a21b9
commit 27150a2955
6 changed files with 794 additions and 1 deletions

View File

@@ -24,6 +24,8 @@ receivers:
operators:
- type: regex_parser
regex: "^(?P<message>\\[\\w+-\\w+\\.\\w+\\]\\s+(\\w+\\s+)*\\w+:?\\s*.*$)"
docker_stats:
endpoint: "unix:///var/run/docker.sock"
processors:
batch:
@@ -32,6 +34,8 @@ exporters:
loglevel: debug
loki:
endpoint: "http://loki:3100/loki/api/v1/push"
prometheus:
endpoint: "0.0.0.0:9464"
service:
pipelines:
@@ -51,3 +55,8 @@ service:
receivers: [otlp, filelog/jitsi-web]
processors: [batch]
exporters: [loki]
metrics:
receivers: [docker_stats]
processors: [batch]
exporters: [prometheus]