Skip to content

Instantly share code, notes, and snippets.

@audomsak
Created July 22, 2025 10:31
Show Gist options
  • Select an option

  • Save audomsak/88e83cb9d3fa3ae1da601da17639f2e1 to your computer and use it in GitHub Desktop.

Select an option

Save audomsak/88e83cb9d3fa3ae1da601da17639f2e1 to your computer and use it in GitHub Desktop.
GrafanaDatasource for connecting Red Hat OpenShift distributed tracing platform (Tempo)
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDatasource
metadata:
name: openshift-tempo
namespace: grafana
spec:
allowCrossNamespaceImport: false
datasource:
access: proxy
editable: true
isDefault: true
jsonData:
httpHeaderName1: X-Scope-OrgID
timeInterval: 5s
tlsAuth: true
tlsSkipVerify: true
name: openshift-tempo
secureJsonData:
httpHeaderValue1: 1610b0c3-c509-4592-a256-a1871353dbfa
tlsClientCert: |
-----BEGIN CERTIFICATE-----
..........
-----END CERTIFICATE-----
tlsClientKey: |
-----BEGIN RSA PRIVATE KEY-----
..........
-----END RSA PRIVATE KEY-----
type: tempo
url: 'https://tempo-sample-query-frontend.demo.svc.cluster.local:3200'
instanceSelector:
matchLabels:
instance: grafana
resyncPeriod: 10m0s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment