Skip to content

Commit

Permalink
Update internal/store/ingress.go
Browse files Browse the repository at this point in the history
Co-authored-by: Damien Grisonnet <damien.grisonnet@epita.fr>
  • Loading branch information
rohitphatak and dgrisonnet committed Sep 5, 2023
1 parent a75883a commit d5fa795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/store/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func ingressMetricFamilies(allowAnnotationsList, allowLabelsList []string) []gen
apiGroup = *path.Backend.Resource.APIGroup
}
ms = append(ms, &metric.Metric{
LabelKeys: []string{"host", "path", "api_group", "kind", "name"},
LabelKeys: []string{"host", "path", "resource_api_group", "resource_kind", "resource_name"},
LabelValues: []string{rule.Host, path.Path, apiGroup, path.Backend.Resource.Kind, path.Backend.Resource.Name},
Value: 1,
})
Expand Down

0 comments on commit d5fa795

Please sign in to comment.