Skip to content

Conversation

ofirshmuel
Copy link
Contributor

@ofirshmuel ofirshmuel commented Mar 22, 2022

Description:

This bugfix for this issue (7931)
I add the coralogixpb.go to the exporter folder (like other exporters) instead of coralogix/opentelemetry-cx-protobuf-api repo.
BUT I change the generate a different proto file to prevent "duplicate proto".
I removed any mention to the previous repo in coralogixexporter folder and other files

Link to tracking Issue:
Fixes #7931

Testing:

Documentation:

@ofirshmuel ofirshmuel requested review from a team and bogdandrutu March 22, 2022 12:17
@@ -0,0 +1,847 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be instructions on how to regenerate this file on necessity.

@open-telemetry/collector-contrib-approvers, do you think it would make sense to have the originating proto file here as well?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so long as there is a make target that can generate this code and that target includes the download of the proto, it's fine for it not to be in the repo. The genproto target in the collector core downloads the zip file of the proto before running protoc.

@ofirshmuel can you add something similar here? https://github.com/open-telemetry/opentelemetry-collector/blob/a1c539a3fe0ef4f94e5cfe5646faf16ab6a62f43/Makefile#L255

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea where to find the orignal proto files?
I noticed they are not in https://github.com/coralogix/opentelemetry-cx-protobuf-api

@github-actions
Copy link
Contributor

github-actions bot commented Apr 6, 2022

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Apr 6, 2022
@github-actions
Copy link
Contributor

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Apr 21, 2022
@@ -0,0 +1,847 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: collector.proto
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iam not able to find collector.proto in the entire organisation. https://github.com/search?q=org%3Acoralogix+collector.proto

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes seems like a modified version of it. #7931 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

version command prints jaeger errors

4 participants