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

Added logging and distributed tracing with opentelemetry #108

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abhiramvad
Copy link

This PR adds centralized logging and OpenTelemetry support to the Provider class for improved observability and performance monitoring. Logging ensures consistent API call and error reporting, while the trace_execution decorator enables distributed tracing to track execution times and errors.

  • Centralized Logging: Introduced log_request and log_error methods for consistent API and error logging across providers.
  • OpenTelemetry Integration: Added the trace_execution decorator to capture execution times and exceptions, integrating with tools like Jaeger or DataDog.

@abhiramvad
Copy link
Author

@rohitprasad15 , can you please take a look at this ? Thank you

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.

1 participant