Skip to content

Commit af443d9

Browse files
committed
cadvisor
1 parent 1449c13 commit af443d9

File tree

9 files changed

+891
-4
lines changed

9 files changed

+891
-4
lines changed

book/src/framework/observability/metrics.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ Queries:
88
- All metrics of all containers
99
```json
1010
{job="ctf"}
11-
```
11+
```
12+
13+
## Docker Resources
14+
15+
We are using [cadvisor](https://github.com/google/cadvisor) to monitor resources of test [containers](http://localhost:3000/d/pMEd7m0Mz/cadvisor-exporter?orgId=1).

framework/.changeset/v0.3.5.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Add cadvisor support to "ctf obs up"
2+
- Add cadvisor dashboard

framework/cmd/observability/compose/conf/prometheus.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@ scrape_configs:
1111
- source_labels: [ __meta_docker_port_private ]
1212
regex: '6688'
1313
action: keep
14+
- job_name: cadvisor
15+
scrape_interval: 10s
16+
static_configs:
17+
- targets:
18+
- cadvisor:8080

0 commit comments

Comments
 (0)