-
Notifications
You must be signed in to change notification settings - Fork 124
fix: enable otel logs #3157
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
base: main
Are you sure you want to change the base?
fix: enable otel logs #3157
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
commit: |
} | ||
|
||
fn init_logger_provider() -> SdkLoggerProvider { | ||
let exporter = opentelemetry_otlp::LogExporter::builder() |
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.
i'm not sure this is a good idea to use the native log exporter. iirc it's better to capture logs from stdout so we can capture panics, etc.
i looked in to this a while ago, this seems to be the balance that people go for.
my main concern though is there anything that we don't log that might be vital? is it going to be a pain in the ass to re-merge logs with traces? is there a hybrid option? is sentry enough for hard crashes if we use this for logs?
29953c1
to
4fef21c
Compare
28304d5
to
f8f5890
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
Claude encountered an error —— View job I'll analyze this and get back to you. |
No description provided.