Skip to content

[prometheus-elasticsearch-exporter] The "snapshot" default value does not match the exporter default #5430

Open
@seanhoughton

Description

@seanhoughton

Describe the bug a clear and concise description of what the bug is.

The default value for "snapshot" metrics is true in values.yaml. However, the default is "false" in the exporter itself. Running snapshot metrics very frequently creates large amounts of bucket requests which has been adding up to thousands of dollars for our team. This setting should default to "false".

Default in chart:
https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus-elasticsearch-exporter/values.yaml#L220

Default in exporter:
https://github.com/prometheus-community/elasticsearch_exporter/blob/master/README.md?plain=1#L62

What's your helm version?

v3.15.4

What's your kubectl version?

v1.31.0

Which chart?

prometheus-elasticsearch-exporter

What's the chart version?

4.7.0

What happened?

Snapshot metrics were enabled by default

What you expected to happen?

Snapshot metrics are disabled by default

How to reproduce it?

No response

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

(any install)

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions