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

allow for an SSH url to be used for github in update script for telemetry #3944

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bengl
Copy link
Contributor

@bengl bengl commented Jan 30, 2025

Motivation

the http urls weren't working for me

Changes

see title

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • If PR title starts with [<language>], double-check that only <language> is impacted by the change
  • No system-tests internal is modified. Otherwise, I have the approval from R&P team
  • CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added (or removed)?

@bengl bengl requested review from a team as code owners January 30, 2025 19:52
@bengl bengl requested review from ZStriker19 and removed request for a team January 30, 2025 19:52
Copy link
Contributor

@bm1549 bm1549 left a comment

Choose a reason for hiding this comment

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

LGTM just had some nit picks

2. Add config normalization rules [here](https://github.com/DataDog/dd-go/tree/prod/trace/apps/tracer-telemetry-intake/telemetry-payload/static/) following the existing pattern
1. This can be merged with any review from [@apm-sdk](https://github.com/orgs/DataDog/teams/apm-sdk)
1. Check the test failure to see exactly which configs are missing.
2. Add config normalization rules [here](https://github.com/DataDog/dd-go/tree/prod/trace/apps/tracer-telemetry-intake/telemetry-payload/static/) following the existing pattern. Note that the PR must be made against the prod (default) branch.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
2. Add config normalization rules [here](https://github.com/DataDog/dd-go/tree/prod/trace/apps/tracer-telemetry-intake/telemetry-payload/static/) following the existing pattern. Note that the PR must be made against the prod (default) branch.
2. Add config normalization rules [here](https://github.com/DataDog/dd-go/tree/prod/trace/apps/tracer-telemetry-intake/telemetry-payload/static/) following the existing pattern. Note that the PR should be made against the `prod` (default) branch.

Copy link
Contributor

Choose a reason for hiding this comment

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

While it normally should be made against the prod branch, there are valid use cases for doing it against a feature branch. As such, I'd prefer to loosen the language a bit here

2. Bonus Points: Run the auto-formatter [_format.py](https://github.com/DataDog/dd-go/blob/prod/trace/apps/tracer-telemetry-intake/telemetry-payload/static/_format.py) from the `dd-go` root via `python ./trace/apps/tracer-telemetry-intake/telemetry-payload/static/_format.py`
3. After merging, update system-tests by running [update.sh](/tests/telemetry_intake/update.sh)
1. This can be run from the root by running `./tests/telemetry_intake/update.sh`
1. This can be run from the root by running `./tests/telemetry_intake/update.sh` (You may need to set `USE_GIT_SSH=1` to force a `[email protected]:` URL)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
1. This can be run from the root by running `./tests/telemetry_intake/update.sh` (You may need to set `USE_GIT_SSH=1` to force a `[email protected]:` URL)
1. This can be run from the root by running `./tests/telemetry_intake/update.sh`
1. If this fails, try re-running with `USE_GIT_SSH=1` to force a `[email protected]:` URL

Copy link
Contributor

@bm1549 bm1549 left a comment

Choose a reason for hiding this comment

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

Nit picks don't require re-review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants