github.com/IBM-Blockchain/fabric-operator@v1.0.4/config/prometheus/monitor.yaml (about)

     1  
     2  # Prometheus Monitor Service (Metrics)
     3  apiVersion: monitoring.coreos.com/v1
     4  kind: ServiceMonitor
     5  metadata:
     6    labels:
     7      control-plane: controller-manager
     8    name: controller-manager-metrics-monitor
     9    namespace: system
    10  spec:
    11    endpoints:
    12      - path: /metrics
    13        port: https
    14         scheme: https
    15        bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
    16        tlsConfig:
    17          insecureSkipVerify: true
    18    selector:
    19      matchLabels:
    20        control-plane: controller-manager