Skip to content

[core][metric] error handling of metric+event exporter agent#57925

Merged
can-anyscale merged 3 commits into
masterfrom
can-1ev08
Oct 21, 2025
Merged

[core][metric] error handling of metric+event exporter agent#57925
can-anyscale merged 3 commits into
masterfrom
can-1ev08

Conversation

@can-anyscale

Copy link
Copy Markdown
Contributor

This PR moves the error handling of metric+event exporter agent one level up, inside the metrics_agent_client callback. Previously, the errors handled were handled by either the metric or event recorder, which leads to confusion and buggy code.

Test:

  • CI

Base automatically changed from can-1ev07 to master October 20, 2025 21:27
Cuong Nguyen added 3 commits October 20, 2025 14:42
Signed-off-by: Cuong Nguyen <can@anyscale.com>
… called only once."

Signed-off-by: Cuong Nguyen <can@anyscale.com>
Signed-off-by: Cuong Nguyen <can@anyscale.com>
@can-anyscale can-anyscale marked this pull request as ready for review October 20, 2025 21:42
@can-anyscale can-anyscale requested a review from a team as a code owner October 20, 2025 21:42
@can-anyscale can-anyscale enabled auto-merge (squash) October 20, 2025 22:50
@github-actions github-actions Bot added the go add ONLY when ready to merge, run all tests label Oct 20, 2025
@can-anyscale can-anyscale merged commit 9b0007a into master Oct 21, 2025
7 of 8 checks passed
@can-anyscale can-anyscale deleted the can-1ev08 branch October 21, 2025 00:32
xinyuangui2 pushed a commit to xinyuangui2/ray that referenced this pull request Oct 22, 2025
…ject#57925)

This PR moves the error handling of metric+event exporter agent one
level up, inside the `metrics_agent_client` callback. Previously, the
errors handled were handled by either the metric or event recorder,
which leads to confusion and buggy code.

Test:
- CI

---------

Signed-off-by: Cuong Nguyen <can@anyscale.com>
Signed-off-by: xgui <xgui@anyscale.com>
elliot-barn pushed a commit that referenced this pull request Oct 23, 2025
This PR moves the error handling of metric+event exporter agent one
level up, inside the `metrics_agent_client` callback. Previously, the
errors handled were handled by either the metric or event recorder,
which leads to confusion and buggy code.

Test:
- CI

---------

Signed-off-by: Cuong Nguyen <can@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
…ject#57925)

This PR moves the error handling of metric+event exporter agent one
level up, inside the `metrics_agent_client` callback. Previously, the
errors handled were handled by either the metric or event recorder,
which leads to confusion and buggy code.

Test:
- CI

---------

Signed-off-by: Cuong Nguyen <can@anyscale.com>
Future-Outlier pushed a commit to Future-Outlier/ray that referenced this pull request Dec 7, 2025
…ject#57925)

This PR moves the error handling of metric+event exporter agent one
level up, inside the `metrics_agent_client` callback. Previously, the
errors handled were handled by either the metric or event recorder,
which leads to confusion and buggy code.

Test:
- CI

---------

Signed-off-by: Cuong Nguyen <can@anyscale.com>
Signed-off-by: Future-Outlier <eric901201@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants