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

Export logon sessions metric #384

Merged
merged 2 commits into from
Aug 21, 2019
Merged

Export logon sessions metric #384

merged 2 commits into from
Aug 21, 2019

Conversation

breed808
Copy link
Contributor

This PR introduces a new collector that tracks the number of logon sessions on a Windows device, by status.
The Win32_LogonSession class only exposes logon session data, so this collector could possibly be merged into an existing collector.

Let me know if any changes are necessary.

Use Win32_LogonSession class to provide user logon sessions by type.
@breed808 breed808 changed the title Logon Export logon sessions metric Aug 20, 2019
@carlpett
Copy link
Collaborator

Hi @breed808,
Thanks for this, it looks really nice! The only thing I'm missing is a link to the docs from the main README, apart from that it seems good to go :)

@breed808
Copy link
Contributor Author

Thanks @carlpett! I've modified the documentation commit to add the link in the main README.

@carlpett carlpett merged commit cd9a740 into prometheus-community:master Aug 21, 2019
@carlpett
Copy link
Collaborator

Thanks!

@breed808 breed808 deleted the logon branch August 21, 2019 10:37
anubhavg-icpl pushed a commit to anubhavg-icpl/windows_exporter that referenced this pull request Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants