Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Expose metrics via an engine #16

Open
nicholasmhughes opened this issue Jul 15, 2022 · 1 comment
Open

[FEATURE REQUEST] Expose metrics via an engine #16

nicholasmhughes opened this issue Jul 15, 2022 · 1 comment
Labels
feature New feature or request

Comments

@nicholasmhughes
Copy link
Member

Ported from saltstack/salt#49939

Describe the solution you'd like
Prometheus is quickly becoming de-facto for monitoring and alerting. The model of pull instead of push would fit well in the salt-master/salt-minion topology. Exposing metrics in salt-minion and salt-master would allow more flexibility in monitoring large salt environments.

Metrics suggested by @gnalsa

salt_minion_last_run_epoch
salt_minion_last_run_state_completion_time
salt_minion_last_run_state_executed
salt_minion_last_run_state_error
salt_minion_last_run_state_success

Metrics suggested by @justindesilets

salt_master_keys{key_state="accepted"}
salt_master_gitfs_lock
salt_master_number_of_scheduled_jobs
salt_master_number_of_threads
salt_master_number_of_jobs_active
salt_master_number_of_minions_return
salt_master_running_process
salt_syndic_running_process
salt_syndic_master_sync

Describe alternatives you've considered
https://github.com/BonnierNews/saltstack_exporter
rebuttal: saltstack/salt#49939 (comment)

Additional context
An internal project is in process to provide this functionality, and should be upstreamed soon.

@MartinEmrich
Copy link

https://github.com/BonnierNews/saltstack_exporter seems abandoned (last commit 7 years ago, README mentions Python 2.7).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants