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

[exporter/prometheusexporter] accumulate delta temporality metrics #9006

Closed
wants to merge 4 commits into from

Conversation

nabam
Copy link
Contributor

@nabam nabam commented Apr 1, 2022

Description:
Accumulate delta temporality metrics in prometheus exporter to expose as monotonically increasing counters

Link to tracking Issue:
related to #4968

@nabam nabam requested a review from a team April 1, 2022 18:41
@nabam nabam requested a review from Aneurysm9 as a code owner April 1, 2022 18:41
@nabam nabam changed the title prometheusexporter: accumulate delta temporality metrics [exporter/prometheusexporter] accumulate delta temporality metrics Apr 1, 2022
@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Apr 19, 2022
@nabam
Copy link
Contributor Author

nabam commented Apr 27, 2022

any chance someone can review this PR? @bogdandrutu

@github-actions github-actions bot removed the Stale label Apr 28, 2022
@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@nabam
Copy link
Contributor Author

nabam commented May 19, 2022

@Aneurysm9 @bogdandrutu just a friendly poke here. Let me know if that's and appropriate approach and I'll rebase.

@github-actions github-actions bot removed the Stale label May 20, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2022

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jun 4, 2022
@nabam
Copy link
Contributor Author

nabam commented Jun 8, 2022

it is still relevant
@jmacd maybe you can take a look?

@github-actions github-actions bot removed the Stale label Jun 12, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2022

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jul 4, 2022
@nabam
Copy link
Contributor Author

nabam commented Jul 7, 2022

This PR was marked stale due to lack of activity. It will be closed in 14 days.

not stale

@jmacd
Copy link
Contributor

jmacd commented Jul 8, 2022

Could you explain how this relates to #9919? It looks like it continues refining that work. The PR description could use some details on what changes are happening here, since the linked issue is quite broad. Thank you.

(I'm still eager to see this form of translation happen in both the Prometheus and PRW exporters.)

@github-actions github-actions bot removed the Stale label Jul 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 2022

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Aug 7, 2022
@jmacd
Copy link
Contributor

jmacd commented Aug 17, 2022

Answering my own question above. This adds support for Delta->Cumulative for histograms, whereas #9919 only fixed the problem for Sums. @nabam agree? Will you update this PR?

@nabam
Copy link
Contributor Author

nabam commented Aug 17, 2022

@jmacd yeah, I will. Sorry I haven't replied, was on vacation

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 18, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: nabam / name: Lev Popov (3bf08f26b55d92944dbb1d9e05f59cee1f0ab543)

@nabam
Copy link
Contributor Author

nabam commented Aug 18, 2022

@jmacd ready for your review

@mike-jc
Copy link

mike-jc commented Aug 23, 2022

Hi. Is there any estimated/guestimated time when this will be ready?

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Oct 14, 2022
@dmitryax dmitryax removed the Stale label Oct 15, 2022
nabam and others added 2 commits October 18, 2022 11:45
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
@MovieStoreGuy
Copy link
Contributor

Could I ask you to rebase this PR @nabam ?

@bitomaxsp
Copy link

Lev has left. I'll have to do this. I'll inform you once this will be done.
We are really depend on this moving forward

@nabam
Copy link
Contributor Author

nabam commented Apr 24, 2023

Hi there! Sorry, I had very little time lately to look into this since I got a new job recently. I can see that @locmai took this PR over and created #20530. Thanks a lot for getting it done! I'm closing this PR.

@nabam nabam closed this Apr 24, 2023
djaglowski pushed a commit that referenced this pull request Jan 8, 2024
…#23790)

**Description:** <Describe what has changed.>
This continues the work done in the now closed
[PR](#20530).
I have addressed issues raised in the original PR by
- Adding logic to handle timestamp misalignments 
- Adding fix + a out-of-bounds bug  

In addition, I have performed end-to-end testing in a local setup, and
confirmed that accumulated histogram time series are correct.

**Link to tracking Issue:** <Issue number if applicable>

#4968

#9006

#19153
**Testing:** <Describe what testing was performed and which tests were
added.>
Added tests for timestamp misalignment and an out-of-bounds bug
discovered in the previous PR.
End-to-end testing to ensure histogram bucket counts exported to
Prometheus are correct

---------

Signed-off-by: Loc Mai <locmai0201@gmail.com>
Signed-off-by: xchen <xchen@axon.com>
Signed-off-by: stephenchen <x.chen1016@gmail.com>
Co-authored-by: Lev Popov <nabam@nabam.net>
Co-authored-by: Lev Popov <leo@nabam.net>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Loc Mai <locmai0201@gmail.com>
Co-authored-by: Alex Boten <aboten@lightstep.com>
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Jan 10, 2024
…open-telemetry#23790)

**Description:** <Describe what has changed.>
This continues the work done in the now closed
[PR](open-telemetry#20530).
I have addressed issues raised in the original PR by
- Adding logic to handle timestamp misalignments 
- Adding fix + a out-of-bounds bug  

In addition, I have performed end-to-end testing in a local setup, and
confirmed that accumulated histogram time series are correct.

**Link to tracking Issue:** <Issue number if applicable>

open-telemetry#4968

open-telemetry#9006

open-telemetry#19153
**Testing:** <Describe what testing was performed and which tests were
added.>
Added tests for timestamp misalignment and an out-of-bounds bug
discovered in the previous PR.
End-to-end testing to ensure histogram bucket counts exported to
Prometheus are correct

---------

Signed-off-by: Loc Mai <locmai0201@gmail.com>
Signed-off-by: xchen <xchen@axon.com>
Signed-off-by: stephenchen <x.chen1016@gmail.com>
Co-authored-by: Lev Popov <nabam@nabam.net>
Co-authored-by: Lev Popov <leo@nabam.net>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Loc Mai <locmai0201@gmail.com>
Co-authored-by: Alex Boten <aboten@lightstep.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[exporter/prometheus] collector do not support metric histogram with temporality = DELTA
8 participants