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

WIP: FR #84 Include containerd-specific labels to data coming from powercaprapl sensor #109

Merged
merged 62 commits into from
Sep 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
7bbc931
feat: fetching data from /proc/PID/cgroups (procfs) for processes tha…
bpetit May 9, 2021
70644e6
style: cargo fmt
bpetit May 9, 2021
ca35afd
style: cargo clippy
bpetit May 9, 2021
7f38f59
feat(containers): added container names as labels thanks to rs-docker
bpetit May 11, 2021
60d21bd
chore(containers): removing useless comments
bpetit May 12, 2021
076461a
style(containers): cargo fmt
bpetit May 13, 2021
8e1d24b
style(containers): cargo clippy
bpetit May 13, 2021
3de90f9
refactor: preparing features in cargo.toml
bpetit Jun 1, 2021
4813021
style: cleaned imports
bpetit Jun 1, 2021
e34780b
r(prometheus)efacto: first working version with tokio/hyper, no metri…
bpetit Jun 1, 2021
edd3335
refacto(prometheus): added metrics to hyper/tokio skeleton
bpetit Jun 1, 2021
a1b9cf1
fix: normalizing container labels keys
bpetit Jun 9, 2021
84fe934
style: cargo fmt
bpetit Jun 9, 2021
9444f67
refactor: integrated docker-sync to query docker data
bpetit Jun 14, 2021
9177a63
style: cargo fmt
bpetit Jun 14, 2021
ab319b0
chore: triggering docker build
bpetit Jun 15, 2021
4b28409
fix: huge perf issue, still some seconds to recover
bpetit Jun 17, 2021
7ec5568
perf: limiting cgroup entries to be parsed
bpetit Jun 17, 2021
0d0ee5f
style: clippy and fmt
bpetit Jun 17, 2021
9b67ca1
feat: added docker version to prom lavels
bpetit Jun 18, 2021
0f3c123
style: fmt and clippy
bpetit Jun 18, 2021
384aa50
refacto: used docker events to not query the socket every time
bpetit Jun 25, 2021
5f4dbf3
perf: added cache based on docker events
bpetit Jul 8, 2021
d7f6f80
style: cargo fmt
bpetit Jul 8, 2021
dc1041d
style: removed old commented code
bpetit Jul 15, 2021
e919538
fix: escaping enforced double commas in commandline
bpetit Jul 28, 2021
847efc2
fix: prometheus exporter needs to pop metrics and not just get it
bpetit Jul 29, 2021
3a9e721
fix: using public dependencies
bpetit Jul 29, 2021
8e12e8d
fix: added pop_metrics
bpetit Jul 29, 2021
772d19d
feat: adding kubernetes pod name and node name for processes inside a…
bpetit Sep 1, 2021
4a39017
fix: upgraded k8s-openapi version in k8s-sync and made required change
bpetit Sep 1, 2021
1f87509
perf: adding a timer to limit requests freq on k8s api
bpetit Sep 6, 2021
1de33d7
chore: calling --containers feature in tests
bpetit Sep 6, 2021
dd2c4b8
docs: improving a bit crate's top level doc
bpetit Sep 7, 2021
0b56ba0
fix: adding docker socket to volumes for tests
bpetit Sep 7, 2021
3533672
docs: adding comments to containers related functions
bpetit Sep 7, 2021
fca5cb8
fix: fixing prom to scaph test
bpetit Sep 7, 2021
fe8b576
style: cargo fmt
bpetit Sep 9, 2021
e579d02
fix: ensuring pods list is actually refreshed
bpetit Sep 10, 2021
f8a1d5d
chore: lowering log level on debug msg
bpetit Sep 10, 2021
4f6e51c
docs: adding doc for --containers flag in prom exporter
bpetit Sep 11, 2021
5249a3c
fix: isolating weird bug about record values
bpetit Sep 11, 2021
91ed65d
fix: kubenetes labels have to work even if docker socket is not used
bpetit Sep 16, 2021
dc8cf1c
fix: extended kubernetes cgroup regex to match other setups
bpetit Sep 16, 2021
618db49
style cargo fmt
bpetit Sep 16, 2021
a1517f7
chore: removed debug code
bpetit Sep 16, 2021
2435583
fix: bumping to latest version of docker and k8s sync libs
bpetit Sep 16, 2021
78e5cb5
fix: updated docker sync lib and removed useless warning
bpetit Sep 17, 2021
5309225
style: cargo fmt
bpetit Sep 17, 2021
53a65e2
Merge branch 'main' into feature/#84-include-containerd-specific-labels
bpetit Sep 18, 2021
d6d262a
Update src/sensors/utils.rs
bpetit Sep 18, 2021
9324dfe
Update docs_src/references/exporter-prometheus.md
bpetit Sep 18, 2021
71a7f1f
style: cargo fmt
bpetit Sep 18, 2021
be12d85
fix: tests prometheus config not ok
bpetit Sep 18, 2021
68c3c74
chore: removing actix from cargo.lock
bpetit Sep 20, 2021
59a3643
fix: making container_id extraction a function to manage different se…
bpetit Sep 20, 2021
e531fd7
Update docs_src/references/exporter-prometheus.md
bpetit Sep 20, 2021
443b021
Update src/sensors/utils.rs
bpetit Sep 20, 2021
674a0a3
chore: removed old comment
bpetit Sep 20, 2021
bb4e67f
Merge branch 'feature/#84-include-containerd-specific-labels' of gith…
bpetit Sep 20, 2021
440e2e6
style: cargo fmt
bpetit Sep 20, 2021
694a85e
fix: wrong config in tests
bpetit Sep 20, 2021
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
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Rust

on:
push:
branches: [ main ]
branches: [ main, dev ]
pull_request:
branches: [ main ]
branches: [ main, dev ]

env:
CARGO_TERM_COLOR: always
Expand Down
Loading