Just "name" for the label is enough, KISS
This commit is contained in:
parent
b394173b60
commit
b309cae8d3
3 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ namespace DockerExporter
|
||||||
|
|
||||||
private static readonly Counter BaseFailedProbeCount = Metrics.CreateCounter("docker_probe_container_failed_total", "Number of times the exporter failed to collect information about a specific container.", new CounterConfiguration
|
private static readonly Counter BaseFailedProbeCount = Metrics.CreateCounter("docker_probe_container_failed_total", "Number of times the exporter failed to collect information about a specific container.", new CounterConfiguration
|
||||||
{
|
{
|
||||||
LabelNames = new[] { "display_name" }
|
LabelNames = new[] { "name" }
|
||||||
});
|
});
|
||||||
|
|
||||||
private static readonly Histogram BaseInspectContainerDuration = Metrics
|
private static readonly Histogram BaseInspectContainerDuration = Metrics
|
||||||
|
|
|
@ -72,7 +72,7 @@ namespace DockerExporter
|
||||||
|
|
||||||
private static GaugeConfiguration ConfigureGauge() => new GaugeConfiguration
|
private static GaugeConfiguration ConfigureGauge() => new GaugeConfiguration
|
||||||
{
|
{
|
||||||
LabelNames = new[] { "display_name" },
|
LabelNames = new[] { "name" },
|
||||||
SuppressInitialValue = true
|
SuppressInitialValue = true
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ namespace DockerExporter
|
||||||
|
|
||||||
private static GaugeConfiguration ConfigureGauge() => new GaugeConfiguration
|
private static GaugeConfiguration ConfigureGauge() => new GaugeConfiguration
|
||||||
{
|
{
|
||||||
LabelNames = new[] { "display_name" },
|
LabelNames = new[] { "name" },
|
||||||
SuppressInitialValue = true
|
SuppressInitialValue = true
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue