Skip to content

Vector utilization metric emits negative values after upgrade to v0.49.0 #24060

@andrepbento

Description

@andrepbento

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

After upgrading Vector from v0.39.0 to v0.49.0, we observed that the vector.utilization metric is emitting negative values in Datadog. This is unexpected because the metric should always be within the range of 0 to 1. The previous version (v0.39.0) did not exhibit this issue.

Image

Investigation:

  • Vector v0.49.0 was released on August 12th, 2025.
  • Reviewing the commit history for the utilization.rs file, a significant change was made on July 2nd, 2025: commit link.
  • We are not sure if this change may have introduced the negative values in the vector.utilization metric.

Additional notes:

  • We would appreciate any insights or confirmation if others have encountered this problem.

Configuration


Version

v0.49.0

Debug Output


Example Data

No response

Additional Context

No response

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain: metricsAnything related to Vector's metrics eventstype: bugA code related bug.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions