-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[chore] Update uses of configgrpc for v0.111 #35580
Closed
jade-guiton-dd
wants to merge
4
commits into
open-telemetry:main
from
jade-guiton-dd:configgrpc-update
Closed
[chore] Update uses of configgrpc for v0.111 #35580
jade-guiton-dd
wants to merge
4
commits into
open-telemetry:main
from
jade-guiton-dd:configgrpc-update
Conversation
This file contains 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
github-actions
bot
added
cmd/githubgen
cmd/opampsupervisor
cmd/otelcontribcol
otelcontribcol command
cmd/oteltestbedcol
cmd/telemetrygen
telemetrygen command
confmap/provider/s3provider
confmap/provider/secretsmanagerprovider
connector/count
connector/datadog
connector/exceptions
connector/failover
connector/grafanacloud
connector/otlpjson
connector/roundrobin
connector/routing
connector/servicegraph
connector/spanmetrics
connector/sum
exporter/alertmanager
exporter/alibabacloudlogservice
Alibaba components
exporter/awscloudwatchlogs
awscloudwatchlogs exporter
exporter/awsemf
awsemf exporter
exporter/awskinesis
exporter/awss3
exporter/awsxray
exporter/azuredataexplorer
exporter/azuremonitor
exporter/carbon
exporter/cassandra
exporter/clickhouse
labels
Oct 3, 2024
jade-guiton-dd
requested review from
andrzej-stencel,
crobert-1,
dashpole,
atoulme,
jmacd,
dmitryax,
codeboten,
fatsheep9146,
jpkrohling,
TylerHelmuth,
yurishkuro,
mx-psi,
bogdandrutu,
evan-bradley,
songy23,
tigrannajaryan,
mwear and
jsuereth
as code owners
October 3, 2024 15:52
TylerHelmuth
added
the
Skip Changelog
PRs that do not require a CHANGELOG.md entry
label
Oct 3, 2024
TylerHelmuth
approved these changes
Oct 3, 2024
dmitryax
approved these changes
Oct 3, 2024
dmitryax
reviewed
Oct 3, 2024
@@ -50,9 +50,9 @@ extensions: | |||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding/zipkinencodingextension v0.110.0 | |||
|
|||
exporters: | |||
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.110.0 | |||
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.110.1-0.20240927195042-40396d5fc50c | |||
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.110.0 |
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.
Can you please update all the core modules so we have a consistent snapshot of the core repo?
Superseded by #35598, thanks Jade for the PR, we had to make a quick update for the v0.111.0 release so this was included in that PR |
6 tasks
MovieStoreGuy
pushed a commit
that referenced
this pull request
Oct 22, 2024
**Description:** When working on #35580, it seemed that `make update-otel` was not properly updating the `builder-config.yaml` files. I traced this down to the `updatehelper` script not working as intended. This turned out to be because it uses some features of the `sed` utility which do not exist on macOS, causing no updates to be made. The `\s` (whitespace) regex class is a GNU extension for `sed`; the POSIX-compatible equivalent is `[[:space:]]` ([related SO question](https://stackoverflow.com/questions/18840175/find-and-replace-with-spaces-using-sed-mac-terminal)). Moreover, on macOS, the `-i` (in-place) option requires an argument, even if empty; otherwise the `-e` following it is parsed as that argument, creating an unnecessary backup file ([related SO question](https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux)). **Testing:** I manually tested this change as part of developing the aforementioned PR; the script seems to work on macOS now. It would be good for someone to test this change on Linux to make sure nothing has broken there.
sbylica-splunk
pushed a commit
to sbylica-splunk/opentelemetry-collector-contrib
that referenced
this pull request
Dec 17, 2024
**Description:** When working on open-telemetry#35580, it seemed that `make update-otel` was not properly updating the `builder-config.yaml` files. I traced this down to the `updatehelper` script not working as intended. This turned out to be because it uses some features of the `sed` utility which do not exist on macOS, causing no updates to be made. The `\s` (whitespace) regex class is a GNU extension for `sed`; the POSIX-compatible equivalent is `[[:space:]]` ([related SO question](https://stackoverflow.com/questions/18840175/find-and-replace-with-spaces-using-sed-mac-terminal)). Moreover, on macOS, the `-i` (in-place) option requires an argument, even if empty; otherwise the `-e` following it is parsed as that argument, creating an unnecessary backup file ([related SO question](https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux)). **Testing:** I manually tested this change as part of developing the aforementioned PR; the script seems to work on macOS now. It would be good for someone to test this change on Linux to make sure nothing has broken there.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cmd/githubgen
cmd/opampsupervisor
cmd/otelcontribcol
otelcontribcol command
cmd/oteltestbedcol
cmd/telemetrygen
telemetrygen command
confmap/provider/s3provider
confmap/provider/secretsmanagerprovider
connector/count
connector/datadog
connector/exceptions
connector/failover
connector/grafanacloud
connector/otlpjson
connector/roundrobin
connector/routing
connector/servicegraph
connector/spanmetrics
connector/sum
exporter/alertmanager
exporter/alibabacloudlogservice
Alibaba components
exporter/awscloudwatchlogs
awscloudwatchlogs exporter
exporter/awsemf
awsemf exporter
exporter/awskinesis
exporter/awss3
exporter/awsxray
exporter/azuredataexplorer
exporter/azuremonitor
exporter/carbon
exporter/cassandra
exporter/clickhouse
exporter/coralogix
exporter/datadog
Datadog components
exporter/dataset
exporter/doris
exporter/elasticsearch
exporter/file
exporter/googlecloud
exporter/googlecloudpubsub
exporter/googlemanagedprometheus
Google Managed Prometheus exporter
exporter/honeycombmarker
exporter/influxdb
exporter/kafka
exporter/kinetica
exporter/loadbalancing
exporter/logicmonitor
exporter/logzio
exporter/loki
Loki Exporter
Skip Changelog
PRs that do not require a CHANGELOG.md entry
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.
Description:
In v0.110 of the core libraries, new versions of
ClientConfig.ToClientConn
andServerConfig.ToServer
fromconfiggrpc
were added to support a new option type, and the old versions were deprecated. Contrib was updated in #35352.In v0.111, the old versions will be removed, and the new versions will be renamed back to the original names, with deprecated aliases remaining for one more version (cf. this PR).
This PR updates the core libraries to a pre-release version past this PR and updates Contrib to match this change (simply rename
ToClientConnWithOptions
/ToServerWithOptions
toToClientConn
/ToServer
).Link to tracking Issue:
Part of #9480 on Core