Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

add plumbing for secondvalue #39

Merged
merged 1 commit into from
Oct 8, 2022
Merged

add plumbing for secondvalue #39

merged 1 commit into from
Oct 8, 2022

Conversation

higels
Copy link
Contributor

@higels higels commented Sep 5, 2022

This enables the use of the so-called SecondValue from AverageCount64 metric types, which is typically used by taking two samples of it and the RawValue and doing (RawValue_t2 - RawValue_t1) / (SecondValue_t2 - SecondValue_t1) to create the CookedValue.

See prometheus-community/windows_exporter#787 for more discussion.

@leoluk leoluk merged commit f518d5b into leoluk:master Oct 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants