Skip to content

Commit

Permalink
Add docker network metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
dkeysil committed Jan 24, 2024
1 parent a225fa7 commit 6c368ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions domain/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ const (
MetricDockerEventNetworkDisconnect = "docker.network.disconnect"
MetricDockerResourcesCPU = "docker.resources.cpu"
MetricDockerResourcesMemory = "docker.resources.memory"
MetricDockerResourcesNetworkSent = "docker.resources.network.sent"
MetricDockerResourcesNetworkReceive = "docker.resources.network.receive"
)

var (
Expand Down Expand Up @@ -151,5 +153,7 @@ var (
MetricDockerEventNetworkDisconnect: nil,
MetricDockerResourcesCPU: nil,
MetricDockerResourcesMemory: nil,
MetricDockerResourcesNetworkSent: nil,
MetricDockerResourcesNetworkReceive: nil,
}
)

0 comments on commit 6c368ce

Please sign in to comment.