Skip to content

Commit

Permalink
fix(opetelemery/config): add prometheusexporter
Browse files Browse the repository at this point in the history
  • Loading branch information
locmai committed Jul 23, 2022
1 parent affd823 commit f33cb5b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion system/templates/opentelemetry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ spec:
loki:
endpoint: http://loki-stack.observability:3100/loki/api/v1/push
tenant_id: "example"
prometheus:
endpoint: "0.0.0.0:9090"
send_timestamps: true
metric_expiration: 180m
resource_to_telemetry_conversion:
enabled: true
service:
telemetry:
metrics:
Expand Down Expand Up @@ -83,7 +89,12 @@ spec:
containerPort: 8888
servicePort: 8888
protocol: TCP
prometheus:
enabled: true
containerPort: 9090
servicePort: 9090
protocol: TCP
podMonitor:
enabled: true
metricsEndpoints:
Expand Down

0 comments on commit f33cb5b

Please sign in to comment.