-
Notifications
You must be signed in to change notification settings - Fork 129
chore: disable OTEL by default in guard service #2522
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
chore: disable OTEL by default in guard service #2522
Conversation
5d166fe to
c6bfdf2
Compare
01599e8 to
137d99c
Compare
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.
PR Summary
Disables OpenTelemetry (OTEL) by default in the Rivet Guard service to reduce memory consumption by removing the RIVET_OTEL_ENABLED environment variable.
- Removed
RIVET_OTEL_ENABLEDfrom/packages/core/services/cluster/src/workflows/server/install/install_scripts/files/rivet_guard_configure.sh - Consider removing
RIVET_OTEL_SAMPLER_RATIO=1since it has no effect when OTEL is disabled - Added clarifying comment about OTEL's memory consumption in systemd service configuration
1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
| # OTEL is not enabled by default since it eats memory very quickly | ||
| Environment="RIVET_OTEL_SAMPLER_RATIO=1" |
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.
logic: RIVET_OTEL_SAMPLER_RATIO=1 has no effect if OTEL is disabled. Consider removing this line entirely to avoid confusion.
Deploying rivet-hub with
|
| Latest commit: |
137d99c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1b40cd9e.rivet-hub-7jb.pages.dev |
| Branch Preview URL: | https://chore-disable-otel-by-defaul.rivet-hub-7jb.pages.dev |
Deploying rivet with
|
| Latest commit: |
137d99c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1ae48c63.rivet.pages.dev |
| Branch Preview URL: | https://chore-disable-otel-by-defaul.rivet.pages.dev |
Deploying rivet-studio with
|
| Latest commit: |
137d99c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1814f08f.rivet-studio.pages.dev |
| Branch Preview URL: | https://chore-disable-otel-by-defaul.rivet-studio.pages.dev |
Merge activity
|
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->

Changes