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

Add Windows Service status metrics #31377

Open
dodegaard opened this issue Feb 21, 2024 · 4 comments
Open

Add Windows Service status metrics #31377

dodegaard opened this issue Feb 21, 2024 · 4 comments
Labels
enhancement New feature or request needs triage New item requiring triage receiver/hostmetrics

Comments

@dodegaard
Copy link

Component(s)

receiver/hostmetrics

Is your feature request related to a problem? Please describe.

Currently there is not a metric that can relay the running status of a Windows Service.

Describe the solution you'd like

In the hostmetrics receiver there is a library called github.com/shirou/gopsutil that is able to tap into Windows Service running status data and it would be helpful to gain access and scrape this information along with attributes that describe the service. This should most likely be an opt-in to perform this function. The process_scraper_windows.go module could be the home for the method(s).

Describe alternatives you've considered

No response

Additional context

No response

@dodegaard dodegaard added enhancement New feature or request needs triage New item requiring triage labels Feb 21, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@dodegaard
Copy link
Author

This is the corresponding library that can gain access to that information. https://github.com/shirou/gopsutil/blob/master/winservices/winservices.go

Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@dconnolly-sfdc
Copy link

+1
would love to see this capability added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage New item requiring triage receiver/hostmetrics
Projects
None yet
Development

No branches or pull requests

2 participants