Skip to content

Commit

Permalink
reset labels name (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
kqzh authored Feb 15, 2022
1 parent a8bc82d commit 83b83fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ func (exporter *NebulaExporter) CollectMetrics(
continue
}

labels := []string{"nebula_cluster", "component_type", "instance_name"}
// TODO: uniform naming rules with _
labels := []string{"nebula_cluster", "componentType", "instanceName"}
labelValues := []string{cluster, componentType, name}

if namespace != NonNamespace {
Expand Down

0 comments on commit 83b83fd

Please sign in to comment.