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

[chore] alternative for splunkhec to use otel #33924

Merged
merged 5 commits into from
Jul 8, 2024

Conversation

codeboten
Copy link
Contributor

@codeboten codeboten commented Jul 4, 2024

This is an alternative to #33664, since mdatagen doesn't support changing metric names, this substitutes the opencensus sdk calls with otel directly.

Pinging @atoulme @dmitryax @crobert-1 to guide which of the two approaches is preferred. This component is the last one blocking the removal of the opencensus bridge in core.

Closes #33471
Closes #29867

NOTE: tests need to be fixed, but i wanted to propose this alternative before spending time to fix the tests

This is an alternative to open-telemetry#33664, since mdatagen doesn't support changing metric names, this substitutes the opencensus sdk calls with otel directly.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten requested a review from a team July 4, 2024 22:28
@codeboten codeboten marked this pull request as draft July 4, 2024 22:28
@atoulme
Copy link
Contributor

atoulme commented Jul 5, 2024

This looks like the right approach to me. Sorry I didn’t get to it myself and thank you for pursuing this!

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten marked this pull request as ready for review July 8, 2024 16:53
@codeboten
Copy link
Contributor Author

@atoulme this is ready for review now, PTAL

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

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

Thanks, @codeboten!

@codeboten codeboten merged commit f1ba946 into open-telemetry:main Jul 8, 2024
150 checks passed
@codeboten codeboten deleted the codeboten/census-hec branch July 8, 2024 18:59
@github-actions github-actions bot added this to the next release milestone Jul 8, 2024
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.

Migrate from opencensus library: exporter/splunkhec Migrate from opencensus library
5 participants