feat: traefik prometheus metrics
This commit is contained in:
@@ -1,16 +0,0 @@
|
|||||||
apiVersion: monitoring.coreos.com/v1
|
|
||||||
kind: ServiceMonitor
|
|
||||||
metadata:
|
|
||||||
name: traefik-monitor
|
|
||||||
namespace: prometheus
|
|
||||||
labels:
|
|
||||||
release: prometheus-stack
|
|
||||||
spec:
|
|
||||||
namespaceSelector:
|
|
||||||
any: true
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: traefik
|
|
||||||
endpoints:
|
|
||||||
- port: metrics
|
|
||||||
interval: 15s
|
|
||||||
@@ -77,6 +77,22 @@ ports:
|
|||||||
protocol: UDP
|
protocol: UDP
|
||||||
expose:
|
expose:
|
||||||
default: true
|
default: true
|
||||||
|
metrics:
|
||||||
|
port: 9100
|
||||||
|
exposedPort: 9100
|
||||||
|
protocol: TCP
|
||||||
|
expose:
|
||||||
|
default: false
|
||||||
|
|
||||||
|
metrics:
|
||||||
|
prometheus:
|
||||||
|
enabled: true
|
||||||
|
entryPoint: metrics
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: true
|
||||||
|
additionalLabels:
|
||||||
|
release: prometheus-stack
|
||||||
|
namespace: prometheus
|
||||||
|
|
||||||
ingressRoute:
|
ingressRoute:
|
||||||
dashboard:
|
dashboard:
|
||||||
|
|||||||
Reference in New Issue
Block a user