Back to Charts

Prometheus NATS Exporter

stable/prometheus-nats-exporter/README.md

latest6.0 KB
Original Source

Prometheus NATS Exporter

DEPRECATED and moved to https://github.com/prometheus-community/helm-charts

TL;DR;

console
$ helm install incubator/prometheus-nats-exporter

Introduction

This chart bootstraps a prometheus NATS exporter deployment on a Kubernetes cluster using the Helm package manager.

Installing the Chart

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

console
$ helm install --name my-release stable/prometheus-nats-exporter

The command deploys NATS exporter on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

console
$ 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 of the postgres Exporter chart and their default values.

ParameterDescriptionDefault
imageImagesynadia/prometheus-nats-exporter
imageTagImage tag0.6.2
imagePullPolicyImage pull policyIfNotPresent
service.typeService typeClusterIP
service.portThe service port80
service.targetPortThe target port of the container7777
serviceMonitor.enabledSet to true if using the Prometheus Operatorfalse
serviceMonitor.intervalInterval at which metrics should be scraped``
serviceMonitor.namespaceThe namespace where the Prometheus Operator is deployed``
serviceMonitor.additionalLabelsAdditional labels to add to the ServiceMonitor{}
resources{}
config.nats.serviceNATS monitoring service namenats-nats-monitoring
config.nats.namespaceNamespace in which NATS deployeddefault
config.nats.portNATS monitoring service port8222
config.metrics.varzNATS varz metricstrue
config.metrics.channelzNATS channelz metricstrue
config.metrics.connzNATS connz metricstrue
config.metrics.routezNATS routez metricstrue
config.metrics.serverzNATS serverz metricstrue
config.metrics.subzNATS subz metricstrue
`config.metrics.gatewayzNATS gatewayz metricstrue
tolerationsAdd tolerations[]
nodeSelectornode labels for pod assignment{}
affinitynode/pod affinities{}
annotationsDeployment annotations{}
extraContainersAdditional sidecar containers""
extraVolumesAdditional volumes for use in extraContainers""

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

console
$ helm install --name my-release stable/prometheus-nats-exporter \
  --set config.nats.service=nats-production-nats-monitoring \
  --set config.metrics.subz=false

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

console
$ helm install --name my-release stable/prometheus-nats-exporter -f values.yaml