apiVersion: metrics.keptn.sh/v1
kind: KeptnMetricsProvider
metadata:
  labels:
    app.kubernetes.io/name: keptnmetricsprovider
    app.kubernetes.io/instance: keptnmetricsprovider-sample
    app.kubernetes.io/part-of: keptn
    app.kubernetes.io/managed-by: kustomize
    app.kubernetes.io/created-by: metrics-operator
  name: keptnmetricsprovider-sample
spec:
  type: "prometheus"
  targetServer: "http://server-url" # string
  secretKeyRef:
    name: "prometheusLoginCredentials" # secret name, optional
    key: "my-credentials"
