-
Notifications
You must be signed in to change notification settings - Fork 148
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
feat: Enable tracing via OpenTelemetry. #2218
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. It will be nice if u can add PR description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please add a line in the PR description that the public API has a name change, for future reference.
This PR enables the feature that allows users to capture Firestore trace spans by setting up an OpenTelemetry tracer and passing it to Firestore settings via
settings.openTelemetry
[or setting up a global OpenTelemetry tracer]. The feature can be disabled by setting theFIRESTORE_ENABLE_TRACING
environment variable toOFF
orFALSE
.