Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[charts/csm-authorization-v2.0]: Add OTEL Collector address to storage-service and expose prometheus metrics #512

Merged
merged 7 commits into from
Sep 18, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,12 @@ spec:
- "--redis-sentinel={{ $str }}"
- "--redis-password=$(REDIS_PASSWORD)"
- "--leader-election=true"
- "--collector-address={{ .Values.authorization.openTelemetryCollectorAddress}}"
ports:
- containerPort: 50051
name: grpc
- containerPort: 2112
name: promhttp
volumeMounts:
- name: config-volume
mountPath: /etc/karavi-authorization/config
Expand Down Expand Up @@ -137,6 +140,9 @@ spec:
- port: 50051
targetPort: 50051
name: grpc
- port: 2112
targetPort: 2112
name: promhttp
---
{{- if .Values.vault.certificateAuthority }}
{{- $certificateFileContents := .Values.vault.certificateAuthority }}
Expand Down
3 changes: 3 additions & 0 deletions charts/csm-authorization-v2.0/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ authorization:
# collectoruri: http://DNS-hostname:9411/api/v2/spans
# probability: 1

# openTelemetryCollectorAddress: the OTLP receiving endpoint using gRPC
openTelemetryCollectorAddress: ""

# proxy-server ingress configuration
proxyServerIngress:
ingressClassName: nginx
Expand Down