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

[Windows integration] Perfmon dataset: staging_space_in_use tops out at 32-bit INT_MAX #37093

Open
ycombinator opened this issue Nov 13, 2023 · 3 comments
Labels
bug Stalled Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Comments

@ycombinator
Copy link
Contributor

For confirmed bugs, please report:

  • Version: 8.9.2
  • Operating System: Windows

The windows.perfmon.metrics.staging_space_in_use field seems to top out at 2147483647, which corresponds to the largest signed integer on 32-bit systems (2^31-1). Therefore, for systems that report larger values, the dataset reports incorrect data.

@ycombinator ycombinator added bug Team:Integrations Label for the Integrations team labels Nov 13, 2023
@ycombinator
Copy link
Contributor Author

ycombinator commented Nov 13, 2023

Is the fix for this issue simply for users to specify format: large for the staging_space_in_use field in the dataset's configuration? For example:

metricsets:
    - perfmon
perfmon.queries:
    - counters:
      - field: staging_space_in_use
        format: long
        name: Staging Space In Use

Or is a fix needed in the dataset's implementation?

@ycombinator ycombinator removed the Team:Integrations Label for the Integrations team label Nov 13, 2023
@ycombinator ycombinator transferred this issue from elastic/elastic-agent Nov 13, 2023
@ycombinator ycombinator added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Nov 13, 2023
@Erikg346
Copy link

Hey @ycombinator ,
Specifying format: large works to get the correct value!

@botelastic
Copy link

botelastic bot commented Nov 12, 2024

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 Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Stalled Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

No branches or pull requests

2 participants