-
Notifications
You must be signed in to change notification settings - Fork 239
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
Upgrade OTel dependencies to v0.42.0. #868
Conversation
Codecov Report
@@ Coverage Diff @@
## main #868 +/- ##
==========================================
+ Coverage 50.38% 53.36% +2.97%
==========================================
Files 11 12 +1
Lines 385 416 +31
==========================================
+ Hits 194 222 +28
- Misses 175 177 +2
- Partials 16 17 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch on license. LGTM
@@ -102,21 +100,18 @@ func TestGetMapProviderContainer(t *testing.T) { | |||
os.Setenv("PPROF_ENDPOINT", expectedEndpoint) | |||
defer os.Unsetenv("PPROF_ENDPOINT") | |||
|
|||
os.Setenv("AOT_CONFIG_CONTENT", "extensions:\n health_check:\n pprof:\n endpoint: '${PPROF_ENDPOINT}'\nreceivers:\n otlp:\n protocols:\n grpc:\n endpoint: 0.0.0.0:4317\nprocessors:\n batch:\nexporters:\n logging:\n loglevel: debug\n awsxray:\n local_mode: true\n region: 'us-west-2'\n awsemf:\n region: 'us-west-2'\nservice:\n pipelines:\n traces:\n receivers: [prometheusreceiver]\n exporters: [logging,awsxray]\n metrics:\n receivers: [prometheusreceiver]\n exporters: [awsemf]\n extensions: [pprof]") | |||
defer os.Unsetenv("AOT_CONFIG_CONTENT") | |||
os.Setenv(envKey, "extensions:\n health_check:\n pprof:\n endpoint: '${PPROF_ENDPOINT}'\nreceivers:\n otlp:\n protocols:\n grpc:\n endpoint: 0.0.0.0:4317\nprocessors:\n batch:\nexporters:\n logging:\n loglevel: debug\n awsxray:\n local_mode: true\n region: 'us-west-2'\n awsemf:\n region: 'us-west-2'\nservice:\n pipelines:\n traces:\n receivers: [otlp]\n exporters: [logging,awsxray]\n metrics:\n receivers: [otlp]\n exporters: [awsemf]\n extensions: [pprof]") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
@Aneurysm9 Do we want to pull in the changes to flags.go (https://github.com/open-telemetry/opentelemetry-collector/blob/v0.42.0/service/flags.go)? Right now, we only allow the config/set flags. Pulling in this change would include 3 additional flags (feature-gates, metrics-addr, metrics-level). |
|
f2eac35
to
c87a101
Compare
Description: Re-defined
ExpandConverter
for environment variable expansion in config provider. Fixed tests that broke due to change.Link to tracking Issue: #867
Testing: Ran unit tests and built without issue.