Jack Westbrook
907d7b71dc
docs(piechart): refactor story to use controls ( #33696 )
2021-05-04 17:01:47 +02:00
Uchechukwu Obasi
43fd829565
FormField: removes theme model since its not used in styles ( #33632 )
2021-05-04 15:46:32 +01:00
Peter Holmberg
0006765a40
Alerting: Run queries ( #33423 )
...
* alertingqueryrunner first edition
* added so we always set name and uid when changing datasource.
* wip.
* wip
* added support for canceling requests.
* util for getting time ranges for expression queries
* remove logs, store data in state
* added structure for marble testing.
* change so the expression buttons doesnt submit form.
* fixed run button.
* replaced mocks with implementation that will set default query + expression.
* fixed so we set a datasource name for the default expression rule.
* improving expression guard.
* Update public/app/features/alerting/components/AlertingQueryEditor.tsx
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* fixed some nits.
* some refactoring after feedback.
* use grafanthemev2
* rename grafanatheme
* fixing so we convert to correct relative time range.
* added some more tests.
* fixing so duplicating query works.
* added some more tests without marbles.
* small refactoring to share code between runRequest and alerting query runner.
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-05-04 16:31:25 +02:00
Bogdan Matei
9510c4f112
Alerting: Add alerting routes ( #33179 )
...
* Add amroutes
* Update table
* Recompute items when prop changes
* Update styling
* Updates
* Improvements
* Remove unnecessary line
* Updates
* Updates
* Improve code
* Add empty area component
* Move panel from root route to specific routing
* Update from master
* Update theme
* Implement save
* Fixes for PR review
* receiver -> contact point
* Fixes for PR review
* Fixes
* Add basic test
Co-authored-by: Domas <domasx2@gmail.com>
2021-05-04 16:57:11 +03:00
Arve Knudsen
75b9018464
CI: Lint backend after testing, to catch build failures early ( #33622 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-04 15:05:39 +02:00
Hugo Häggmark
810ece57bd
Chore: Adds better logging and longer timeout threshold ( #33690 )
2021-05-04 14:23:26 +02:00
Hugo Häggmark
c6d4d14a89
LibraryPanels: Adds folder filter to manage library panel page ( #33560 )
...
* LibraryPanels: Adds folder filter
* Refactor: Adds folder filter to library search
* Refactor: splits huge function into smaller functions
* LibraryPanels: Adds Panels Page to Manage Folder tabs (#33618 )
* Chore: adds tests to LibraryPanelsSearch
* Refactor: Adds reducer and tests
* Chore: changes GrafanaThemeV2
* Refactor: pulls everything behind the feature toggle
* Chore: removes clear icon from FolderFilter
* Chore: adds filter to SortPicker
* Refactor: using useAsync instead
2021-05-04 13:59:40 +02:00
Ganesh Vernekar
918552d34b
NGAlert: Send list of available ngalert notification channels via API ( #33489 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-05-04 13:58:39 +02:00
Torkel Ödegaard
ab872612ce
RadioButtonGroup: Change background to background.primary ( #33678 )
2021-05-04 13:42:59 +02:00
Torkel Ödegaard
a62bfba63b
Alerting: Updates the new alerting rule table to use new theme ( #33684 )
2021-05-04 13:38:01 +02:00
Torkel Ödegaard
b62e87f753
TimeSeries: Render thresholds as lines and areas ( #33357 )
...
* TimeSeries: First take on uplot thresholds rendering
* Updating theme for color picker and fixing issues
* Updating theme for color picker and fixing issues
* Minor progress
* Added test dashboard
* Adding transparent and text colors to color picker and making them visible
* Good progress on migrations
* Fixed selected issue in color picker
* Fixes
* migration fix
* Fixed test
* Fixing line rendering and refactoring
* Minor ordering fix
* fixed test
* Draw thresholds before axes & series and other tweaks
* Update packages/grafana-ui/src/components/uPlot/config/UPlotThresholds.ts
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-05-04 13:03:35 +02:00
Carl Bergquist
06dc2b24bf
dont consider invalid email address a failed email ( #33671 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-05-04 12:07:50 +02:00
idafurjes
61f46fccf7
33507_drone_badge: Replace CircleCI badge in readme with drone badge ( #33649 )
...
* 3507_drone_badge: Replace CircleCI badge in readme with drone badge
* 33507_drone_badge: Fix the url for the build
2021-05-04 17:59:52 +08:00
kay delaney
2cc66e548a
Library panels: Normalize feature name as "Library panels" ( #33540 )
2021-05-04 09:00:44 +01:00
Serge Zaitsev
675922b574
Fix dockerfiles to use embed.go and Go 1.16 ( #33643 )
2021-05-04 09:43:12 +02:00
ying-jeanne
22b2d3c38a
frontend for trim/apply defaults and some bug fixing ( #33561 )
...
* remove empty object and workaround on list
* frontend
* add toggle on frontend
2021-05-04 15:03:42 +08:00
Michael
7ccc0e838e
Update alert docs ( #33658 )
...
Update link. (Blind guess as to the proper format. Please check.)
2021-05-03 14:18:05 -04:00
Kyle Brandt
48358efc13
Alerting: remove State cache entries on Ruler Delete ( #33638 )
...
for https://github.com/grafana/alerting-squad/issues/133
2021-05-03 14:01:33 -04:00
Ivana Huckova
0609b80fdc
Explore: Add logs navigation to request more logs ( #33259 )
...
* Update layout for new logs navigation
* Add LogsNavigation component
* WIP clean up of css
* Add clear navigation and styling
* Add clearing to queyrRows run Query
* Make querying and displaying reliable
* Rename chunks to pages
* Refactor, remove logsNavigationCleared from navigation
* Rmove clear logs navigation
* Add flipping
* Update styling
* Add test
* Fix import
* Update Wrapper test
* Update public/sass/pages/_explore.scss
* Update public/app/features/explore/Logs.tsx
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Add spinner to page to prevent jumpy time
* Create standard size for page
* Fix test
* Fix postioning and useRefs
* Add maxHeight
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2021-05-03 19:34:32 +02:00
Alexander Emelin
fa866f1154
Live: client connection concurrency ( #33642 )
2021-05-03 20:29:23 +03:00
sam boyer
806761fe70
Schema: Change Subsume check so optionality is respected ( #33650 )
2021-05-03 10:24:28 -07:00
Kyle Brandt
d6cff74d5a
Chore: Fix alerting migration code owners typo ( #33644 )
2021-05-03 12:17:38 -04:00
Owen Diehl
070627d11e
better handle metrics for state transitions ( #33648 )
2021-05-03 11:57:24 -04:00
Kyle Brandt
57d46ea991
AlertingMigration: Separate info into multiple annos ( #33641 )
2021-05-03 11:42:31 -04:00
Ryan McKinley
6b0417207d
VizLegend: move onSeriesColorChanged to PanelContext (breaking change) ( #33611 )
2021-05-03 08:23:17 -07:00
Torkel Ödegaard
578283078b
PanelEdit: Improves viz picker ux, auto close on click ( #33633 )
...
* PanelEdit: Improves viz picker ux, auto close on click
* Fixing strict ts error
* Updated e2e
2021-05-03 16:49:09 +02:00
Torkel Ödegaard
437b247b95
Table: Fixes wrong value for auto ( #33637 )
2021-05-03 15:45:48 +02:00
Uchechukwu Obasi
44ffd77206
Forms/Field: updates component with the new theme model ( #33634 )
2021-05-03 14:05:00 +01:00
Torkel Ödegaard
ac77d864fb
DashboardLink: Fixes double escaping of > in dashboard link ( #33617 )
...
* DashboardLink: Fixes double escaping of > in dashboard link
* Update DashboardLinks.tsx
2021-05-03 14:54:36 +02:00
Sergey Kostrukov
19f520d891
PluginProxy: Split implementations of token providers ( #32820 )
...
* Split implementations of token providers
* Fix imports
* Fix code racing in unit tests
2021-05-03 13:46:32 +01:00
Kyle Brandt
c1034f3118
Alerting: Create instanceStore ( #33587 )
...
for https://github.com/grafana/alerting-squad/issues/129
2021-05-03 07:19:15 -04:00
Giordano Ricci
3c79138d21
Fix adjustMetaInfo limit retrieval ( #33631 )
2021-05-03 12:55:53 +02:00
Uchechukwu Obasi
1be7d1a733
FilterPill: updates component with the new theme model ( #33624 )
...
* FilterPill: updates component with the new theme model
* fixes small spacing nit
2021-05-03 12:55:36 +02:00
Gábor Farkas
4506af3be7
InfluxDB: Improve measurement-autocomplete behavior in query editor ( #33494 )
...
* InfluxDB: Improve measurement-autocomplete behavior
* reverted changes of the previous commit
* add debounce to measurement-autocomplete
2021-05-03 11:08:12 +02:00
Emil Tullstedt
4496ae496e
Access control: Clean up users scopes ( #33532 )
...
Following discussion in grafana/grafana-enterprise#1292 , removing
org-scoped users scopes to make it clear that the local organization is
the default and the alternative to that is a global scope (for a select
few endpoints)
2021-05-03 10:27:12 +02:00
Torkel Ödegaard
7ee994f843
Theme: Renames new theme model from GrafanaThemeV2 to just GrafanaTheme ( #33619 )
2021-05-03 09:45:54 +02:00
Torkel Ödegaard
b165bfabc1
Table: Fixes not data warning style ( #33603 )
...
* Table: Fixes not data warning style
* Update Table.test.tsx
2021-05-03 09:43:42 +02:00
Torkel Ödegaard
f2e4f41f69
Alerting: Support for alerting for react panels, and lots of fixes to alert annotations for both react and angular ( #33608 )
...
* Alerting: Support for alerting for react panels, and lots of fixes to alert annotations for both react and angular
* Fix showing annotations in panel edit
2021-05-03 08:52:05 +02:00
Arve Knudsen
567b852072
PagerDuty: Omit empty message ( #33614 )
...
Co-authored by pkoenig10
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-03 08:51:22 +02:00
Torkel Ödegaard
b3a46459d9
SaveDashboard: Fixes issue with saving dashboard form and enter key ( #33602 )
2021-05-03 07:41:10 +02:00
dependabot[bot]
6ab08d948a
Chore(deps): Bump ssri from 6.0.1 to 6.0.2 ( #33550 )
2021-05-02 12:57:51 -07:00
Leon Sorokin
1e0c6040c6
Icons: unfork react-inlinesvg ( #33607 )
2021-05-02 13:43:18 -05:00
Leon Sorokin
5bf76ce881
GraphNG: uPlot 1.6.9 ( #33598 )
2021-05-02 20:31:27 +02:00
Leon Sorokin
e159985aa2
Tooltip: eliminate flickering when repaint can't keep up ( #33609 )
2021-05-02 13:03:50 -05:00
Torkel Ödegaard
3ed84ec0b5
Modals: Make text left aligned in save & delete modals ( #33605 )
2021-05-02 19:54:44 +02:00
Torkel Ödegaard
09051051a9
Graph: Fixes threshold handles now showing up for graph thresholds ( #33600 )
2021-05-02 19:54:18 +02:00
Sofia Papagiannaki
49e9f7e3b6
Chore: Fix mysql integration tests ( #33606 )
2021-05-02 19:49:38 +02:00
Torkel Ödegaard
1db26f8907
Theme: Fix for Graph tooltip background ( #33601 )
2021-05-02 17:45:24 +02:00
Torkel Ödegaard
cbf30aac82
Revert "Omit empty message in PagerDuty notifier ( #31359 )" ( #33604 )
...
This reverts commit d652d035ab
.
2021-05-02 14:06:28 +02:00
Patrick Koenig
d652d035ab
Omit empty message in PagerDuty notifier ( #31359 )
2021-05-02 08:53:20 +02:00