Skip to content

Releases: kpetremann/salt-exporter

v0.11.0

01 Jul 09:07
3e614d1
Compare
Choose a tag to compare

Changelog

Fixes

  • fix: ignore .key_cache and .___atomic_write* files on minions pki dir (@sanecz)

Internal

v0.10.0

14 Jun 16:53
4b2d643
Compare
Choose a tag to compare

Changelog

Enhancements

  • feat(config): config file is configurable (@kpetremann)

Fixes

Internal

v0.9.0

20 Dec 21:20
1d8fe98
Compare
Choose a tag to compare

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

16 Nov 08:03
9f626a9
Compare
Choose a tag to compare

Changelog

Fixes

  • fix(doc): build issue because of gitignore entries (@kpetremann)

Internal

v0.8.0

19 Jul 20:44
fe1005a
Compare
Choose a tag to compare

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 return
  • success label has been removed from salt_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!

tui.gif

Changelog

Breaking changes

  • fix!: remove salt_new_job_total success label (@kpetremann)
  • fix!: salt_responses_total was not including scheduled job return (@kpetremann)

Enhancements

Fixes

Internal

v0.7.0

06 Jul 16:22
Compare
Choose a tag to compare

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

30 Jun 16:11
Compare
Choose a tag to compare
v0.7.0-pre.1 Pre-release
Pre-release

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

27 Jun 16:30
1c8ea7f
Compare
Choose a tag to compare

Changelog

Breaking changes

Enhancements

Internal

v0.5.1

14 May 20:37
Compare
Choose a tag to compare

Changelog

Fixes

v0.5.0

14 May 18:43
Compare
Choose a tag to compare

Changelog

Breaking changes

  • feat!: health-minions manage salt_responses_total (@kpetremann)

Enhancements

Fixes

Internal