feat: add tempo and otel-collector for distributed tracing
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: tempo
|
||||
namespace: tracing
|
||||
labels:
|
||||
release: prometheus
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: tempo
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- tracing
|
||||
endpoints:
|
||||
- port: http
|
||||
path: /metrics
|
||||
interval: 30s
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: otel-collector
|
||||
namespace: tracing
|
||||
labels:
|
||||
release: prometheus
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: otel-collector
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- tracing
|
||||
endpoints:
|
||||
- port: health
|
||||
path: /metrics
|
||||
interval: 30s
|
||||
Reference in New Issue
Block a user