mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
26 lines
625 B
YAML
26 lines
625 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/component: query-layer
|
|
app.kubernetes.io/instance: thanos-query
|
|
app.kubernetes.io/name: thanos-query
|
|
app.kubernetes.io/version: v0.31.0
|
|
name: thanos-query
|
|
namespace: thanos
|
|
spec:
|
|
endpoints:
|
|
- port: http
|
|
relabelings:
|
|
- action: replace
|
|
separator: /
|
|
sourceLabels:
|
|
- namespace
|
|
- pod
|
|
targetLabel: instance
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/component: query-layer
|
|
app.kubernetes.io/instance: thanos-query
|
|
app.kubernetes.io/name: thanos-query
|