/kibble

Prometheus API to Datadog metrics poller

Primary LanguageGoMIT LicenseMIT

Kibble

Kibble pulls metrics from Prometheus Query API, transform and submit to Datadog

Limitations

Kibble only supports Temporal Cloud metrics at the moment.

Running Kibble locally

Prerequisites

Build Kibble

make

Running Kibble

./kibble \
  --client-cert <replace with the path to CA cert> \
  --client-key <replace with the path to CA key> \
  --prom-endpoint https://<temporal-account-id>.tmprl.cloud/prometheus

Install Kibble on a Kubernetes cluster

Prerequisites

In addition to the Datadog API key and Temporal Cloud CA certs, you have:

Install Kibble with Helm Chart

Run below command from the helm-charts folder.

helm install kibble . \
  --set-file 'ca_cert=<replace with the path to CA cert>' \
  --set-file 'ca_key=<replace with the path to CA key>' \
  --set prom_endpoint=https://<temporal-account-id>.tmprl.cloud/prometheus \
  --set dd_api_key=${DD_API_KEY}

Verify Kibble is running

kubectl logs $(kubectl get pods | grep kibble | awk '{print $1; exit}') -f

Should output:

2023/06/20 11:33:43 Querying Prometheus
2023/06/20 11:33:43 Found 1 histogram metrics: [temporal_cloud_v0_service_latency_bucket]
...

License

MIT License, please see LICENSE for details.