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

opentelemetrytracer: Dynatrace sampler: Enable adaptative sampling #32848

Merged

Conversation

samohte
Copy link
Contributor

@samohte samohte commented Mar 12, 2024

Commit Message: Dynatrace sampler to fetch configuration from an API

Additional Description: In #32598 a custom Dynatrace sampler was added to Envoy. This sampler should now be extended to fetch its configuration via an HTTP call from a Dyantrace cluster.
Testing: Unit, Integration, Manual
Docs Changes: N/A
Release Notes:Dynatrace sampler to fetch configuration from an API
Platform Specific Features: N/A
[Optional Runtime guard:] N/A
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

… API (#21)

* Dynatrace sampler to fetch configuration from an API

Signed-off-by: Thomas Ebner <96168670+samohte@users.noreply.github.com>
Co-authored-by: Joao Grassi <5938087+joaopgrassi@users.noreply.github.com>
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #32848 was opened by samohte.

see: more, trace.

Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @wbpcode
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #32848 was opened by samohte.

see: more, trace.

…l-config

Signed-off-by: thomas.ebner <thomas.ebner@dynatrace.com>
@samohte samohte changed the title opentelemetrytracer: Dynatrace sampler to fetch configuration from an… opentelemetrytracer: Dynatrace sampler: Enable adaptative sampling Mar 12, 2024
…l-config

Signed-off-by: thomas.ebner <thomas.ebner@dynatrace.com>
@samohte samohte marked this pull request as ready for review March 12, 2024 18:49
@samohte samohte requested a review from htuch as a code owner March 12, 2024 18:49
…l-config

Signed-off-by: thomas.ebner <thomas.ebner@dynatrace.com>
Copy link
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

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

Thanks for you contribution. And some comments are added. :)

@wbpcode
Copy link
Member

wbpcode commented Mar 17, 2024

/lgtm api

@wbpcode
Copy link
Member

wbpcode commented Mar 17, 2024

/wait

Signed-off-by: thomas.ebner <thomas.ebner@dynatrace.com>
@samohte
Copy link
Contributor Author

samohte commented Mar 18, 2024

Thanks for you contribution. And some comments are added. :)

Thanks for your valuable feedback. I addressed your comments in 535d99b

Copy link
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

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

Thanks for you in timely update. Now, LGTM overall except the last comment about the thread safe. And please resolve the conflict. Thanks.

…l-config

Signed-off-by: thomas.ebner <thomas.ebner@dynatrace.com>
@samohte
Copy link
Contributor Author

samohte commented Mar 19, 2024

Thanks for you in timely update. Now, LGTM overall except the last comment about the thread safe. And please resolve the conflict. Thanks.

I have resolved the conflict and answered your comment. Pls. let me know what you think about.

@samohte
Copy link
Contributor Author

samohte commented Mar 19, 2024

/retest

@samohte samohte requested a review from wbpcode March 20, 2024 09:16
@wbpcode wbpcode merged commit c4fe01c into envoyproxy:main Mar 21, 2024
53 checks passed
@samohte samohte deleted the feat/dt-sampler-poll-config branch March 21, 2024 06:03
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