Monitoring/manifests/loki/servicemonitor.yaml

15 lines
251 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: loki
namespace: monitoring
labels:
team: core
spec:
selector:
matchLabels:
app.kubernetes.io/name: loki
endpoints:
- port: http
path: /metrics