Skip to content

Commit

Permalink
Add docker metrics names
Browse files Browse the repository at this point in the history
  • Loading branch information
dkeysil committed Jan 23, 2024
1 parent 53e1b12 commit bc9a5ed
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions domain/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ const (
MetricCombinerError = "combiner.error"
MetricCombinerSuccess = "combiner.success"
MetricCombinerDrop = "combiner.drop"

MetricDockerEventPull = "docker.image.pull"
MetricDockerEventContainerCreate = "docker.container.create"
MetricDockerEventContainerDestroy = "docker.container.destroy"
MetricDockerEventContainerConnect = "docker.container.connect"
MetricDockerEventContainerDisconnect = "docker.container.disconnect"
MetricDockerEventNetworkCreate = "docker.network.create"
MetricDockerEventNetworkDestroy = "docker.network.destroy"
MetricDockerEventNetworkConnect = "docker.network.connect"
MetricDockerEventNetworkDisconnect = "docker.network.disconnect"
MetricDockerResourcesCPU = "docker.resources.cpu"
MetricDockerResourcesMemory = "docker.resources.memory"
)

var (
Expand Down

0 comments on commit bc9a5ed

Please sign in to comment.