mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Logging: rate limit fronted logging endpoint (#29272)
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
This commit is contained in:
@@ -882,6 +882,8 @@ Enable daily rotation of files, valid options are `false` or `true`. Default is
|
||||
|
||||
Maximum number of days to keep log files. Default is `7`.
|
||||
|
||||
<hr>
|
||||
|
||||
## [log.syslog]
|
||||
|
||||
Only applicable when "syslog" used in `[log]` mode.
|
||||
@@ -908,6 +910,34 @@ Syslog tag. By default, the process's `argv[0]` is used.
|
||||
|
||||
<hr>
|
||||
|
||||
## [log.frontend]
|
||||
|
||||
### enabled
|
||||
|
||||
Sentry javascript agent is initialized. Default is `false`.
|
||||
|
||||
### sentry_dsn
|
||||
|
||||
Sentry DSN if you want to send events to Sentry
|
||||
|
||||
### custom_endpoint
|
||||
|
||||
Custom HTTP endpoint to send events captured by the Sentry agent to. Default, `/log`, will log the events to stdout.
|
||||
|
||||
### sample_rate
|
||||
|
||||
Rate of events to be reported between `0` (none) and `1` (all, default), float.
|
||||
|
||||
### log_endpoint_requests_per_second_limit
|
||||
|
||||
Requests per second limit enforced per an extended period, for Grafana backend log ingestion endpoint, `/log`. Default is `3`.
|
||||
|
||||
### log_endpoint_burst_limit
|
||||
|
||||
Maximum requests accepted per short interval of time for Grafana backend log ingestion endpoint, `/log`. Default is `15`.
|
||||
|
||||
<hr>
|
||||
|
||||
## [quota]
|
||||
|
||||
Set quotas to `-1` to make unlimited.
|
||||
|
||||
Reference in New Issue
Block a user