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

apply otel_service on metrics #42242

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

romsharon98
Copy link
Contributor

closes: #42210


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Copy link
Member

@hussein-awala hussein-awala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure in the non-db tests

@romsharon98
Copy link
Contributor Author

Failure in the non-db tests

Running this test in main, and it failed with the same error:

FAILED tests/core/test_otel_logger.py::TestOtelMetrics::test_timer_start_and_stop_manually_send_true - assert 3140.0 == 3.14

Maybe @ferruzzi can help us figure it out?

@romsharon98
Copy link
Contributor Author

This PR: #42267 should fix the current failed tests

@ferruzzi
Copy link
Contributor

This PR: #42267 should fix the current failed tests

Yeah, looks like you got it sorted out. Looks like it was a side-effect of the PR which converted reporting timers from seconds to millis,

otel_service:
description: |
The default service name of traces.
version_added: 2.10.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to update to 2.10.3 and confirm with @ephraimbuddy that this PR is for bugfix release otherwise it must be 2.11

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed for 2.10.3

@romsharon98 romsharon98 added type:bug-fix Changelog: Bug Fixes affected_version:2.10 Issues Reported for 2.10 labels Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affected_version:2.10 Issues Reported for 2.10 type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hardcoded Opentelemetry SERVICE_NAME
4 participants