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:
Domas
2020-12-09 17:22:24 +02:00
committed by GitHub
parent 924212b42b
commit 7d9a528184
8 changed files with 168 additions and 9 deletions

View File

@@ -555,18 +555,24 @@
;tag =
[log.frontend]
# Should Sentry be initialized
# Should Sentry javascript agent be initialized
;enabled = false
# Sentry DSN if you wanna send events to Sentry. In this case, set custom_endpoint to empty
# Sentry DSN if you want to send events to Sentry.
;sentry_dsn =
# Custom endpoint to send Sentry events to. If this is configured, DSN will be ignored and events push to this endpoint. Default endpoint will log frontend errors to stdout.
# Custom HTTP endpoint to send events captured by the Sentry agent to. Default will log the events to stdout.
;custom_endpoint = /log
# Rate of events to be reported between 0 (none) and 1 (all), float
;sample_rate = 1.0
# Requests per second limit enforced an extended period, for Grafana backend log ingestion endpoint (/log).
;log_endpoint_requests_per_second_limit = 3
# Max requests accepted per short interval of time for Grafana backend log ingestion endpoint (/log).
;log_endpoint_burst_limit = 15
#################################### Usage Quotas ########################
[quota]
; enabled = false