Commit Graph

28802 Commits

Author SHA1 Message Date
Leon Sorokin
0c71fdac3d
GraphNG: uPlot 1.6.8 (#32859) 2021-04-09 18:27:14 -05:00
Piotr Jamróz
d8967b1d60
Graphite: Handle unknown Graphite functions without breaking the visual editor (#32635) 2021-04-09 23:21:53 +02:00
Ryan McKinley
b96e45299d
Live: support streaming results out-of-the-box (#32821) 2021-04-09 21:17:22 +02:00
Kyle Brandt
2d7e980da7
testData: (backend) restore null/nan in predicatable scenarios (#32855) 2021-04-09 14:23:51 -04:00
Alexander Emelin
d9602a5e60
live: cleanups and tests (#32827) 2021-04-09 21:06:25 +03:00
Leon Sorokin
0c96cbeef0
Icons: expand static cache to include all internally used icons (#32822) 2021-04-09 11:22:58 -05:00
Jennifer Villa
fd4713f4f8
Adding a sentence to the index to point people towards the "activate … (#32730)
* Adding a sentence to the index to point people towards the "activate license" page if they want to complete installation of their Grafana Enterprise installation. Also made a minor change to the two sentences before to make them more consistent.

* Made Ursula's copy changes.

* Apply suggestions from code review

Fixed relref and made copy change suggested by Jita.

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-04-09 11:21:15 -04:00
Kyle Brandt
80dfa83380
AlertingNG: Add For+Annotations to Grafana_Alert (#32793)
* add db columns
* Fix deserialisation issue of AlertRule For field (#32848)
* Update to latest alerting-api

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2021-04-09 16:50:04 +02:00
Piotr Jamróz
fa45fc1833
Graphite: Display an error message when finding metrics fails (#32639)
* Display an error when finding metrics fails

* Update public/app/plugins/datasource/graphite/query_ctrl.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* Make the level of the log message more accurate

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-04-09 16:36:08 +02:00
castillo92
7749724194
Update time-range-controls.md (#31935)
* Update time-range-controls.md

Adding more examples of relative time instructions, it could hep to newbie people to understand it.

* Apply suggestions from code review

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-04-09 10:27:38 -04:00
achatterjee-grafana
458681c424
Removed references to dev env. Added reference to Uche's blog about using WSL on Windows. (#32813) 2021-04-09 09:10:42 -04:00
Peter Holmberg
31a8413fd3
SSE: Add Classic conditions editor (#32256)
* moving expressions to components

* move expression type change to util

* rename gel to expressions

* add clasic condition component

* fix types

* incremental checkin

* button styling

* add range inputs

* some logic fixes and layout

* fix remove condition

* hide input if has no value

* typing fix
2021-04-09 14:46:24 +02:00
Gábor Farkas
13371493ae
devenv: influxdb2: updated to 2.0.4, fixed config (#32809) 2021-04-09 13:56:19 +02:00
Dimitris Sotirakis
b867ceda9b
Generic OAuth: Prevent adding duplicated users (#32286)
* Add special check for generic oauth case

* Converted from Convey to testify

* Fix according to reviewer's comments

* More changes according to reviewer's comments

* Handle error if user is not found

* Move generic oauth test from user_test.go to user_auth_test.go

* Update pkg/services/sqlstore/user_auth_test.go

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Created genericOAuthModule const

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-04-09 13:28:35 +02:00
Domas
e6a98ce1e4
Alerting: bootstrap silences page (#32810) 2021-04-09 13:44:26 +03:00
gotjosh
c9e5088e8b
Alerting: Cleanup and move legacy to a legacy file (#32803)
* Alerting: Cleanup and move legacy to a legacy file

A quick cleanup of the ngalert/api directory, optimising for an easy
removal of what is will be considered legacy at some point. A quick
summary of what's done is:

- Add a prefix `generated` prefix to files that are auto-generated by
  our swagger definitions.
- Create a legacy file to place all the legacy API routes implementation
  and helpers. Deleting files that where no longer needed after this
move.
- Rename the `lotex` file to `lotex_ruler`
- Adding a couple of comments here and there.

With this, I hope to organise our code in this directory a bit better
given there's a lot going on.
2021-04-09 05:55:41 -04:00
Arve Knudsen
51e4106d1d
API: Fix paths starting with double leading slash or slash and backslash (#32830)
* API: Fix paths starting with double leading slash or slash and backslash

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-04-09 11:49:38 +02:00
Domas
7c3a528d35
fix url query parser treating empty string as a number (#32825) 2021-04-09 11:23:08 +03:00
Harold Dost
9efaa2c13f
Fix style guide: web server (#32817) 2021-04-09 01:02:00 +02:00
Diana Payton
ba6da3d614
Docs: Single source getting started step (#32812)
* single sourcing

* Update getting-started-sql.md
2021-04-08 21:44:31 +02:00
Alexander Emelin
a92bcce9de
Live: push scope to demultiplex incoming data to stream channels (#32808) 2021-04-08 12:40:06 -07:00
Torkel Ödegaard
8f8cad9b83
Packages: Tyring to fix missing css prop issue caused by emotion (#32806) 2021-04-08 19:49:43 +02:00
Ganesh Vernekar
e3a1d3d158
AlertingNG: PagerDuty notification channel (#32604)
* AlertingNG: PagerDuty notification channel

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Add tests

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix reviews

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-04-08 19:21:09 +02:00
Ganesh Vernekar
b1c84c795f
AlertingNG: Add a global registry for notification channels (#32781)
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-04-08 22:01:23 +05:30
Marcus Olsson
f345459441
Docs: Document plugin authentication in metadata schema (#32703)
* Update plugin schema

* Fix review comments
2021-04-08 18:13:18 +02:00
Zoltán Bedi
7a2ab93e7a
Prometheus: Allow exemplars endpoint in data source proxy (#32802) 2021-04-08 18:10:59 +02:00
Dominik Prokop
deccc97985
DataLinks: Ensure window origin to be stripped from url when using absolute urls (#32634)
* Ensure window origin to be stripped from url when using absolute urls

* Update test

* Make sure link interception works for external links

* Apply suggestions from code review

* Review
2021-04-08 17:38:56 +02:00
Diana Payton
d6c824fe18
Docs: Update release-notes-7-5-3.md (#32760) 2021-04-08 08:04:58 -07:00
Uchechukwu Obasi
62ddf5b7b4
Layout: updates story from knobs to control (#32761)
* Layout: updates story from knobs to control

* exported default as meta

* removes unnecessary prop and disables knobs
2021-04-08 14:42:31 +01:00
Arve Knudsen
7032ecce2a
Server: Disambiguate redirects to server relative paths (#32788)
* Server: Disambiguate redirects to server relative paths

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-04-08 15:05:42 +02:00
Josh Hunt
21879410ab
Grafana-UI: allow pass through of monaco options (#32763) 2021-04-08 14:02:00 +01:00
dependabot[bot]
e9a27ca2ec
Chore(deps): Bump gonum.org/v1/gonum from 0.8.2 to 0.9.1 (#32568)
Bumps gonum.org/v1/gonum from 0.8.2 to 0.9.1.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 15:47:19 +03:00
Vicky Lee
59a33d98ec
DataSourceSettings: use details from HealthCheckResult (#32759)
* add custom HealthCheckError

* allow details from HealthCheckResult to be passed in the error

* pass in details.message from testing status into Alert component

* add chance

* add aria label to read only message

* update tests and add error message tests

* extract HealthCheckResultDetails type out and add comment

* extract TestingStatus interface out

* remove chance from test

* remove chance
2021-04-08 13:32:12 +01:00
gotjosh
fe67680c42
Alerting: Allow querying of Alerts from notifications (#32614)
* Alerting: Allow querying of Alerts from notifications

* Wire everything up

* Remove unused functions

* Remove duplicate line
2021-04-08 07:27:59 -04:00
Torkel Ödegaard
2f3ef69b30
Buttons: Refactor & use new theme (#32767)
* WIP button styles refactoring

* Starting to work

* Tweak form disabled color

* Emotion performance tests

* More benchmarks

* added classnames prop

* Button class names refactor test

* revert to old style generation

* Wrapping up

* Updates

* Updated tests
2021-04-08 13:00:58 +02:00
Domas
33a4cfde51
Alerting: temporarily add old ng routes (#32770) 2021-04-08 12:52:43 +03:00
sam boyer
bba4d9bd7f
Introduce "scuemata" system for CUE-based specification of Grafana objects (#32527) 2021-04-08 01:11:11 -07:00
Ryan McKinley
7351645d63
Toolkit: catch errors in version output (#32774) 2021-04-08 09:28:46 +02:00
Owen Diehl
8b8fc293b7
safer, more idiomatic proxy helper (#32732)
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
2021-04-07 15:36:50 -04:00
Torkel Ödegaard
4527f712e0
Themes: V8 Theme model (#32342)
* Updated

* Progress

* Progress

* Added spacings

* Updated rich color to be more descriptibe

* Added more to getRichColor to showcase how it would work

* Added more to getRichColor to showcase how it would work

* Updated

* Started on storybook

* Rename to palette

* Storybook progress

* Minor update

* Progress

* Progress

* removed unused import

* Updated

* Progress

* Added typography to new theme model

* Added shadows and zindex to new theme

* Updated based on last discussions

* Updated

* Rename shadows

* Moving storybook to new theme, renaming stories and moving to single category

* Updated snapshot

* Updated jsdoc state tags

* Reducing annonying errors
2021-04-07 19:13:00 +02:00
Leon Sorokin
a9e90b5088
CloudWatch: replace full query parser with regex scanner that extracts stats groups (#32610) 2021-04-07 10:58:57 -05:00
Uchechukwu Obasi
ce6e31c030
Input: updates story from knobs to control (#32712)
* Input: updates story from knobs to control

* assigned args value to a variable

* exported default as meta
2021-04-07 16:58:35 +01:00
Andrej Ocenas
0c2c52c627
Explore: correctly cleanup state on unmount (#32557) 2021-04-07 16:53:37 +02:00
Arseny Smalyuk
8e70d5d181
Add timeout option to datasource config (#31871) 2021-04-07 10:46:19 -04:00
Alexander Zobnin
7a68852aa7
Chore: move errors to enterprise (#32753) 2021-04-07 17:33:08 +03:00
Gábor Farkas
c1061d038c
Update latest.json to 7.5.3 (#32755) 2021-04-07 16:22:43 +02:00
Kyle Brandt
6395c649c8
SSE: fix casing on classic conditions model. (#32754) 2021-04-07 16:12:22 +02:00
Piotr Jamróz
0d08928981
Improve error handling for Graphite 0.9 and 1.0 (#32642) 2021-04-07 16:11:00 +02:00
Torkel Ödegaard
5e1d0a8851
Table: Fixes table data links so they refer to correct row after sorting (#32571)
* Table: Fixes table data links so they refer to correct row after sorting

* Tests: adds some basic tests incl sorting

* Refactor: removes dependeny on app

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-04-07 16:06:51 +02:00
Grot (@grafanabot)
85fed1cc0b
ReleaseNotes: Updated changelog and release notes for 7.5.3 (#32749)
* ReleaseNotes: Updated changelog and release notes for 7.5.3

* Update _index.md

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-04-07 15:31:10 +02:00