Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(cymbal): tune notifications defaults (#67473)

Hugues Pouillota4bcecafdc48
diff --git a/rust/cymbal/src/main.rs b/rust/cymbal/src/main.rs
index 37170a07135a..e9b55306bf11 100644
--- a/rust/cymbal/src/main.rs
+++ b/rust/cymbal/src/main.rs
@@ -13,7 +13,8 @@ fn setup_tracing() {
EnvFilter::builder()
.with_default_directive(LevelFilter::INFO.into())
.from_env_lossy()
- .add_directive("pyroscope=warn".parse().unwrap()),
+ .add_directive("pyroscope=warn".parse().unwrap())
+ .add_directive("rdkafka=warn".parse().unwrap()),
);
tracing_subscriber::registry().with(log_layer).init();
}
diff --git a/rust/cymbal/src/modes/notifications/config.rs b/rust/cymbal/src/modes/notifications/config.rs
index 1a22141c2042..6d1e317c9473 100644
--- a/rust/cymbal/src/modes/notifications/config.rs
+++ b/rust/cymbal/src/modes/notifications/config.rs
@@ -8,7 +8,7 @@ pub const DEFAULT_CONSUMER_TOPIC: &str = "error_tracking_ingestion_notifications
/// Consumer group for the notifications mode. Overridable via
/// `KAFKA_CONSUMER_GROUP`.
-pub const DEFAULT_CONSUMER_GROUP: &str = "error-tracking-ingestion-notifications";
+pub const DEFAULT_CONSUMER_GROUP: &str = "error_tracking_ingestion_notifications";
/// Top-level config for notifications mode. Keep this narrow: only Kafka,
/// Postgres, signal emission, and the metrics server.
@@ -26,7 +26,7 @@ pub struct NotificationsConfig {
#[envconfig(default = "postgres://posthog:posthog@localhost:5432/posthog")]
pub database_url: String,
- // Rust services connect directly to postgres, not via pgbouncer, so we keep this low.
+ // Keep this low: each Cymbal pod owns its own sqlx pool, regardless of DATABASE_URL routing.
#[envconfig(default = "4")]
pub max_pg_connections: u32,