Kibble pulls metrics from Prometheus Query API, transform and submit to Datadog
Kibble only supports Temporal Cloud metrics at the moment.
- Go 1.20+
- A Datadog API key exported as
DD_API_KEY
in your shell - You have configured your Temporal account with CA certificate
make
./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
In addition to the Datadog API key and Temporal Cloud CA certs, you have:
- the system configured to access a Kubernetes cluster (e. g. AWS EKS, kind, or minikube), and
- your machine below clis installed:
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}
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]
...
MIT License, please see LICENSE for details.