prometheus-druid-exporter
by Prometheus
Druid exporter to monitor druid metrics with Prometheus
About this chart
Prometheus Druid Exporter
A Prometheus exporter for Druid metrics.
Installs the Druid Exporter for Prometheus.
Some of the metrics collections are:-
- Druid's health metrics
- Druid's datasource metrics
- Druid's segment metrics
- Druid's supervisor metrics
- Druid's tasks metrics
- Druid's components metrics like:- broker, historical, ingestion(kafka), coordinator, sys
Prerequisites
- Kubernetes 1.16+
- Helm 3.7+
Helm v2 was no longer supported from chart version 1.0.0.
Usage
The chart is distributed as an OCI Artifact as well as via a traditional Helm Repository.
- OCI Artifact:
oci://ghcr.io/prometheus-community/charts/prometheus-druid-exporter - Helm Repository:
https://prometheus-community.github.io/helm-chartswith chartprometheus-druid-exporter
The installation instructions use the OCI registry. Refer to the [helm repo](helm repo) command documentation for information on installing charts via the traditional repository.
Install Chart
helm install [RELEASE_NAME] oci://ghcr.io/prometheus-community/charts/prometheus-druid-exporter
See configuration below.
See helm install for command documentation.
Uninstall Chart
helm uninstall [RELEASE_NAME]
This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
Upgrading Chart
helm upgrade [RELEASE_NAME] [CHART] --install
See helm upgrade for command documentation.
To 1.0.0
Helm v2 was no longer supported from chart version 1.0.0.
See Migrating Helm v2 to v3 guide.
Configuration
See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands:
helm show values oci://ghcr.io/prometheus-community/charts/prometheus-druid-exporter
Druid Server Connection
To use this chart, ensure that druidURL is populated with valid Druid URL. Basically this is the URL of druid router or coordinator service.
An example could be:-
http://druid.opstreelabs.in
Service Monitor
The chart comes with a ServiceMonitor for use with the kube-pometheus-stack. If you're not using the Prometheus Operator, you can disable the ServiceMonitor by setting serviceMonitor.enabled to false and it will auto generate the following podAnnotations into deployment.yaml:
podAnnotations:
prometheus.io/path: /metrics
prometheus.io/port: metrics
prometheus.io/scrape: "true"
Deploy prometheus-druid-exporter with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has prometheus-druid-exporter on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartprometheus-druid-exporter is pinned at v1.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply