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

Migrate opencensusexporter from Collector core to Collector contrib #4657

Merged
merged 2 commits into from
Aug 23, 2021

Conversation

Saber-W
Copy link
Member

@Saber-W Saber-W commented Aug 16, 2021

Description:
This PR migrates the opencensusexporter component from the Collector core repository to the Collector contrib repository.

This PR retains the commit history from core and includes plumbing fixes for go.mod, makefile, components.go.

Link to tracking Issue:
opentelemetry-collector/#3474
opentelemetry-collector/#3650

@Saber-W Saber-W requested a review from a team as a code owner August 16, 2021 19:25
@Saber-W Saber-W requested a review from dmitryax August 16, 2021 19:25
@alolita alolita added release:required-for-ga Must be resolved before GA release spec:trace labels Aug 16, 2021
@alolita
Copy link
Member

alolita commented Aug 16, 2021

Hi @bogdandrutu @tigrannajaryan based on our discussion last week, we're starting to file PRs to move each core component to contrib. Please review and merge. Thanks!

@bogdandrutu
Copy link
Member

@alolita these are impossible to merge, every test is failing.

@alolita
Copy link
Member

alolita commented Aug 16, 2021

Hi @bogdandrutu - We're following a 3 step process for moving each of the identified components to contrib.

For each component, there are two PRs:

  1. [In Collector Contrib repo] The first PR is to move the component from core to contrib with a non-fastforward merge (with an explicit merge and commit).
    
  2. [In Collector Core repo] The second PR is to remove each component from collector core.
    

For all components in core,
3. [In Collector Contrib repo] We will file one PR for fixing breaking tests and anything else breaking.

NOTE: Please note in the interim tests will break. We are working to make sure all required tests pass for you to be able to merge in contrib.

@Saber-W Saber-W marked this pull request as draft August 17, 2021 15:06
@Saber-W Saber-W force-pushed the opencensusexporter-migration branch from 5cfc275 to f34cf9b Compare August 21, 2021 04:14
@Saber-W Saber-W marked this pull request as ready for review August 21, 2021 04:15
@Saber-W Saber-W force-pushed the opencensusexporter-migration branch 3 times, most recently from b09cb69 to f188ee8 Compare August 21, 2021 06:04
@Saber-W Saber-W force-pushed the opencensusexporter-migration branch from f188ee8 to ab1c866 Compare August 21, 2021 06:28
@bogdandrutu
Copy link
Member

@Saber-W please rebase, and replace usage of core "internaldata" with the new translator "opencensus".

@Saber-W Saber-W force-pushed the opencensusexporter-migration branch from ab1c866 to 9594fc3 Compare August 21, 2021 21:02
@Saber-W Saber-W force-pushed the opencensusexporter-migration branch from 9594fc3 to 75d27f4 Compare August 21, 2021 21:20
@Aneurysm9 Aneurysm9 merged commit af6ac5b into open-telemetry:main Aug 23, 2021
hex1848 pushed a commit to hex1848/opentelemetry-collector-contrib that referenced this pull request Jun 2, 2022
…pen-telemetry#4657)

This is a preliminary change in order to support single/multiple local/remote config sources.
This PR changes the Provider to accept an URI as the resource identifier.

The current way is still fully supported and will continue to be supported, but there are more ways to specify the file:

Command line(currently supported): `./otelcol --config=local.yaml`
Command line(currently supported): `./otelcol --config=/path/to/local.yaml`
Command line(new support): `./otelcol --config=file:/path/to/local.yaml`

Signed-off-by: Bogdan Drutu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:required-for-ga Must be resolved before GA release spec:trace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants