Releases: kpetremann/salt-exporter
v0.11.2
Changelog
Internal
- Merge pull request #70 from kpetremann/ci_goversion (@kpetremann)
- chore: bump to go1.23.2 (@kpetremann)
- ci: gh doc python3.13 (@kpetremann)
- ci: update gh actions versions (@kpetremann)
- ci: use version from go.mod (@kpetremann)
v0.11.1
v0.11.0
Changelog
Fixes
- fix: ignore .key_cache and .___atomic_write* files on minions pki dir (@sanecz)
Internal
- Merge pull request #67 from sanecz/main (@kpetremann)
v0.10.0
Changelog
Enhancements
- feat(config): config file is configurable (@kpetremann)
Fixes
- fix: style.Copy() is deprecated (@kpetremann)
Internal
- Merge pull request #60 from kpetremann/linter (@kpetremann)
- Merge pull request #62 from kpetremann/dependabot/go_modules/google.golang.org/protobuf-1.33.0 (@kpetremann)
- Merge pull request #64 from kpetremann/configurable_config_filepath (@kpetremann)
- Merge pull request #65 from kpetremann/bump (@kpetremann)
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (@dependabot[bot])
- chore: add linters and fix issues (@kpetremann)
- chore: bump dependencies (@kpetremann)
- chore: bump to go1.22 (@kpetremann)
- ci: use gh secret (@kpetremann)
v0.9.0
Changelog
🎉 New feature 🎉
Following PR#57 from @voyvodov:
- Salt beacons are now supported:
salt_health_last_heartbeat{minion="node1"} 1703053536
- Number of registered minions are exposed:
salt_health_minions_total{} 2
Internal
- Merge pull request #57 from redsift/feature/beacons (@voyvodov)
- Merge pull request #58 from kpetremann/dependencies_bump (@kpetremann)
- Merge pull request #59 from redsift/main (@voyvodov)
- add beacon checks metrics (@voyvodov)
- chore: bump dependencies (@kpetremann)
- fix PKI path to use master's one, not generic (@voyvodov)
- fixing beacon data tests (@voyvodov)
- rollback return of NewRegistry to copy, not pointer (@voyvodov)
- update docs with minions health functionality (@voyvodov)
v0.8.1
Changelog
Fixes
- fix(doc): build issue because of gitignore entries (@kpetremann)
Internal
- Merge pull request #49 from kpetremann/fix_build_doc (@kpetremann)
- Merge pull request #50 from kpetremann/misc_refactor (@kpetremann)
- Merge pull request #51 from kpetremann/go_1_21 (@kpetremann)
- Merge pull request #53 from kpetremann/e2e_test_salt_3006.4 (@kpetremann)
- Merge pull request #54 from kpetremann/dependencies_bump (@kpetremann)
- chore: bump dependencies (@kpetremann)
- chore: bump dependencies (@kpetremann)
- chore: go 1.21 (@kpetremann)
- chore: ignore binaries but not directory git ignore (@kpetremann)
- refactor(registry): use pointer receivers (@kpetremann)
- tests(e2e): update to salt 3006.4 (@kpetremann)
v0.8.0
Announcements
New documentation in GitHub Pages
The new documentation in GitHub Pages is now live: http://kpetremann.github.io/salt-exporter 🎉.
The README.md has been simplified.
Metrics changes
Three major changes regarding metrics:
salt_responses_total
now also counts scheduled job returnsuccess
label has been removed fromsalt_new_job_total
, it was hardcoded and not really useful.- Failing scheduled job are now properly marked as failed in the metrics. The issue was due to an inconsistency behavior in Salt event return.
Configuration via environment variables
In addition to flags and config file, the exporter can now be configured using environment variables.
It will be useful when deploying via a container.
Salt-live TUI
Salt-live is now stable. It is like salt-run state.event pretty=True
but under steroids!
Changelog
Breaking changes
- fix!: remove salt_new_job_total success label (@kpetremann)
- fix!: salt_responses_total was not including scheduled job return (@kpetremann)
Enhancements
- feat(live): insensitive keymap (@kpetremann)
- feat(live): more visible frozen mode (@kpetremann)
- feat: add version flag (@kpetremann)
- feat: configuration via environment variables (@kpetremann)
- feat: parse state module return (@kpetremann)
Fixes
- fix(live): TUI overflow issues (@kpetremann)
- fix: bad ipc-file mapping (@kpetremann)
- fix: failing scheduled job exposed as successful (@kpetremann)
Internal
- Merge pull request #40 from kpetremann/schedule_advanced_success_check (@kpetremann)
- Merge pull request #41 from kpetremann/fix_total_response (@kpetremann)
- Merge pull request #42 from kpetremann/config_ipc (@kpetremann)
- Merge pull request #43 from kpetremann/config_via_env (@kpetremann)
- Merge pull request #46 from kpetremann/doc (@kpetremann)
- Merge pull request #47 from kpetremann/remove_success_new_job (@kpetremann)
- Merge pull request #48 from kpetremann/version_flag (@kpetremann)
- chore: log IPC file used (@kpetremann)
- ci: publish doc to GH Pages (@kpetremann)
- docs(live): scripted demo (@kpetremann)
- feat(cli/config): ipc file location can be set (@kpetremann)
- tests: fix unit tests (@kpetremann)
v0.7.0
Changelog
Deprecation notice
-health-minions
, health-functions-filter
and health-states-filter
flags are deprecated.
They should be replaced by configuring metrics in the config.yml
file.
The equivalent of ./salt-exporter -health-minions -health-functions-filter "func1,func2" -health-states-filter "state1,state2"
is:
metrics:
salt_responses_total:
enabled: true
salt_function_status:
enabled: true
filters:
functions:
- "func1"
- "func2"
states:
- "state1"
- "state2"
Fixes
- fix(config): health-minions not working
- fix: remove config print
Internal
- Merge pull request #34 from kpetremann/refacto_configuration
- Merge pull request #35 from kpetremann/configurable_metrics
- Merge pull request #36 from kpetremann/test_and_fix_config
- refactor: configuration filename configurable for tests
- style: remove useless empty line
- tests(config): test all configuration scenarios
v0.7.0-pre.1
Changelog
Deprecation notice
-health-minions
, health-functions-filter
and health-states-filter
are deprecated.
They should be replaced by configuring metrics in the config.yml
file.
The equivalent of ./salt-exporter -health-minions -health-functions-filter "func1,func2" -health-states-filter "state1,state2"
is:
metrics:
salt_responses_total:
enabled: true
salt_function_status:
enabled: true
filters:
functions:
- "func1"
- "func2"
states:
- "state1"
- "state2"
Enhancements
- feat: be able to enable/disable metrics (@kpetremann)
- feat: deprecate health-* flags (@kpetremann)
- feat: introduce add-minions configuration for some metrics (@kpetremann)
Fixes
- fix: config default and binding (@kpetremann)
- fix: config not loading properly (@kpetremann)
- fix: deprecated flags were incorrect (@kpetremann)
- fix: remove write config used for debug (@kpetremann)
- fix: swapped 'add-minion-label' and 'salt_scheduled_job_return_total' (@kpetremann)
- fix: wrong default values for metrics.*.enabled (@kpetremann)
Internal
- refacto(config): migrate from flag to viper (@kpetremann)
- refacto(config): move health functions/states filter (@kpetremann)
- refacto(config): move ignore-* to metrics.global.filters (@kpetremann)
- refacto(config): move metrics related config (@kpetremann)
- refacto(config): separate logging config from setLevel (@kpetremann)
- refacto: rework main (@kpetremann)
v0.6.0
Changelog
Breaking changes
- refacto!: decouple listener and parser (@kpetremann)
Enhancements
- feat(live): add parsed event mode in side view (@kpetremann)
- feat: be able to set IPC filepath (@kpetremann)
- feat: get test/mock event mode (@kpetremann)
- feat: option to not expose test/mock=true events (@kpetremann)
Internal
- Merge pull request #30 from kpetremann/choose_ipc_file (@kpetremann)
- Merge pull request #31 from kpetremann/refacto (@kpetremann)
- Merge pull request #32 from kpetremann/refacto (@kpetremann)
- Merge pull request #33 from kpetremann/dry_run_mock_exclusion (@kpetremann)
- chore: remove benchmark (@kpetremann)
- refacto: remove channel dependency for ParseEvent (@kpetremann)
- refacto: remove package events aliases (@kpetremann)