Frontend Logging: Integrate grafana javascript agent (#50801)

Add Grafana Javascript Agent integration to Grafana
This commit is contained in:
Timur Olzhabayev
2022-06-28 03:25:30 -04:00
committed by GitHub
parent 849d4a3c56
commit 7c886fb6f9
29 changed files with 1496 additions and 36 deletions
@@ -1103,6 +1103,10 @@ Syslog tag. By default, the process's `argv[0]` is used.
Sentry javascript agent is initialized. Default is `false`.
### provider
Defines which provider to use `sentry` or `grafana`. Default is `sentry`
### sentry_dsn
Sentry DSN if you want to send events to Sentry
@@ -1123,6 +1127,22 @@ Requests per second limit enforced per an extended period, for Grafana backend l
Maximum requests accepted per short interval of time for Grafana backend log ingestion endpoint, `/log`. Default is `15`.
### instrumentations_errors_enabled
Turn on error instrumentation. Only affects Grafana Javascript Agent.
### instrumentations_console_enabled
Turn on console instrumentation. Only affects Grafana Javascript Agent
### instrumentations_webvitals_enabled
Turn on webvitals instrumentation. Only affects Grafana Javascript Agent
### api_key
If `custom_endpoint` required authentication, you can set the api key here. Only relevant for Grafana Javascript Agent provider.
<hr>
## [quota]