Repository navigation
[core][telemetry/06] record gauge metric e2e - #53231
Merged
Merged
Conversation
can-anyscale
force-pushed
the
can-tel04
branch
3 times, most recently
from
May 27, 2025 16:45
7515515 to
c93d2e5
Compare
can-anyscale
force-pushed
the
can-tel05
branch
2 times, most recently
from
May 27, 2025 20:32
14327e0 to
7cfc5af
Compare
can-anyscale
force-pushed
the
can-tel04
branch
2 times, most recently
from
May 27, 2025 23:11
46124de to
5828c32
Compare
can-anyscale
force-pushed
the
can-tel04
branch
2 times, most recently
from
May 28, 2025 00:50
6fe7413 to
f50e634
Compare
can-anyscale
force-pushed
the
can-tel05
branch
4 times, most recently
from
May 28, 2025 17:11
361ee76 to
4244eb1
Compare
can-anyscale
force-pushed
the
can-tel04
branch
11 times, most recently
from
May 28, 2025 21:58
0c934db to
6d5215e
Compare
Signed-off-by: can <[email protected]>
Signed-off-by: can <[email protected]>
Signed-off-by: can <[email protected]>
Signed-off-by: can <[email protected]>
Signed-off-by: can <[email protected]>
<!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. --> <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> <!-- Please give a short summary of the change and the problem this solves. --> <!-- For example: "Closes #1234" --> - [ ] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [ ] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [ ] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [ ] Unit tests - [ ] Release tests - [ ] This PR is not tested :( Signed-off-by: can <[email protected]>
MengjinYan
reviewed
Jul 8, 2025
| tag.key: tag.value.string_value | ||
| for tag in data_point.attributes | ||
| }, | ||
| data_point.as_double, |
Contributor
There was a problem hiding this comment.
Just to clarify, here we assume that all metrics will be with double type, is that right? If that's the case, should we add a comment somewhere to clarify the assumption so that when people add new metrics, they will also be aware of that?
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 is a series of PR to migrate metric collection from opencencus to openlemetry. For context on the existing components, see #53098.
This PR
Overall, when
RAY_experimental_enable_open_telemetry_on_coreis True, gauge metric uses open telemetry and everything else keeps using opencensus. Otherwise, everything will use opencensus. This ensure correctness for both options.Test: