mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
fix(observability): avoid sending tons of data to Grafana (#7536)
This commit is contained in:
parent
b4f05cf5eb
commit
22a2350e1f
2 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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%
|
||||
|
|
|
|||
Loading…
Reference in a new issue