跳转至

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.

Get repository Info

helm repo add prometheus-community https://helm-charts.itboon.top/prometheus-community
helm repo update

See helm repo for command documentation.

Install Chart

helm install [RELEASE_NAME] prometheus-community/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 prometheus-community/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"