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

README code throws compiler error #372

Closed
bhshkh opened this issue Sep 19, 2024 · 1 comment · Fixed by #373
Closed

README code throws compiler error #372

bhshkh opened this issue Sep 19, 2024 · 1 comment · Fixed by #373
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@bhshkh
Copy link

bhshkh commented Sep 19, 2024

TraceExporter traceExporter = TraceExporter.createWithDefaultConfiguration();

Tried using the above lines but it shows error:

Required type:
TraceExporter
Provided:
SpanExporter
@psx95
Copy link
Contributor

psx95 commented Sep 20, 2024

Thank you for reporting this, the readme needs to be updated. The method indeed returns a SpanExporter as it should.

I will update the README.

@psx95 psx95 self-assigned this Sep 20, 2024
@psx95 psx95 added the documentation Improvements or additions to documentation label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants