Skip to content

New optional command-line flag: -e.#91

Open
RaulBernal wants to merge 2 commits intojonnenauha:masterfrom
RaulBernal:master
Open

New optional command-line flag: -e.#91
RaulBernal wants to merge 2 commits intojonnenauha:masterfrom
RaulBernal:master

Conversation

@RaulBernal
Copy link

Summary

This PR introduces a new optional command-line flag: -e.

When this flag is used, the exporter will exclude all metrics whose names start with VBE., which commonly correspond to backends from older VCL reloads or temporary states.

Motivation

In certain setups, VBE.* metrics can produce a large number of entries in Prometheus and clutter dashboards or alerting. Being able to disable them can simplify observability and reduce unnecessary metrics load.

Example

Usage:

  ./varnish_exporter        # all metrics
  ./varnish_exporter -e     # excludes VBE.* metrics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant