Remove most code configuration#277
Merged
jeremydvoss merged 6 commits intomicrosoft:mainfrom May 4, 2023
Merged
Conversation
0f25e0b to
fe17ac8
Compare
fe17ac8 to
c09dd05
Compare
a0d43c3 to
1a85a17
Compare
90a5b99 to
80472be
Compare
jeremydvoss
commented
May 2, 2023
| dep_mock.assert_called_with(ep2_mock.dist) | ||
| ep_mock.load.assert_not_called() | ||
| ep2_mock.load.assert_called_once() | ||
| instrumentor_mock.instrument.assert_called_once() |
Member
Author
There was a problem hiding this comment.
This diff turned out weird, but if you expand below, you'll see that I mainly just removed test_setup_instrumentations_lib_excluded, test_setup_instrumentations_custom_configuration, and test_setup_instrumentations_custom_configuration_excluded
lzchen
reviewed
May 4, 2023
lzchen
reviewed
May 4, 2023
lzchen
reviewed
May 4, 2023
Contributor
There was a problem hiding this comment.
Nit: Switch the ordering of the last two so OTEL_x_SCHEDULE_DELAY variables are grouped together.
lzchen
reviewed
May 4, 2023
Contributor
There was a problem hiding this comment.
Does this mean upgrading to opentelemetry-sdk 1.18 because it's in the latest release?
lzchen
reviewed
May 4, 2023
| @@ -68,21 +59,7 @@ def configure_azure_monitor(**kwargs) -> None: | |||
| end user to configure OpenTelemetry and Azure monitor components. The | |||
Contributor
There was a problem hiding this comment.
Do we still need InstrumentationConfig type above?
Member
Author
There was a problem hiding this comment.
Good point. Will remove.
Contributor
|
LGTM except a few comments. |
lzchen
approved these changes
May 4, 2023
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
e2abb45 to
97fb414
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removing the following parameters for configure_azure_monitor:
Configuration for some of these items will still be possible through env vars.