Grafana Configuration

March 14, 2024 ยท View on GitHub

You can configure Grafana Synthetic Monitoring as an Ingress Monitor by using the configuration below:

KeyDescription
nameName of the provider (e.g., Grafana)
apiKeySynthetic monitoring access token
grafanaConfiggrafanaConfig is the configuration specific to Grafana instance as mentioned below:

Synthectic Monitoring Access Token

To obtain an access token for synthetic monitoring, first enable synthetic monitoring in your Grafana Cloud account. Then, navigate to the Configuration tab and generate a new token there. Generating access token

gcloud Configuration:

KeyDescription
frequencyHow frequently the check should run (in milliseconds).

Example Configuration:

providers: 
  - name: Grafana
    apiKey: <ACCESS TOKEN>
    apiURL: https://synthetic-monitoring-api-eu-north-0.grafana.net
    grafanaConfig:
      frequency: 5000
enableMonitorDeletion: true

Example Kubernetes Manifest:

apiVersion: endpointmonitor.stakater.com/v1alpha1
kind: EndpointMonitor
metadata:
  name: stakater
spec:
  forceHttps: true
  url: https://stakater.com/
  grafanaConfig:
    frequency: 10000
    probes:
      - Amsterdam
      - Singapore