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 d141564 commit 78863bc
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.17.0
github.com/prometheus/common v0.44.0
github.com/prometheus/exporter-toolkit v0.10.0
golang.org/x/sys v0.12.0
)

require (
Expand All @@ -31,6 +30,7 @@ require (
golang.org/x/net v0.10.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/text v0.9.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.31.0 // indirect
Expand Down
276 changes: 0 additions & 276 deletions systemd/cgroups.go

This file was deleted.

Loading

0 comments on commit 78863bc

Please sign in to comment.