Skip to content

Commit 0374d04

Browse files
helm: include warmup_delay parameter (#921)
1 parent 9bf25f7 commit 0374d04

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: sql-exporter
33
description: Database-agnostic SQL exporter for Prometheus
44
type: application
5-
version: 0.14.2
6-
appVersion: 0.19.1
5+
version: 0.15.0
6+
appVersion: 0.20.0
77
keywords:
88
- exporter
99
- servicemonitor

helm/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sql-exporter
22

3-
![Version: 0.14.2](https://img.shields.io/badge/Version-0.14.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.19.1](https://img.shields.io/badge/AppVersion-0.19.1-informational?style=flat-square)
3+
![Version: 0.15.0](https://img.shields.io/badge/Version-0.15.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.20.0](https://img.shields.io/badge/AppVersion-0.20.0-informational?style=flat-square)
44

55
Database-agnostic SQL exporter for Prometheus
66

@@ -106,11 +106,12 @@ as an example.
106106

107107
| Key | Type | Default | Description |
108108
|-----|------|---------|-------------|
109-
| config | object | `{"global":{"max_connections":3,"max_idle_connections":3,"min_interval":"0s","scrape_error_drop_interval":"0s","scrape_timeout":"10s","scrape_timeout_offset":"500ms"}}` | SQL Exporter configuration, can be a dictionary, or a template yaml string. |
109+
| config | object | `{"global":{"max_connections":3,"max_idle_connections":3,"min_interval":"0s","scrape_error_drop_interval":"0s","scrape_timeout":"10s","scrape_timeout_offset":"500ms","warmup_delay":"0s"}}` | SQL Exporter configuration, can be a dictionary, or a template yaml string. |
110110
| config.global.scrape_timeout | string | `"10s"` | Scrape timeout |
111111
| config.global.scrape_timeout_offset | string | `"500ms"` | Scrape timeout offset. Must be strictly positive. |
112112
| config.global.scrape_error_drop_interval | string | `"0s"` | Interval between dropping scrape_errors_total metric: by default the metric is persistent. |
113113
| config.global.min_interval | string | `"0s"` | Minimum interval between collector runs. |
114+
| config.global.warmup_delay | string | `"0s"` | Delay between collector scrapes during the startup cache warmup. Disabled by default. |
114115
| config.global.max_connections | int | `3` | Number of open connections. |
115116
| config.global.max_idle_connections | int | `3` | Number of idle connections. |
116117
| target | object | `nil` | Check documentation. Mutually exclusive with `jobs` |

helm/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ config:
171171
scrape_error_drop_interval: 0s
172172
# -- Minimum interval between collector runs.
173173
min_interval: 0s
174+
# -- Delay between collector scrapes during the startup cache warmup. Disabled by default.
175+
warmup_delay: 0s
174176
# -- Number of open connections.
175177
max_connections: 3
176178
# -- Number of idle connections.

0 commit comments

Comments
 (0)