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

Diskio metricset errors with shared drives under Windows #23225

Closed
adriansr opened this issue Dec 21, 2020 · 10 comments
Closed

Diskio metricset errors with shared drives under Windows #23225

adriansr opened this issue Dec 21, 2020 · 10 comments
Labels
bug help wanted Indicates that a maintainer wants help on an issue or pull request Metricbeat Metricbeat Stalled Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team Team:Platforms Label for the Integrations - Platforms team

Comments

@adriansr
Copy link
Contributor

adriansr commented Dec 21, 2020

For confirmed bugs, please report:

  • Version: 7.10.1
  • Operating System: Windows 2016
  • Discuss Forum URL:
  • Steps to Reproduce:
  1. Run the diskio metricset with a shared drive (for example net use Z: \\vboxsvr\vagrant)
  2. The following error is printed to the logs every time the metricset is run:

ERROR diskio/diskstat_windows_helper.go:89 Could not return any performance counter values for \.\Z: .Error: Incorrect function.

It could potentially just skip network drives as I understand there aren't perf counters for those, or lower the message severity.

@adriansr adriansr added bug Metricbeat Metricbeat Team:Services (Deprecated) Label for the former Integrations-Services team labels Dec 21, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@adriansr adriansr changed the title Diskio Metricset errors with shared drivers under Windows Diskio metricset errors with shared drives under Windows Dec 21, 2020
@adriansr adriansr added the help wanted Indicates that a maintainer wants help on an issue or pull request label Dec 21, 2020
@adriansr
Copy link
Contributor Author

@narph @fearful-symmetry I see you've been working on this metricset lately, maybe you can take this.

@fearful-symmetry
Copy link
Contributor

@narph would be best, I don't really have any knowledge of windows-specific functions that are failing out here.

@andresrc andresrc added the Team:Platforms Label for the Integrations - Platforms team label Dec 22, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@narph narph self-assigned this Dec 30, 2020
@fearful-symmetry
Copy link
Contributor

@narph this got fixed, right? I remember us tinkering with the disk reporting a while back. Assuming it is, and moving to backlog for now.

@narph
Copy link
Contributor

narph commented May 25, 2021

@adriansr , I've recently fixed this with #24502, do you encounter the same issue with 7.12.1?

@adriansr
Copy link
Contributor Author

Hi @narph, I haven't tested this again since this issue was created. If you're confident that it was fixed then we can close.

@narph
Copy link
Contributor

narph commented May 26, 2021

@adriansr. just noticed this is a different metricset, I created a similar fix for filesystem, will try to reproduce the issue and make the necessary changes, lets keep it open

@narph narph removed their assignment Nov 18, 2021
@jlind23 jlind23 added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Jan 4, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@jlind23 jlind23 removed the Team:Services (Deprecated) Label for the former Integrations-Services team label Mar 31, 2022
@botelastic
Copy link

botelastic bot commented Mar 31, 2023

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Mar 31, 2023
@botelastic botelastic bot closed this as completed Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help wanted Indicates that a maintainer wants help on an issue or pull request Metricbeat Metricbeat Stalled Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
Development

No branches or pull requests

6 participants