Skip to content

Commit

Permalink
Remove remaining spanmetrics references. (#65)
Browse files Browse the repository at this point in the history
Also rename "prometheus-collector-metrics" to "collector-metrics"
because the prometheus part is redundant in our actual monitoring.
  • Loading branch information
shelbyspees authored Aug 9, 2023
1 parent b1c96ae commit 3bd7df9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
3 changes: 0 additions & 3 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ spec:
- name: otlp-grpc
containerPort: 4317
protocol: TCP
- name: prometheus-exp
containerPort: 8889
protocol: TCP
volumeMounts:
- name: opentelemetry-collector-config
mountPath: /conf
Expand Down
4 changes: 1 addition & 3 deletions templates/service-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ spec:
matchLabels:
k8s-app: opentelemetry-collector
endpoints:
- port: prometheus-collector-metrics
interval: 15s
- port: prometheus-spanmetrics
- port: collector-metrics
interval: 15s
{{- end }}
6 changes: 1 addition & 5 deletions templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ spec:
port: 55681
protocol: TCP
targetPort: otlp-http
- name: prometheus-collector-metrics
- name: collector-metrics
port: 8888
protocol: TCP
targetPort: 8888
- name: prometheus-spanmetrics
port: 9090
protocol: TCP
targetPort: 9090

0 comments on commit 3bd7df9

Please sign in to comment.