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

Enhancement: OpenTelemetry integration #180 #293

Closed
wants to merge 11 commits into from
Closed

Enhancement: OpenTelemetry integration #180 #293

wants to merge 11 commits into from

Conversation

cofin
Copy link
Member

@cofin cofin commented Jul 20, 2022

This enhancement enabled Open Telemetry integration. It is set up very similar to the Compression backend.

To use, set instrumentation_config=InstrumentationConfig( backend='opentelemetry', excluded_urls="/test_path" ), in the Starlite application config.

To do:

  • Additional test cases
  • Pass pre-commit pylint checks. Current there is an import-error getting thrown.
  • Verify metrics can be collected from third party utility
  • Documentation

@cofin cofin linked an issue Jul 20, 2022 that may be closed by this pull request
)


def _get_route_details(
Copy link
Contributor

Choose a reason for hiding this comment

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

Any thoughts on a work around? Could we use scope["state"]?

@peterschutt
Copy link
Contributor

What do you use for ingestion? I might have a crack at getting the template app feeding into something like https://signoz.io/

@cofin
Copy link
Member Author

cofin commented Jul 20, 2022

Signoz is the one that I see often. I think it's specifically for APM. I'd also like to try prometheus.

@Goldziher Goldziher added the Enhancement This is a new feature or request label Aug 4, 2022
@cofin
Copy link
Member Author

cofin commented Aug 7, 2022

I'm going to close this and re-work the implementation. I'll open a new PR once it's ready.

@cofin cofin closed this Aug 7, 2022
@cofin cofin deleted the opentelemetry branch September 4, 2022 17:04
@cofin cofin restored the opentelemetry branch September 4, 2022 17:04
@seladb
Copy link
Contributor

seladb commented Oct 1, 2022

@cofin is there anything fundamentally wrong in the implementation that is in the closed PR? It looks quite ok to me...

Just wondering if you had a completely different idea on how to implement this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement This is a new feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: OpenTelemetry integration
4 participants