Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay committed Aug 2, 2023
1 parent 0df4370 commit 64a917e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/collector/reconcile/servicemonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func desiredServiceMonitors(_ context.Context, params Params) []monitoringv1.Ser
Namespace: col.Namespace,
Name: naming.ServiceMonitor(col.Name),
Labels: map[string]string{
"app.kubernetes.io/name": naming.ServiceMonitor(params.Instance.Namespace),
"app.kubernetes.io/name": naming.ServiceMonitor(params.Instance.Name),
"app.kubernetes.io/instance": fmt.Sprintf("%s.%s", params.Instance.Namespace, params.Instance.Name),
"app.kubernetes.io/managed-by": "opentelemetry-operator",
},
Expand Down

0 comments on commit 64a917e

Please sign in to comment.