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

#887 otlp exporter exemplars #883

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Conversation

0x006EA1E5
Copy link
Contributor

@fstab
This PR adds support for exemplars in the OTLP Exporter
Addressed #877

The change seems fairly trivial, but I wonder if we need more test coverage?

@0x006EA1E5
Copy link
Contributor Author

Is there a reason why we are using JUnit 4, not 5?

Copy link
Member

@fstab fstab left a comment

Choose a reason for hiding this comment

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

Thanks a lot, it's looking great.

One tiny thing: There's an empty file trace.proto which I think is not needed.

Regarding tests: I like your test, it's a good way to test this. I know that test coverage of the OTel exporter is currently not great. For the Prometheus formats the ExpositionFormatsTest is much more complete, but it was also a lot of work :).

Is there a reason why we are using JUnit 4, not 5?

No, it's just that nobody updated it. If you like to create a PR: I'd appreciate an update to JUnit 5 :)

Signed-off-by: Greg Eales <0x006ea1e5@gmail.com>
@0x006EA1E5
Copy link
Contributor Author

One tiny thing: There's an empty file trace.proto which I think is not needed.

Removed, sorry about that

@0x006EA1E5
Copy link
Contributor Author

@fstab Are there any more actions you need me to do here? Is it suitable to me merged as is?

Copy link
Member

@fstab fstab left a comment

Choose a reason for hiding this comment

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

Looks great, thanks a lot!

@fstab fstab merged commit e9a0468 into prometheus:main Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants