Windows_exporter: How to use [defaults] in --collectors.enabled flag?

Created on 14 Jan 2021  路  1Comment  路  Source: prometheus-community/windows_exporter

The flags guidance isn't very clear:

Comma-separated list of collectors to use. Use [defaults] as a placeholder for all the collectors enabled by default."

I want to have in addition to the defaults process, and container collectors enabled. Based on the above I thought it should be the following argument:

--collectors.enabled="[defaults],process,container"

Is this correct?

question

Most helpful comment

Yes, you're correct: the [defaults] entry in your list will expand to the default collectors.
Would you be interested in submitting a pull request to update the documentation?

>All comments

Yes, you're correct: the [defaults] entry in your list will expand to the default collectors.
Would you be interested in submitting a pull request to update the documentation?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

majerus1223 picture majerus1223  路  7Comments

captainhistory picture captainhistory  路  8Comments

amitsaha picture amitsaha  路  5Comments

Psk8140 picture Psk8140  路  3Comments

Gerthum picture Gerthum  路  9Comments