Database agnostic SQL exporter for Prometheus
| Name | Url | |
|---|---|---|
| Nikolai Rodionov | allanger@zohomail.com | https://badhouseplants.net |
To install the chart with the release name sql-exporter:
helm repo add sql_exporter https://burningalchemist.github.io/sql_exporter/
helm install sql_exporter/sql-exporter| Key | Type | Default | Description |
|---|---|---|---|
| nameOverride | string | "" |
Provide a name in place of sql-exporter |
| fullnameOverride | string | "" |
String to fully override "sql-exporter.fullname" |
| image.repository | string | "burningalchemist/sql_exporter" |
Image repository |
| image.pullPolicy | string | "IfNotPresent" |
Image pull policy |
| image.tag | string | appVersion value from Chart.yaml |
Image tag |
| imagePullSecrets | list | [] |
Secrets with credentials to pull images from a private registry |
| service.type | string | "ClusterIP" |
Service type |
| service.port | int | 80 |
Service port |
| service.labels | object | {} |
Service labels |
| service.annotations | object | {} |
Service annotations |
| resources | object | {} |
Resource limits and requests for the application controller pods |
| podLabels | object | {} |
Pod labels |
| podAnnotations | object | {} |
Pod annotations |
| podSecurityContext | object | {} |
Pod security context |
| Key | Type | Default | Description |
|---|---|---|---|
| serviceMonitor.enabled | bool | true |
Enable ServiceMonitor |
| serviceMonitor.interval | string | "15s" |
ServiceMonitor interval |
| serviceMonitor.path | string | "/metrics" |
ServiceMonitor path |
| serviceMonitor.scrapeTimeout | string | nil |
ServiceMonitor scrape timeout |
| Key | Type | Default | Description |
|---|---|---|---|
| config.global.scrape_timeout | string | "10s" |
Scrape timeout |
| config.global.scrape_timeout_offset | string | "500ms" |
Scrape timeout offset. Must be strictly positive. |
| config.global.min_interval | string | "0s" |
Minimum interval between collector runs. |
| config.global.max_connections | int | 3 |
Number of open connections. |
| config.global.max_idle_connections | int | 3 |
Number of idle connections. |
| target | object | nil |
Check documentation. Mutually exclusive with jobs |
| jobs | list | nil |
Check documentation. Mutually exclusive with target |
| collector_files | list | [] |
Check documentation |
To configure target, jobs, collector_files please refer to the documentation in the source repository. These values are not set by default.
It's also possible to define collectors (i.e. metrics and queries) in separate files, and specify the filenames in the collector_files list. For that we can use CollectorFiles field (check values.yaml for the available example).
After changing default Values, please execute make gen_docs to update the README.md file. Readme file is generated by the helm-docs tool, so make sure not to edit it manually.