1. 04 Dec, 2020 1 commit
    • QueryGroup & DataSourceSrv & DataSourcePicker changes simplify usage, error… · 3d6380a0
      QueryGroup & DataSourceSrv & DataSourcePicker changes simplify usage, error handling and reduce duplication, support for uid (#29542)
      
      * Starting moving more stuff into data source picker
      
      * WIP progress
      
      * Progress on datasource picker rethink
      
      * Things are working now some details to figure out
      
      * Removed commented part
      
      * Complex work on getting data source lists
      
      * Fixed variable support showing correct data sources
      
      * Tried fixing dashboard import but failed
      
      * Fixes
      
      * Fixed import dashboard
      
      * Fixed unit test
      
      * Fixed explore test
      
      * Fixed test
      
      * Fix
      
      * fixed more tests
      
      * fixed more tests
      
      * fixed showing which option is default in picker
      
      * Changed query variable to use data source picker, updated tests and e2e
      
      * Fixed more tests
      
      * Updated snapshots, had wrong typescript version
      Torkel Ödegaard committed
  2. 02 Dec, 2020 2 commits
  3. 01 Dec, 2020 2 commits
  4. 25 Nov, 2020 2 commits
  5. 18 Nov, 2020 1 commit
  6. 15 Nov, 2020 1 commit
  7. 12 Nov, 2020 1 commit
    • Logging: Log frontend errors (#28073) · 76df0967
      * 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>
      Domas committed
  8. 11 Nov, 2020 1 commit
  9. 05 Nov, 2020 1 commit
    • Disable selecting enterprise plugins with no license (#28758) · 9b90ff29
      * Add unlicensed property to plugins
      
      * Disable selecting unlicensed plugin
      
      * Add customizable plugin market place url
      
      * License: workaround enabled only in enterprise
      
      * linter
      
      * Move licensing info to front end
      
      * Update pkg/services/licensing/oss.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update pkg/services/licensing/oss.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update pkg/setting/setting.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update pkg/setting/setting.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update pkg/api/frontendsettings.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update sample.ini
      
      * Update docs
      
      * Update packages/grafana-runtime/src/config.ts
      
      Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
      
      * Update public/app/features/datasources/state/buildCategories.ts
      
      Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
      
      * Update pkg/api/frontendsettings.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update pkg/setting/setting.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix spelling
      
      Co-authored-by: Leonard Gram <leo@xlson.com>
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
      Alex Khomenko committed
  10. 22 Oct, 2020 1 commit
    • Live: support real time measurements (alpha) (#28022) · 2aafa398
      * improve reduce transformer
      
      * add measurment classes
      
      * sync with new grafana measure format
      
      * use address for live
      
      * use plural in URL
      
      * set the field name
      
      * fix build
      
      * find changes
      
      * POST http to channel
      
      * Yarn: Update lock file (#28014)
      
      * Loki: Run instant query only in Explore (#27974)
      
      * Run instant query only in Explore
      
      * Replace forEach with for loop
      
      * don't cast
      
      * Docs: Fixed row display in table (#28031)
      
      * Plugins: Let descendant plugins inherit their root's signature (#27970)
      
      * plugins: Let descendant plugins inherit their root's signature
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Registry: Fix service shutdown mode trigger location (#28025)
      
      * Add Alex Khomenko as member (#28032)
      
      * show history
      
      * fix confirm
      
      * fix confirm
      
      * add tests
      
      * fix lint
      
      * add more errors
      
      * set values
      
      * remove unrelated changes
      
      * unrelated changes
      
      * Update pkg/models/live.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update pkg/models/live.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update pkg/services/live/live.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update pkg/services/live/pluginHandler.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update pkg/services/live/pluginHandler.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update pkg/services/live/pluginHandler.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * use measurments for testdata endpoints
      
      * add live to testdata
      
      * add live to testdata
      
      * Update pkg/services/live/channel.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Apply suggestions from code review
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * update comment formats
      
      * uprevert testdata
      
      * Apply suggestions from code review
      
      Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
      Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
      Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
      
      * Apply suggestions from code review
      
      * CloudWatch: Add EC2CapacityReservations Namespace (#28309)
      
      * API: Fix short URLs (#28300)
      
      * API: Fix short URLs
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Chore: Add cloud-middleware as code owners (#28310)
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * SQLStore: Run tests as integration tests (#28265)
      
      * sqlstore: Run tests as integration tests
      
      * Truncate database instead of re-creating it on each test
      
      * Fix test description
      
      See https://github.com/grafana/grafana/pull/12129
      
      * Fix lint issues
      
      * Fix postgres dialect after review suggestion
      
      * Rename and document functions after review suggestion
      
      * Add periods
      
      * Fix auto-increment value for mysql dialect
      
      Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
      
      * Drone: Fix grafana-mixin linting (#28308)
      
      * Drone: Fix Starlark script
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * grafana-mixin: Move build logic to scripts
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Drone: Use mixin scripts
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * CI build image: Install jsonnetfmt and mixtool
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Makefile: Print commands
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * should only ignore the file in the grafana mixin root folder (#28306)
      
      Signed-off-by: bergquist <carl.bergquist@gmail.com>
      
      * fix: for graph size not taking up full height or width
      
      * Graph NG: fix toggling queries and extract Graph component from graph3 panel (#28290)
      
      * Fix issue when data and config is not in sync
      
      * Extract GraphNG component from graph panel and add some tests coverage
      
      * Update packages/grafana-ui/src/components/uPlot/hooks.test.ts
      
      * Update packages/grafana-ui/src/components/uPlot/hooks.test.ts
      
      * Update packages/grafana-ui/src/components/uPlot/hooks.test.ts
      
      * Fix grid color and annotations refresh
      
      * Drone: Use ${DRONE_TAG} in release pipelines, since it should work (#28299)
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Explore: respect min_refresh_interval (#27988)
      
      * Explore: respect min_refresh_interval
      
      Fixes #27494
      
      * fixup! Explore: respect min_refresh_interval
      
      * fixup! Explore: respect min_refresh_interval
      
      * UI: export defaultIntervals from refresh picker
      
      * fixup! Explore: respect min_refresh_interval
      
      Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
      
      * Loki: Base maxDataPoints limits on query type (#28298)
      
      * Base maxLines and maxDataPoints based on query type
      
      * Allow overriding the limit to higher value
      
      * Bump tree-kill from 1.2.1 to 1.2.2 (#27405)
      
      Bumps [tree-kill](https://github.com/pkrumins/node-tree-kill) from 1.2.1 to 1.2.2.
      - [Release notes](https://github.com/pkrumins/node-tree-kill/releases)
      - [Commits](https://github.com/pkrumins/node-tree-kill/compare/v1.2.1...v1.2.2)
      
      Signed-off-by: dependabot[bot] <support@github.com>
      
      Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      
      * Bump handlebars from 4.4.3 to 4.7.6 (#27416)
      
      Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.3 to 4.7.6.
      - [Release notes](https://github.com/wycats/handlebars.js/releases)
      - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
      - [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.3...v4.7.6)
      
      Signed-off-by: dependabot[bot] <support@github.com>
      
      Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      
      * Build(deps): Bump http-proxy from 1.18.0 to 1.18.1 (#27507)
      
      Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1.
      - [Release notes](https://github.com/http-party/node-http-proxy/releases)
      - [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1)
      
      Signed-off-by: dependabot[bot] <support@github.com>
      
      Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      
      * Automation: Add backport github action (#28318)
      
      * BackendSrv: Fixes queue countdown when unsubscribe is before response (#28323)
      
      * GraphNG: Use AxisSide enum (#28320)
      
      * IssueTriage: Needs more info automation and messages (#28137)
      
      * IssueTriage: Needs more info automation and messages
      
      * Updated
      
      * Updated
      
      * Updated wording
      
      * SAML: IdP-initiated SSO docs (#28280)
      
      * SAML: IdP-initiated SSO docs
      
      * Update docs/sources/enterprise/saml.md
      
      Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
      
      * Apply suggestions from code review
      
      Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
      
      Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
      
      * Loki: Run instant query only when doing metric query (#28325)
      
      * Run instant query only when doing metric query
      
      * Update public/app/plugins/datasource/loki/datasource.ts
      
      Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
      
      Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
      
      * Automation: Tweaks to more info message (#28332)
      
      * AlertingNG: remove warn/crit from eval prototype (#28334)
      
      and misc cleanup
      
      * area/grafana/toolkit: update e2e docker image (#28335)
      
      * add xvfb to image
      
      * comment out toolkit inclusion
      
      * add latest tag
      
      * update packages for cypress
      
      * cleanup script
      
      * Update auth-proxy.md (#28339)
      
      Fix a minor grammar mistake: 'handling' to 'handle'.
      
      * Git: Create .gitattributes for windows line endings (#28340)
      
      With this set, Windows users will have text files converted from Windows style line endings (\r\n) to Unix style line endings (\n) when they’re added to the repository.
      https://www.edwardthomson.com/blog/git_for_windows_line_endings.html
      
      * Docs: Add docs for valuepicker (#28327)
      
      * Templating: Replace all '$tag' in tag values query (#28343)
      
      * Docs: Add missing records from grafana-ui 7.2.1 CHANGELOG (#28302)
      
      * Dashboard links: Places drop down list so it's always visible (#28330)
      
      * calculating whether to place the list on the right or left edge of the parent
      
      * change naming and add import of createRef
      
      * Automation: Update backport github action trigger (#28352)
      
      It seems like GitHub has solved the problem of running github actions on PRs from forks with access to secrets. 
      
      https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/#improvements-for-public-repository-forks
      
      If I change the event that triggers it to pull_request_target the action is run in the context of the base instead of the merged PR branch
      
      * ColorSchemes: Adds more color schemes and text colors that depend on the background (#28305)
      
      * Adding more color modes and text colors that depend on the background color
      
      * Updates
      
      * Updated
      
      * Another big value fix
      
      * Fixing unit tests
      
      * Updated
      
      * Updated test
      
      * Update
      
      * Updated
      
      * Updated
      
      * Updated
      
      * Updated
      
      * Added new demo dashboard
      
      * Updated
      
      * updated
      
      * Updated
      
      * Updateed
      
      * added beta notice
      
      * Fixed e2e test
      
      * Fix typos
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * revert pseduo code
      
      * apply feedback
      
      * remove HTTP for now
      
      * fix backend test
      
      * change to datasource
      
      * clear input for streams
      
      * fix docs?
      
      * consistent measure vs measurements
      
      * better jsdocs
      
      * fix a few jsdoc errors
      
      * fix comment style
      
      * Remove commented out code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Clean up code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Clean up code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Clean up code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Clean up code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Clean up code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Clean up code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Clean up code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Update pkg/models/live.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix build
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * set the stringField
      
      Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
      Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
      Co-authored-by: ozhuang <ozhuang.95@gmail.com>
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      Co-authored-by: Amos Law <ahlaw.dev@gmail.com>
      Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
      Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
      Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
      Co-authored-by: The Rock Guy <fabian.bracco@gvcgroup.com.au>
      Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
      Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
      Co-authored-by: Carl Bergquist <carl@grafana.com>
      Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
      Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
      Co-authored-by: Elliot Pryde <elliot.pryde@elliotpryde.com>
      Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
      Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
      Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
      Co-authored-by: Kyle Brandt <kyle@grafana.com>
      Co-authored-by: Brian Gann <briangann@users.noreply.github.com>
      Co-authored-by: J-F-Far <joel.f.farthing@gmail.com>
      Co-authored-by: acoder77 <73009264+acoder77@users.noreply.github.com>
      Co-authored-by: Peter Holmberg <peterholmberg@users.noreply.github.com>
      Co-authored-by: Krzysztof Dąbrowski <krzysdabro@live.com>
      Co-authored-by: maknik <mooniczkam@gmail.com>
      Ryan McKinley committed
  11. 14 Oct, 2020 3 commits
  12. 12 Oct, 2020 1 commit
    • AlertingNG: POC of evaluator under feature flag. (#27922) · 4acbcd70
      * New feature toggle for enabling alerting NG
      
      * Initial commit
      
      * Modify evaluate alert API request
      
      * Check for unique labels in alert execution result dataframes
      
      * Remove print statement
      
      * Additional minor fixes/comments
      
      * Fix lint issues
      
      * Add API endpoint for evaluating panel queries
      
      * Push missing renaming
      
      * add refId for condition to API
      
      * add refId for condition to API
      
      * switch dashboard based eval to get method
      
      * add from/to params to dashboard based eval
      
      * add from/to params to  eval endpoint
      
      Co-authored-by: kyle <kyle@grafana.com>
      Sofia Papagiannaki committed
  13. 08 Oct, 2020 1 commit
    • Auth: Add Sigv4 auth option to datasources (#27552) · 7d63b2c4
      * create transport chain
      
      * add frontend
      
      * remove log
      
      * inline field updates
      
      * allow ARN, Credentials + Keys auth in frontend
      
      * configure credentials
      
      * add tests and refactor
      
      * update frontend json field names
      
      * fix tests
      
      * fix comment
      
      * add app config flag
      
      * refactor tests
      
      * add return field for tests
      
      * add flag for UI display
      
      * update comment
      
      * move logic
      
      * fix config
      
      * pass config through props
      
      * update docs
      
      * pr feedback and add docs coverage
      
      * shorten settings filename
      
      * fix imports
      
      * revert docs changes
      
      * remove log line
      
      * wrap up next as round tripper
      
      * only propagate required config
      
      * remove unused import
      
      * remove ARN option and replace with default chain
      
      * make ARN role assume as supplemental
      
      * update docs
      
      * refactor flow
      
      * sign body when necessary
      
      * remove unnecessary wrapper
      
      * remove newline
      
      * Apply suggestions from code review
      
      * PR fixes
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      Will Browne committed
  14. 05 Oct, 2020 1 commit
  15. 01 Oct, 2020 1 commit
    • Prometheus: refactor to DataFrame (#27737) · a230aa10
      * Add typing to prometheus response
      
      * Refactor result_transformer to return DataFrame
      
      * Refactor + test fixes
      
      * Fix Prometheus data source test
      
      * Modify heatmap function + add back tests
      
      * Update performInstantQuery return type
      
      * Remove duplicate code from result_transformer
      
      * Address review comments
      
      * Update metric labels retrival logic to be safer
      Zoltán Bedi committed
  16. 23 Sep, 2020 1 commit
  17. 22 Sep, 2020 1 commit
  18. 11 Sep, 2020 2 commits
  19. 07 Sep, 2020 1 commit
    • System: Date formating options (#27216) · 61bd33c2
      * Add support for local time formats in graph panel
      
      * Enfore 24h format for backward compatibility
      
      * Use existing Intl.DateTimeFormatOptions
      
      * Pre-generate time scale, add tests
      
      * Move localTimeFormat, add local format to units
      
      * updated default fallback
      
      * #25602, use navigator.languages to enforce locale in formatting
      
      * Making options
      
      * Worked new system settings
      
      * things are working
      
      * Local browser time formats working
      
      * Support parsing dates in different formats
      
      * settings updated
      
      * Settings starting to work
      
      * Fixed graph issue
      
      * Logs fix
      
      * refactored settings a bit
      
      * Updated and name change
      
      * Progress
      
      * Changed config names
      
      * Updated
      
      * Updated
      
      * Updated test
      
      * Synced description
      
      * fixed ts issue
      
      * Added version notice
      
      * Ts fix
      
      * Updated heatmap and test
      
      * Updated snapshot
      
      * Updated
      
      * fixed ts issue
      
      * Fixes
      
      Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
      Torkel Ödegaard committed
  20. 04 Sep, 2020 1 commit
  21. 03 Sep, 2020 1 commit
  22. 20 Aug, 2020 1 commit
    • BackendSrv: Queues data source requests but passes through api requests (#26947) · 9e357d84
      * Refactor: initial commit
      
      * wip
      
      * Refactor: getting into a simpler model
      
      * Refactor: adds some comments
      
      * Refactor: renames statuses according to PR comments
      
      * Refactor: adds more comments
      
      * Tests: adds tests for FetchQueue
      
      * Tests: adds tests for ResponseQueue
      
      * Tests: adds tests for FetchQueueWorker
      
      * Tests: simplified the tests for ResponseQueue
      
      * Refactor: adds http2 scenario
      
      * Refactor: using Cfg instead of global variable
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Refactor: reverted change in frontendsettings.go
      
      * Tests: fix test mocks
      
      * Fix: changes how cfg.Protocol gets its value
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      Hugo Häggmark committed
  23. 10 Aug, 2020 1 commit
  24. 27 Jul, 2020 1 commit
  25. 13 Jul, 2020 1 commit
  26. 09 Jul, 2020 1 commit
    • DataSourceWithBackend: Switch to new Observable fetch api (#26043) · 2191fe12
      * BackendSrv: Observable all the way POC
      
      * starting to unify code paths
      
      * tests pass
      
      * Unified error handling
      
      * Single request path and error handling
      
      * Fixed ts issue
      
      * another ts issu
      
      * Added back old requestId cancellation
      
      * Slow progress trying to grasp the full picture of cancellation
      
      * Updates
      
      * refactoring
      
      * Remove a bunch of stuff from backendSrv
      
      * Removed another function
      
      * Do not show error alerts for data queries
      
      * Muu
      
      * Updated comment
      
      * DataSourceWithBackend: Switch to new Observable fetch api
      
      * fixed ts issue
      
      * unify request options type
      
      * Made query inspector subscribe to backendSrv stream instead of legacy app events
      
      * Add back support for err.isHandled to limit scope
      
      * never show success alerts
      
      * Updated tests
      
      * use ovservable in test
      
      * remove processResponse
      
      * remove processResponse
      
      * trying to get tests to pass :(
      
      * no need for the extra tests
      
      * Fixed processsing
      
      * Fixed tests
      
      * Updated tests to mock fetch call
      
      * lint fixes
      
      Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
      Torkel Ödegaard committed
  27. 08 Jul, 2020 2 commits
  28. 07 Jul, 2020 1 commit
    • BackendSrv: Cancellable requests & Observable all the way (#25746) · 81e955e6
      * BackendSrv: Observable all the way POC
      
      * starting to unify code paths
      
      * tests pass
      
      * Unified error handling
      
      * Single request path and error handling
      
      * Fixed ts issue
      
      * another ts issu
      
      * Added back old requestId cancellation
      
      * Slow progress trying to grasp the full picture of cancellation
      
      * Updates
      
      * refactoring
      
      * Remove a bunch of stuff from backendSrv
      
      * Removed another function
      
      * Do not show error alerts for data queries
      
      * Muu
      
      * Updated comment
      
      * fixed ts issue
      
      * unify request options type
      
      * Made query inspector subscribe to backendSrv stream instead of legacy app events
      
      * Add back support for err.isHandled to limit scope
      
      * never show success alerts
      
      * Updated tests
      
      * Fixing tests
      
      * Minor weak
      
      * Improved logic for the showErrorAlert and showSuccessAlert boolean flags, now they work more logically
      
      * Fix issue
      Torkel Ödegaard committed
  29. 25 Jun, 2020 1 commit
  30. 22 Jun, 2020 1 commit
  31. 18 Jun, 2020 3 commits