Salt Exporter
Installation
You can download the binary from the Github releases page.
Or install from source:
-
latest published version:
-
latest commit (unstable):
Deprecation notice
The following flags are deprecated:
-health-minions
-health-functions-filter
-health-states-filter
They should be replaced by metrics configuration in the config.yml
file.
The equivalent of:
./salt-exporter -health-minions -health-functions-filter "func1,func2" -health-states-filter "state1,state2"`
is:
Usage
The exporter runs out of the box:
./salt-exporter
Note
You need to run the exporter with the user running the Salt master.
Examples of configuration options
- All metrics can be either enabled or disabled.
- You can add a minion label to some metrics (not recommended on large environment as it could lead to cardinality issues).
- You can filter out
test=true
/mock=true
events, useful to ignore tests. - ... more options can be found in the configuration page