Skip to content

Commit

Permalink
Format config docs, and fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
zalegrala committed Nov 8, 2021
1 parent 45c3c9f commit 9cf9b2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/tempo/website/configuration/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,8 @@ memberlist:
```

## Overrides
Tempo provides a overrides module for user to set global or per-tenant override settings.

Tempo provides an overrides module for users to set global or per-tenant override settings.
**Currenly only ingestion limits can be overridden.**

### Ingestion limits
Expand Down
2 changes: 1 addition & 1 deletion modules/overrides/overrides.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func (o *Overrides) MaxSearchBytesPerTrace(userID string) int {
// IngestionRateLimitBytes is the number of spans per second allowed for this tenant.
func (o *Overrides) IngestionRateLimitBytes(userID string) float64 {
x := float64(o.getOverridesForUser(userID).IngestionRateLimitBytes)
metricOverridesLimits.WithLabelValues("ingestion_rate_limit_bytes", userID).Set(float64(x))
metricOverridesLimits.WithLabelValues("ingestion_rate_limit_bytes", userID).Set(x)
return x
}

Expand Down

0 comments on commit 9cf9b2a

Please sign in to comment.