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

fix(celery): change out.host tags to point to celery broker [backport 2.17] #11540

Open
wants to merge 3 commits into
base: 2.17
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

Backport b9573be from #10750 to 2.17.

Motivation

Change out.host tags to point towards the celery broker, instead of the local celery hostname. Fixes service-representation issues.

Fixes 11491

Checklist

  • PR author has checked that all the criteria below are met
  • The PR description includes an overview of the change
  • The PR description articulates the motivation for the change
  • The change includes tests OR the PR description describes a testing strategy
  • The PR description notes risks associated with the change, if any
  • Newly-added code is easy to change
  • The change follows the library release note guidelines
  • The change includes or references documentation updates if necessary
  • Backport labels are set (if applicable)

Reviewer Checklist

  • Reviewer has checked that all the criteria below are met
  • Title is accurate
  • All changes are related to the pull request's stated goal
  • Avoids breaking API changes
  • Testing strategy adequately addresses listed risks
  • Newly-added code is easy to change
  • Release note makes sense to a user of the library
  • If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment
  • Backport labels are set in a manner that is consistent with the release branch maintenance policy

@datadog-dd-trace-py-rkomorn
Copy link

datadog-dd-trace-py-rkomorn bot commented Nov 25, 2024

Datadog Report

Branch report: backport-10750-to-2.17
Commit report: 4c791d1
Test service: dd-trace-py

✅ 0 Failed, 592 Passed, 694 Skipped, 19m 19.56s Total duration (16m 45.29s time saved)

@pr-commenter
Copy link

pr-commenter bot commented Nov 25, 2024

Benchmarks

Benchmark execution time: 2024-11-25 23:41:30

Comparing candidate commit 4c791d1 in PR branch backport-10750-to-2.17 with baseline commit 22184b0 in branch 2.17.

Found 0 performance improvements and 1 performance regressions! Performance is the same for 387 metrics, 2 unstable metrics.

scenario:iast_aspects-ospathsplitdrive_aspect

  • 🟥 execution_time [+382.007ns; +417.502ns] or [+14.331%; +15.663%]

@wconti27 wconti27 closed this Nov 25, 2024
@wconti27 wconti27 reopened this Nov 25, 2024
Copy link
Contributor Author

github-actions bot commented Nov 25, 2024

CODEOWNERS have been resolved as:

.riot/requirements/1509aa1.txt                                          @DataDog/apm-python
.riot/requirements/1df4aa0.txt                                          @DataDog/apm-python
.riot/requirements/654f8c0.txt                                          @DataDog/apm-python
releasenotes/notes/update-celery-out-host-tag-be8da4f2ab88b4cf.yaml     @DataDog/apm-python
tests/contrib/celery/test_tagging.py                                    @DataDog/apm-core-python @DataDog/apm-idm-python
ddtrace/contrib/internal/celery/signals.py                              @DataDog/apm-core-python @DataDog/apm-idm-python
riotfile.py                                                             @DataDog/apm-python
tests/contrib/botocore/test.py                                          @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/celery/base.py                                            @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/celery/test_integration.py                                @DataDog/apm-core-python @DataDog/apm-idm-python
tests/contrib/jobspec.yml                                               @DataDog/apm-core-python @DataDog/apm-idm-python

…tly (#11483)

## Motivation

See silent failures
[here](https://gitlab.ddbuild.io/DataDog/apm-reliability/dd-trace-py/-/jobs/714753885#L6693).

DOES NOT NEED TO BE BACKPORTED, FIX WAS ALREADY INCLUDED IN EARLIER
BACKPORT PR

## Checklist
- [x] PR author has checked that all the criteria below are met
- The PR description includes an overview of the change
- The PR description articulates the motivation for the change
- The change includes tests OR the PR description describes a testing
strategy
- The PR description notes risks associated with the change, if any
- Newly-added code is easy to change
- The change follows the [library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [x] Reviewer has checked that all the criteria below are met
- Title is accurate
- All changes are related to the pull request's stated goal
- Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- Testing strategy adequately addresses listed risks
- Newly-added code is easy to change
- Release note makes sense to a user of the library
- If necessary, author has acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment
- Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)

(cherry picked from commit 81f52ca)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants