fix(observability): avoid sending tons of data to Grafana (#7536)

This commit is contained in:
Dotan Simha 2026-01-23 15:19:24 +02:00 committed by GitHub
parent b4f05cf5eb
commit 22a2350e1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -60,6 +60,7 @@ export function deployUsage({
availabilityOnEveryNode: true,
env: {
...environment.envVars,
LOG_LEVEL: 'info',
SENTRY: sentry.enabled ? '1' : '0',
REQUEST_LOGGING: '0',
KAFKA_BUFFER_SIZE: kafka.config.bufferSize,

View file

@ -80,6 +80,10 @@ export class Redis {
name: 'REDIS_EXPORTER_LOG_FORMAT',
value: 'json',
},
{
name: 'REDIS_EXPORTER_STREAMS_EXCLUDE_CONSUMER_METRICS',
value: 'true',
},
];
const memoryInBytes = memoryParser(input.limits.memory) * 0.9; // Redis recommends 80%