-
Notifications
You must be signed in to change notification settings - Fork 752
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: integration with sentry #6226
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thanks for the contribution! Please review the labels and make any necessary changes. |
Is it possible to integrate with sentry by open tracing? |
It doesn't make sense for applications to integrate tracing vendors one by one... Also, it will add more maintain works. |
I think it's possible, but I don't see this in practice at the moment.
You're right. I will explore other, simpler integration options. |
It looks like the Sentry Performance has some features similar to the Jaeger. I think we can add an environment variable to enable the sentry tracing feature so that we can make better use of sentry. |
Please add some doc on how to profile databend using sentry. |
I feel it is better suited to tracing, now that the documentation has been added. |
Setting `SENTRY_TRACES_SAMPLE_RATE` greater than `0.0` will allow sentry to perform trace sampling, which will help set up performance monitoring. | ||
|
||
```bash | ||
DATABEND_SENTRY_DSN="<your-sentry-dsn>" SENTRY_TRACES_SAMPLE_RATE=1.0 LOG_LEVEL=DEBUG ./databend-query |
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.
log level is TRACE is ok?
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.
It is also possible, but debug is enough
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 think it's ok to be consistent with jaeger's log_level.
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
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
usage
Changelog
Related Issues
Fixes #6164