Skip to content

Commit c0a5a76

Browse files
Leonid Ryzhykgz
authored andcommitted
Disable tracing by default.
We use jaeger for tracing. The default pipeline configuration had tracing enabled, the assumption being that it has negligible runtime cost. However, we've discovered that it can consume gigabytes of RAM (and I'm not even sure there's an upper bound) presumably buffering events in memory. We therefore switch the default to false. Signed-off-by: Leonid Ryzhyk <leonid@feldera.com>
1 parent 0d56edd commit c0a5a76

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

crates/feldera-types/src/config.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ fn default_tracing_endpoint() -> String {
4242
}
4343

4444
/// Default value of `RuntimeConfig::tracing`.
45+
// We discovered that the jaeger crate can use up gigabytes of RAM, so it's not harmless
46+
// to keep it on by default.
4547
fn default_tracing() -> bool {
46-
true
48+
false
4749
}
4850

4951
/// Pipeline deployment configuration.

0 commit comments

Comments
 (0)