Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

chore(meterreporter): document jitter config in example.yaml (#11482)

Karan Balani7b892ee1fcaa
diff --git a/conf/example.yaml b/conf/example.yaml
index 3a242c2972..01de105c5c 100644
--- a/conf/example.yaml
+++ b/conf/example.yaml
@@ -445,7 +445,12 @@ authz:
##################### Meter Reporter #####################
meterreporter:
- # The interval between collection ticks. Minimum 5m.
+ # The interval between collection ticks. Minimum 10m, maximum 24h.
interval: 6h
# Whether to backfill sealed days from the license creation day.
backfill: true
+ # Random jitter applied to the first collect and to every subsequent cycle.
+ # The first collect fires at a random time in [0, jitter); each cycle then takes
+ # interval - random(0, jitter). Must be between 10m and interval. Defaults to
+ # min(interval, 2h) when unset.
+ jitter: 2h
diff --git a/pkg/meterreporter/config.go b/pkg/meterreporter/config.go
index 795e150c08..522b611bfe 100644
--- a/pkg/meterreporter/config.go
+++ b/pkg/meterreporter/config.go
@@ -21,7 +21,7 @@ type Config struct {
// Start() and to every subsequent cycle. The first fire happens at a
// random time in [0, Jitter); each subsequent cycle takes
// Interval - random(0, Jitter). Negative (the default) means "derive
- // from Interval" via ResolvedJitter, so the value scales with whatever
+ // from Interval" via NewJitter, so the value scales with whatever
// Interval the user picks.
Jitter time.Duration `mapstructure:"jitter"`
}