Exporter configuration
The Exporter collects workload metrics and forwards them to StormForge. This topic covers the additional configuration parameters available.
Exporter parameters:
- Private container registry
- Additional scrape configs
- Scrape interval and timeout
- Storage volume size
- Pod priority and scheduling
Private container registry
Override the Exporter image repository for environments that use a private container registry.
| Helm parameter | Default value |
|---|---|
exporter.image.repository |
quay.io/prometheus/prometheus |
exporter.image.tag |
(pinned to a tested Prometheus version) |
Description
The Exporter uses the Prometheus container image, separate from the StormForge Agent image. When using a private registry, you must push the Prometheus image to your registry and set exporter.image.repository accordingly.
For the full setup procedure, see If you have a private container registry.
Example
exporter:
image:
repository: my-registry.example.com/prometheus/prometheus
Additional scrape configs
Extend the Exporter’s Prometheus scrape configuration with custom scrape jobs.
| Helm parameter | Default value |
|---|---|
exporter.additionalScrapeConfigs |
[] |
Description
exporter.additionalScrapeConfigs accepts a list of Prometheus scrape config objects appended to the default scrape configuration. Use this to collect metrics from custom endpoints or JVM exporters.
Valid values
An array of Prometheus scrape config objects.
Example
exporter:
additionalScrapeConfigs:
- job_name: custom-metrics
static_configs:
- targets:
- myservice.mynamespace.svc.cluster.local:9090
Scrape interval and timeout
Controls how frequently the Exporter scrapes metrics and when a scrape times out.
| Helm parameter | Default value |
|---|---|
exporter.scrapeInterval |
30s |
exporter.scrapeTimeout |
16s |
Description
The default values are appropriate for most environments. Increase scrapeInterval only if the Exporter pod is resource-constrained; decrease it only if you need more frequent metrics.
Valid values
A Prometheus duration string (for example, 30s, 1m). scrapeTimeout must be less than scrapeInterval.
Storage volume size
Controls the size of the Exporter’s local metrics storage volume.
| Helm parameter | Default value |
|---|---|
exporter.storageVolumeSize |
2G |
Description
The Exporter buffers scraped metrics locally before forwarding them to StormForge. Increase this value if you observe dropped metrics due to write-ahead log overflow in high-cardinality environments.
Valid values
A Kubernetes resource quantity string (for example, 2G, 4Gi).
Pod priority and scheduling
Enables scheduling and priority configurations on StormForge Exporter pods.
| Helm parameter | Default value | Scope |
|---|---|---|
priorityClassName |
"" |
Top-level |
exporter.priorityClassName |
"" |
Exporter only (override) |
Description
The top-level priorityClassName applies to all StormForge components. Set exporter.priorityClassName to override it for the Exporter only. A non-empty per-component value replaces the top-level default.
exporter.priorityClassName assigns an existing Pod PriorityClass to the stormforge-exporter pod.
Valid values
A string that matches the .metadata.name of a PriorityClass defined in your cluster.
Example
To apply a priority class to all StormForge components:
priorityClassName: "high-priority"
To override for the Exporter only:
exporter:
priorityClassName: "high-priority"
Related topics
- Kubernetes official documentation: