Skip to content

Conversation

@NathanFlurry
Copy link
Member

Changes

Copy link
Member Author

NathanFlurry commented Jun 2, 2025

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.
Learn more


How to use the Graphite Merge Queue

Add 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.

@MasterPtato MasterPtato force-pushed the chore_increase_file_watch_limit_for_rivet_guard branch from 5d166fe to c6bfdf2 Compare June 3, 2025 01:54
@MasterPtato MasterPtato force-pushed the chore_disable_OTEL_by_default_in_guard_service branch from 01599e8 to 137d99c Compare June 3, 2025 01:54
@MasterPtato MasterPtato marked this pull request as ready for review June 3, 2025 01:55
Copy link

@greptile-apps greptile-apps bot left a 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_ENABLED from /packages/core/services/cluster/src/workflows/server/install/install_scripts/files/rivet_guard_configure.sh
  • Consider removing RIVET_OTEL_SAMPLER_RATIO=1 since 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

Comment on lines +18 to 19
# OTEL is not enabled by default since it eats memory very quickly
Environment="RIVET_OTEL_SAMPLER_RATIO=1"
Copy link

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.

@cloudflare-workers-and-pages
Copy link

Deploying rivet-hub with  Cloudflare Pages  Cloudflare Pages

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

View logs

@cloudflare-workers-and-pages
Copy link

Deploying rivet with  Cloudflare Pages  Cloudflare Pages

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

View logs

@cloudflare-workers-and-pages
Copy link

Deploying rivet-studio with  Cloudflare Pages  Cloudflare Pages

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

View logs

@graphite-app
Copy link
Contributor

graphite-app bot commented Jun 3, 2025

Merge activity

  • Jun 3, 7:01 AM UTC: NathanFlurry added this pull request to the Graphite merge queue.
  • Jun 3, 7:02 AM UTC: CI is running for this pull request on a draft pull request (#2528) due to your merge queue CI optimization settings.
  • Jun 3, 7:03 AM UTC: Merged by the Graphite merge queue via draft PR: #2528.

graphite-app bot pushed a commit that referenced this pull request Jun 3, 2025
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
@graphite-app graphite-app bot closed this Jun 3, 2025
@graphite-app graphite-app bot deleted the chore_disable_OTEL_by_default_in_guard_service branch June 3, 2025 07:03
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