Skip to content

Commit

Permalink
Remove use of cgroups
Browse files Browse the repository at this point in the history
Remove the use of cgroups from this exporter. This fuctionality overlaps
too much with cAdvisor and is not systemd specific.

Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ committed Oct 29, 2023
1 parent 555abe3 commit b7ffaaf
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 385 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Take a look at `examples` for daemonset manifests for Kubernetes.

# User privilleges

User needs to access systemd dbus, typically exporter needs to see node's `/proc`, `/sys/fs/cgroup` to work.
User needs to access systemd dbus, typically exporter needs to see node's `/proc` to work.

# Metrics

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ require (
github.com/prometheus/client_golang v1.14.0
github.com/prometheus/common v0.42.0
github.com/prometheus/exporter-toolkit v0.10.0
golang.org/x/sys v0.7.0
)

require (
Expand All @@ -32,6 +31,7 @@ require (
golang.org/x/net v0.9.0 // indirect
golang.org/x/oauth2 v0.6.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.7.0 // indirect
golang.org/x/text v0.9.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.1 // indirect
Expand Down
276 changes: 0 additions & 276 deletions systemd/cgroups.go

This file was deleted.

Loading

0 comments on commit b7ffaaf

Please sign in to comment.