Merged
Conversation
Collaborator
Author
Collaborator
Author
|
Hey @adrienbanse, if you could double-check this PR (and especially the documentation), that would be great! For "integration tests," I have everything working locally, and I will make a special private repo for now. |
2 tasks
|
I would recommend to not report a counter , but rather a Gauge or Histograms. |
Recently merged a PR that implements mean property on RangeValue. We can remove our own implementation of avg.
…ync or async mode
energy -> joule mass -> gram
Contributor
adrienbanse
reviewed
Jul 30, 2025
Collaborator
|
@samuelrince I just proofread the docs, looks great to me! Sorry but I think I won't have time to proofread the code as well. |
adrienbanse
reviewed
Jul 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for OpenTelemetry into EcoLogits. This will allow users to export EcoLogits metrics directly into their monitoring stack.
Thanks to Afoodi for contributing to this new feature! 🤗
Documentation summary
Initialize OpenTelemetry within EcoLogits:
Tracked metrics:
ecologits_requests_totalecologits_input_tokens_ratioecologits_output_tokens_ratioecologits_request_latency_secondsecologits_energy_joulesecologits_gwp_gCO2eqecologits_adpe_gSbeqecologits_pe_joulesUse OpenTelemetry labels:
Work in progress: