Skip to content

Commit 68c7dc0

Browse files
authored
Merge pull request #62 from openinsight-proj/fix_service_monitor_name
update otel servicemonitor cr name
2 parents 818186e + 08093a6 commit 68c7dc0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

charts/opentelemetry-demo/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: opentelemetry-demo
33
type: application
4-
version: 0.4.12
4+
version: 0.4.13
55
description: A helm chart for openTelemetry community demo application integration with other component.
66
sources:
77
- https://github.com/openinsight-proj/openinsight-helm-charts

charts/opentelemetry-demo/templates/otelcol-service-monitor.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ kind: ServiceMonitor
44
metadata:
55
labels:
66
operator.insight.io/managed-by: insight
7-
name: adservice-monitor
7+
name: otelcol-monitor
88
spec:
99
endpoints:
1010
- honorLabels: true
11-
port: http-metrics
11+
port: prometheus
1212
namespaceSelector:
1313
matchNames:
1414
- {{ .Release.Namespace }}
1515
selector:
1616
matchLabels:
17-
app.kubernetes.io/component: adservice
17+
app.kubernetes.io/name: otelcol
1818
{{- end }}
1919

0 commit comments

Comments
 (0)