prometheus-rabbitmq-exporter

by joaquinito2051

Helm chartv0.4.1App v0.29.0

Rabbitmq metrics exporter for prometheus

About this chart

prometheus-rabbitmq-exporter

rabbitmq_exporter is a Prometheus exporter for rabbitmq metrics.

TL;DR;

$ helm install <helm-repo>/prometheus-rabbitmq-exporter

$ helm install stable/prometheus-rabbitmq-exporter

Introduction

This chart bootstraps a rabbitmq_exporter deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.8+ with Beta APIs enabled

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release <helm-repo>/prometheus-rabbitmq-exporter

$ helm install --name my-release stable/prometheus-rabbitmq-exporter The command deploys prometheus-rabbitmq-exporter on the Kubernetes cluster in the default configuration.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters and their default values.

ParameterDescriptionDefault
replicaCountdesired number of prometheus-rabbitmq-exporter pods1
image.repositoryprometheus-rabbitmq-exporter image repositorykbudde/rabbitmq-exporter
image.tagprometheus-rabbitmq-exporter image tagv0.29.0
image.pullPolicyimage pull policyIfNotPresent
service.typedesired service typeClusterIP
service.internalportservice listening port9419
service.externalPortpublic service port9419
resourcescpu/memory resource requests/limits{}
loglevelexporter log level{}
rabbitmq.urlrabbitmq management urlhttp://myrabbit:15672
rabbitmq.userrabbitmq user loginguest
rabbitmq.passwordrabbitmq password loginguest
rabbitmq.capabilitiescomma-separated list of capabilities supported by the RabbitMQ serverbert,no_sort
rabbitmq.include_queuesregex queue filter. just matching names are exported.*
rabbitmq.skip_queuesregex, matching queue names are not exported^$
rabbitmq.include_vhostregex vhost filter. Only queues in matching vhosts are exported.*
rabbitmq.skip_vhostregex, matching vhost names are not exported. First performs include_vhost, then skip_vhost^$
rabbitmq.skip_verifytrue/0 will ignore certificate errors of the management pluginfalse
rabbitmq.exportersList of enabled modules. Just "connections" is not enabled by defaultexchange,node,overview,queue
rabbitmq.output_formatLog ouput format. TTY and JSON are suportedTTY
rabbitmq.timeouttimeout in seconds for retrieving data from management plugin30
rabbitmq.max_queuesmax number of queues before we drop metrics (disabled if set to 0)0
annotationspod annotations for easier discovery{}

For more information please refer to the rabbitmq_exporter documentation.

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
$ helm install --name my-release \
  --set "rabbitmq.url=http://myrabbit:15672" \
    <helm-repo>/prometheus-rabbitmq-exporter
$ helm install --name my-release \

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml <helm-repo>/prometheus-rabbitmq-exporter

Deploy prometheus-rabbitmq-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-rabbitmq-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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartprometheus-rabbitmq-exporter is pinned at v0.4.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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