mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-15 17:51:03 +00:00
22 lines
524 B
YAML
22 lines
524 B
YAML
# This example shows how to integrate with the Prometheus Operator
|
|
# to bring metrics from kube-arangodb to Prometheus.
|
|
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: arango-deployment-operator
|
|
namespace: monitoring
|
|
labels:
|
|
prometheus: kube-prometheus
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: kube-arangodb
|
|
namespaceSelector:
|
|
matchNames:
|
|
- default
|
|
endpoints:
|
|
- port: server
|
|
scheme: https
|
|
tlsConfig:
|
|
insecureSkipVerify: true
|