influxdb-exporter
by k8s-home-lab
An exporter for metrics in the InfluxDB format, transforms them and exposes them for consumption by Prometheus.
About this chart
influxdb-exporter
An exporter for metrics in the InfluxDB format, transforms them and exposes them for consumption by Prometheus.
This chart is not maintained by the upstream project and any issues with the chart should be raised here
Source Code
- https://github.com/prometheus/influxdb_exporter
- https://github.com/k8s-home-lab/helm-charts/tree/master/charts/stable/influxdb-exporter
Requirements
Kubernetes: >=1.16.0-0
Dependencies
| Repository | Name | Version |
|---|---|---|
| https://library-charts.k8s-at-home.com | common | 4.5.2 |
TL;DR
helm repo add k8s-home-lab https://k8s-home-lab.github.io/helm-charts/
helm repo update
helm install influxdb-exporter k8s-home-lab/influxdb-exporter
Installing the Chart
To install the chart with the release name influxdb-exporter
helm install influxdb-exporter k8s-home-lab/influxdb-exporter
Uninstalling the Chart
To uninstall the influxdb-exporter deployment
helm uninstall influxdb-exporter
The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.
Configuration
Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.
Specify each parameter using the --set key=value[,key=value] argument to helm install.
helm install influxdb-exporter \
--set env.TZ="America/New York" \
k8s-home-lab/influxdb-exporter
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
helm install influxdb-exporter k8s-home-lab/influxdb-exporter -f values.yaml
Custom configuration
Override the default container args: with optons:
--web.listen-address=":9122"
Address on which to expose metrics and web interface.
--web.telemetry-path="/metrics"
Path under which to expose Prometheus metrics.
--web.exporter-telemetry-path="/metrics/exporter"
Path under which to expose exporter metrics.
--influxdb.sample-expiry=5m
How long a sample is valid for.
--udp.bind-address=":9122"
Address on which to listen for udp packets.
--timestamps Export timestamps of points.
--log.level=info Only log messages with the given severity or above. One of: [debug, info, warn, error]
--log.format=logfmt Output format of log messages. One of: [logfmt, json]
(adapt service address/path/port accordingly)
Proxmox grafana chart adapted for translated metrics: Proxmox metric-server via Prometheus
Values
Important: When deploying an application Helm chart you can add more values from our common library chart here
| Key | Type | Default | Description |
|---|---|---|---|
| args | list | ["--udp.bind-address=0.0.0.0:9123"] | Override the args for the default container |
| env | object | See below | environment variables. See more environment variables in the influxdb-exporter documentation. |
| env.TZ | string | "UTC" | Set the container timezone |
| image.pullPolicy | string | "IfNotPresent" | image pull policy |
| image.repository | string | "prom/influxdb-exporter" | image repository |
| image.tag | string | nil | image tag |
| metrics.enabled | bool | See values.yaml | Enable and configure prometheus-qbittorrent-exporter sidecar and Prometheus podMonitor. |
| metrics.serviceMonitor.interval | string | "15s" | |
| metrics.serviceMonitor.labels | object | {} | |
| metrics.serviceMonitor.scrapeTimeout | string | "5s" | |
| service | object | See values.yaml | Configures service settings for the chart. |
Changelog
Version 1.1.3
Added
N/A
Changed
- Update README
Fixed
N/A
Older versions
A historical overview of changes can be found on ArtifactHUB
Support
Autogenerated from chart metadata using helm-docs v0.1.1
Deploy influxdb-exporter with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has influxdb-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 chartinfluxdb-exporter is pinned at v1.1.3 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