apiVersion: 1

datasources:
- name: STFElasticsearch
  type: elasticsearch
  access: proxy
  orgId: 1
  url: "https://elasticsearch-es-http:9200"
  database: "performance-test"
  basicAuth: true
  basicAuthUser: elastic
  basicAuthPassword: ${ES_PASS}
  withCredentials: false
  isDefault: false
  jsonData:
    esVersion: 5
    keepCookies: []
    maxConcurrentShardRequests: 256
    timeField: "startsAt"
    tlsAuth: false
    tlsAuthWithCACert: true
  secureJsonData:
    tlsCACert:     ${CACERT}
  version: 1
  editable: true

- name: STFPrometheus
  type: prometheus
  access: proxy
  orgId: 1
  url: "http://prometheus-operated:9090"
  database: ""
  basicAuth: false
  withCredentials: false
  isDefault: false
  jsonData:
    timeInterval: "1s"
  secureJsonData: {}
  version: 2
  editable: true

- name: OCPPrometheus
  type: prometheus
  access: proxy
  orgId: 1
  url: "https://prometheus-k8s.openshift-monitoring.svc:9091"
  database: ""
  basicAuth: true
  basicAuthUser: "internal"
  basicAuthPassword: <<OCP_PASS>>
  withCredentials: false
  isDefault: false
  jsonData:
    tlsSkipVerify: true
    timeInterval: "1s"
  secureJsonData: {}
  version: 3
  editable: true

  


