Timur Olzhabayev
008c554d7f
Echo: Add config option to prevent duplicate page views for GA4 ( #57619 )
2022-11-09 15:09:19 +01:00
Timur Olzhabayev
228ec4c0f3
Chore: Switch Grafana to using faro libraries ( #58186 )
2022-11-08 10:36:27 +01:00
Ashley Harrison
d2a70bc42d
Chore: more any/type assertion improvements ( #57450 )
...
* more friday any/type assertion improvements
* Apply suggestions from code review
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
* Update public/app/angular/promiseToDigest.test.ts
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2022-10-25 11:04:35 +02:00
Josh Hunt
d52ab5de2e
EchoSrv: Remove $.ajax for loading scripts ( #56678 )
...
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/backends/analytics/RudderstackBackend.ts
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/backends/analytics/ApplicationInsightsBackend.ts
* user essentials mob! 🔱
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-10-11 11:11:23 +01:00
Virginia Cepeda
27f022283d
JS Agent: remove user email and add session id ( #55767 )
2022-09-27 08:59:32 -03:00
Josh Hunt
070d44802f
Chore: Type Rudderstack and AppInsights window APIs ( #55162 )
...
* Chore: Type Rudderstack and AppInsights window APIs
* remove rudder sdk to dev deps
2022-09-20 10:06:31 -04:00
Josh Hunt
d014a3a09b
Echo: Add support for Google Analytics 4 ( #55446 )
...
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts
* user essentials mob! 🔱
lastFile:public/app/app.ts
* user essentials mob! 🔱
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Leodegario Pasakdal <leodegario.pasakdal@grafana.com>
2022-09-20 03:13:14 -07:00
Domas
9dd4eab553
ignore non-actionable errors in grafana agent ( #54824 )
2022-09-08 16:19:38 +03:00
Ivan Ortega Alba
38c690ecb0
Revert "Analytics: Use Fullstory to get behavioral data ( #53732 )" ( #53762 )
...
This reverts commit 961479b111
.
2022-08-16 12:45:14 +02:00
Ivan Ortega Alba
961479b111
Analytics: Use Fullstory to get behavioral data ( #53732 )
2022-08-16 10:32:00 +02:00
Alex Ratner
fecf4c41ad
Dashboard: Spelling corrections in end-user visible dialogs ( #53340 )
2022-08-09 10:19:30 +02:00
Ashley Harrison
f1295e4bd0
Chore: Update version of @grafana/eslint-config
( #53403 )
...
* use let/const over var
* use new version of @grafana/eslint-config
2022-08-08 15:19:15 +01:00
renovate[bot]
290b2e1ed0
Update grafana monorepo to v0.4.0 ( #52805 )
...
* Update grafana monorepo to v0.4.0
* update mock
* actually mock...
* typescript is hard...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-07-27 09:21:13 +01:00
Timur Olzhabayev
7c886fb6f9
Frontend Logging: Integrate grafana javascript agent ( #50801 )
...
Add Grafana Javascript Agent integration to Grafana
2022-06-28 03:25:30 -04:00
Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
Josh Hunt
1b27e55e5a
Analytics: Identify users to Rudderstack by externalUserId where available ( #47325 )
...
* wip
* tests
* move util, fix test
* fixes
* Update public/app/core/services/echo/utils.ts
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2022-04-05 17:41:22 +02:00
renovate[bot]
dd2a952c29
Update sentry-javascript monorepo to v6.19.1 ( #46799 )
...
* Update sentry-javascript monorepo to v6.19.1
* fix breaking change
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Domas <domasx2@gmail.com>
2022-03-22 16:06:53 +01:00
Ashley Harrison
378ce15418
Stub console.warn ( #45311 )
2022-02-11 14:56:25 +00:00
renovate[bot]
d87cd6f26c
Update dependency prettier to v2.5.1 ( #43473 )
...
* Update dependency prettier to v2.5.1
* prettier fixes
* chore(toolkit): bump prettier to 2.5.1
* style(eslint): bump grafana config to 2.5.2 in core and toolkit
* style(mssql-datasource): fix no-inferrable-types eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-02-02 12:02:32 +00:00
renovate[bot]
793e3d3556
Update sentry-javascript monorepo to v6.17.2 ( #44364 )
...
* Update sentry-javascript monorepo to v6.17.2
* update Sentry transport impl to be compat with latest sentry
* kick drone
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Domas <domasx2@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-01-31 16:51:09 +00:00
Agnès Toulet
99cdb56f72
Analytics: add experimentview events ( #44120 )
...
* Analytics: add experimentview event
* remove ref to feature-highlights
* Experimentview -> ExperimentView
2022-01-19 11:07:18 +01:00
Dan Cech
34f757ba5a
switch to using featureEnabled for enterprise features ( #41559 )
...
* switch to using featureEnabled for enterprise features
2022-01-07 15:11:23 -05:00
Erin Noe-Payne
4d5e39abff
Analytics: Add user id tracking to google analytics ( #42763 )
2021-12-06 16:34:19 +01:00
William Assis
eab0ba8716
Analytics: RudderStack custom URLs to fetch SDK and Config ( #41988 )
...
* Add config options to provide custom URL to fetch Rudderstack SDK and Config
* Add new entries to defaults.ini
* Update docs
2021-12-06 09:42:29 -05:00
renovate[bot]
0ab4afa2b7
Update sentry-javascript monorepo to v6 ( #41991 )
...
* Update sentry-javascript monorepo to v6
* Pass fetch implementation to FetchTransport and stub in unit tests
* kick drone
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-23 15:59:32 +00:00
Domas
a531c6e26f
frontend logging fixes ( #39946 )
2021-10-18 14:34:31 +03:00
dependabot[bot]
03804fb4b9
Bump @sentry/utils from 5.24.2 to 6.13.2 ( #39932 )
...
* Bump @sentry/utils from 5.24.2 to 6.13.2
Bumps [@sentry/utils](https://github.com/getsentry/sentry-javascript ) from 5.24.2 to 6.13.2.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.24.2...6.13.2 )
---
updated-dependencies:
- dependency-name: "@sentry/utils"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Chore: fix type checks by updating buffer.add to add a function instead of a promise
* kick drone
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-10-04 15:43:23 +01:00
Erik Sundell
db8c9122aa
add support for interaction events ( #39752 )
2021-09-29 10:41:16 +02:00
Erik Sundell
9d3f4f5983
Analytics: Instrument Azure Application Insights ( #38553 )
...
* add backend
* read config and pass to backend
* update config docs
* change var name
* use connection string instead of instrumentation key
* add config for endpoint url. update docs
* update default ini
* add spaces
* remove space
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update conf/defaults.ini
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update conf/defaults.ini
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-09-15 13:00:38 +02:00
Ole Ernst
c0d6fc0255
avoid duplicate log in development environment ( #36609 )
...
avoid logging performance metrics in production environment
2021-08-18 19:45:54 +02:00
Dominik Prokop
421f5040ec
User analytics: Use user email as Rudderstack id ( #36788 )
2021-07-15 12:28:13 +02:00
Dominik Prokop
663a8935f7
User analytics: Add Rudderstack integration ( #36567 )
...
* Replace analytics service with Echo backend
* Add Rudderstack integration and general pageview and interaction Echo events
* Update conf/defaults.ini
Co-authored-by: Dan Cech <dcech@grafana.com>
* Update packages/grafana-runtime/src/types/analytics.ts
Co-authored-by: Dan Cech <dcech@grafana.com>
* Update conf/defaults.ini
Co-authored-by: Dan Cech <dcech@grafana.com>
* Update tests
* Force cla check
Co-authored-by: Dan Cech <dcech@grafana.com>
2021-07-09 11:45:25 +02:00
Torkel Ödegaard
d42a5b2561
FrontendMetrics: Adds new backend api that frontend can use to push frontend measurements and counters to prometheus ( #32593 )
...
* FrontendMetrics: Adds new backend api that frontend can use to push frontend measurements and counters to prometheus
* FrontendMetrics: Adds new backend api that frontend can use to push frontend measurements and counters to prometheus
* Fix naming
* change to histogram
* Fixed go lint
2021-04-01 20:04:02 +02:00
Torkel Ödegaard
56ef7c4a4c
DataSourceSettings: Adds info box and link to Grafana Cloud ( #30891 )
...
* Updated
* DataSourceSettings: Adds info box and link to Grafana Cloud
* Updated wording
* Less words
* use variables
* Fixing ts issues
* fixed import
2021-02-04 11:12:20 +01:00
Torkel Ödegaard
1d689888b0
Prettier: Upgrade to 2 ( #30387 )
...
* Updated package json but not updated source files
* Update eslint plugin
* updated files
2021-01-20 07:59:48 +01:00
Domas
7d9a528184
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>
2020-12-09 16:22:24 +01:00
kay delaney
56db402d0f
Chore: Upgrade typescript to 4.1 ( #29493 )
...
* Chore: Upgrade typescript to 4.1
2020-12-03 15:05:59 +00:00
Domas
76df096791
Logging: Log frontend errors ( #28073 )
...
* basic frontend Sentry integration
* backend endpoint to capture sentry events
* WIP!
* log user email for frontend logs
* remove debug logging
* lint fixes
* Fix type exports & property names
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* additional struct naming fix
* rename log endpoint, config section & interface
* add sentry sample rate to config
* refac to use EchoSrv
* log user id
* backend tests
* tests for SentryEchoBackend
* sentry echo backend tests
* CustomEndpointTransport tests
* Update pkg/api/frontend_logging_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update conf/defaults.ini
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/api/frontend_logging_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* don't export unnecesasrily
* update go.sum
* get rid of Convey in tests, use stdlib
* add sentry config to sample.ini
* cleanup to set orig logging handler in test
* Apply suggestions from code review
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* PR feedback changes
* lock sentry version
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-12 12:29:43 +01:00
kay delaney
1391575853
Chore: Removes some unneeded console logging and changes logs to errors ( #26235 )
2020-07-10 15:07:04 +01:00
kay delaney
cf2cc71393
Chore: Remove angular dependency from backendSrv ( #20999 )
...
* Chore: Remove angular dependency from backendSrv
* Refactor: Naive soultion for logging out unauthorized users
* Refactor: Restructures to different streams
* Refactor: Restructures datasourceRequest
* Refactor: Flipped back if statement
* Refactor: Extracted getFromFetchStream
* Refactor: Extracts toFailureStream operation
* Refactor: Fixes issue when options.params contains arrays
* Refactor: Fixes broken test (but we need a lot more)
* Refactor: Adds explaining comments
* Refactor: Adds latest RxJs version so cancellations work
* Refactor: Cleans up the takeUntil code
* Refactor: Adds tests for request function
* Refactor: Separates into smaller functions
* Refactor: Adds last error tests
* Started to changed so we require getBackendSrv from the @grafana-runtime when applicable.
* Using the getBackendSrv from @grafana/runtime.
* Changed so we use the getBackendSrv from the @grafana-runtime when possible.
* Fixed so Server Admin -> Orgs works again.
* Removed unused dependency.
* Fixed digest issues on the Server Admin -> Users page.
* Fix: Fixes digest problems in Playlists
* Fix: Fixes digest issues in VersionHistory
* Tests: Fixes broken tests
* Fix: Fixes digest issues in Alerting => Notification channels
* Fixed digest issues on the Intive page.
* Fixed so we run digest after password reset email sent.
* Fixed digest issue when trying to sign up account.
* Fixed so the Server Admin -> Edit Org works with backendSrv
* Fixed so Server Admin -> Users works with backend srv.
* Fixed digest issues in Server Admin -> Orgs
* Fix: Fixes digest issues in DashList plugin
* Fixed digest issues on Server Admin -> users.
* Fix: Fixes digest issues with Snapshots
* Fixed digest issue when deleting a user.
* Fix: Fixes digest issues with dashLink
* Chore: Changes RxJs version to 6.5.4 which includes the same cancellation fix
* Fix: Fixes digest issue when toggling folder in manage dashboards
* Fix: Fixes bug in executeInOrder
* Fix: Fixes digest issue with CreateFolderCtrl and FolderDashboardsCtrl
* Fix: Fixes tslint error in test
* Refactor: Changes default behaviour for emitted messages as before migration
* Fix: Fixes various digest issues when saving, starring or deleting dashboards
* Fix: Fixes digest issues with FolderPickerCtrl
* Fixed digest issue.
* Fixed digest issues.
* Fixed issues with angular digest.
* Removed the this.digest pattern.
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>
2020-01-21 10:08:07 +01:00
Dominik Prokop
178bb1d3ab
Echo: mechanism for collecting custom events lazily ( #20365 )
...
* Introduce Echo for collecting frontend metrics
* Update public/app/core/services/echo/Echo.ts
Co-Authored-By: Peter Holmberg <peterholmberg@users.noreply.github.com>
* Custom meta when adding event
* Rename consumer to backend
* Remove buffer from Echo
* Minor tweaks
* Update package.json
* Update public/app/app.ts
* Update public/app/app.ts
* Collect paint metrics when collecting tti. Remove echoBackendFactory
* Update yarn.lock
* Move Echo interfaces to runtime
* progress on meta and echo
* Collect meta analytics events
* Move MetaanalyticsBackend to enterprise repo
* Fixed unit tests
* Removed unused type from test
* Fixed issues with chunk loading (reverted index-template changes)
* Restored changes
* Fixed webpack prod
2019-12-05 08:30:39 +01:00