Skip to content

Commit

Permalink
feat(helm): add configurable otelcol metrics port
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Dec 17, 2021
1 parent 04a1be0 commit 54431ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy/helm/sumologic/templates/logs/otelcol/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ spec:
- name: fluent-bit
containerPort: 24321
protocol: TCP
{{- if eq .Values.otelcol.metrics.enabled true }}
- name: metrics
containerPort: 8888
protocol: TCP
{{- end }}
livenessProbe:
httpGet:
path: /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ spec:
- name: prom-write
containerPort: 9888
protocol: TCP
{{- if eq .Values.otelcol.metrics.enabled true }}
- name: metrics
containerPort: 8888
protocol: TCP
{{- end }}
livenessProbe:
httpGet:
path: /
Expand Down

0 comments on commit 54431ae

Please sign in to comment.