Skip to content

[chore] Manual implementation of extensionauth.Client interface#38451

Merged
mx-psi merged 5 commits into
open-telemetry:mainfrom
mx-psi:mx-psi/remove-usages-of-new-client
Mar 12, 2025
Merged

[chore] Manual implementation of extensionauth.Client interface#38451
mx-psi merged 5 commits into
open-telemetry:mainfrom
mx-psi:mx-psi/remove-usages-of-new-client

Conversation

@mx-psi
Copy link
Copy Markdown
Member

@mx-psi mx-psi commented Mar 7, 2025

Description

Prepares for addressing changes from open-telemetry/opentelemetry-collector#12574

github-merge-queue Bot pushed a commit to open-telemetry/opentelemetry-collector that referenced this pull request Mar 12, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

An attempt at splitting `extensionauth.Client` by protocol type.
open-telemetry/opentelemetry-collector-contrib/pull/38451 removes usages
of the `NewClient` and `NewServer` constructor

---------

Co-authored-by: Jade Guiton <jade.guiton@datadoghq.com>
@mx-psi mx-psi marked this pull request as ready for review March 12, 2025 12:41
@mx-psi mx-psi requested a review from a team as a code owner March 12, 2025 12:41
@mx-psi mx-psi merged commit 58c9f6f into open-telemetry:main Mar 12, 2025
@github-actions github-actions Bot added this to the next release milestone Mar 12, 2025
mx-psi added a commit that referenced this pull request Mar 13, 2025
…mentions (#38601)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->

Follows #38451 and open-telemetry/opentelemetry-collector/pull/12574.

Removes explicit mentions to `extensionauth.Client` and replaces them by
`extensionauth.HTTPClient` and `extensionauth.GRPCClient`
braydonk added a commit to GoogleCloudPlatform/opentelemetry-operations-collector that referenced this pull request Apr 23, 2025
The structure for components in this repo had a fundamental issue. Once
we introduced components that were specific to Google-Built
OpenTelemetry Collector, we had the issue of otelopscol components
targeting an older version of OpenTelemetry. We don't want to force all
components to be on the same OTel version; when targeting different
distributions, the components need to be at whichever version that
distribution is on.

This PR restructures the component directories to separate them into two
separate directories, one for each distribution the component could be
targeting. The Makefile structure is adjusted around this fact. The new
process for upating OTel components for a distribution is to go into the
Makefile for that distribution's components folder and update the
version variables, then in the main directory call the associated target
to update those components.

This PR also does the OTel version updates for Google-Built
OpenTelemetry Collector to prove that the restructure worked
effectively.

Updates were needed to the client auth extension based on:
open-telemetry/opentelemetry-collector-contrib#38451
open-telemetry/opentelemetry-collector-contrib#38601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants