Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cadvisor #1449

Merged
merged 3 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion book/src/framework/observability/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ Queries:
- All metrics of all containers
```json
{job="ctf"}
```
```

## Docker Resources

We are using [cadvisor](https://github.com/google/cadvisor) to monitor resources of test [containers](http://localhost:3000/d/pMEd7m0Mz/cadvisor-exporter?orgId=1).
2 changes: 2 additions & 0 deletions framework/.changeset/v0.3.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add cadvisor support to "ctf obs up"
- Add cadvisor dashboard
5 changes: 5 additions & 0 deletions framework/cmd/observability/compose/conf/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ scrape_configs:
- source_labels: [ __meta_docker_port_private ]
regex: '6688'
action: keep
- job_name: cadvisor
scrape_interval: 10s
static_configs:
- targets:
- cadvisor:8080
Loading
Loading