Zoltán Bedi
578a755cb4
Fix data source picker width issue ( #33720 )
...
* Fix data source picker width issue
* Use theme.spacing
2021-05-05 10:17:14 +02:00
Ivana Huckova
b9b211b36c
Docs: Add documentation for inspector in Explore ( #33408 )
...
* Add documentatio for Inspector in Explore and Download logs
* Update title
* Update public/app/features/explore/ExploreQueryInspector.tsx
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Reords tabs, add error tab
* Update docs/sources/panels/inspect-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/explore/explore-inspector.md
* Remove numbered steps in inspector
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-05-05 10:02:50 +02:00
Torkel Ödegaard
1e810b3d59
PanelEdit: Highlight matched words when searching options ( #33717 )
2021-05-05 09:12:06 +02:00
Hugo Häggmark
86f2ed8ef2
e2e: refactors the most flaky tests ( #33727 )
2021-05-05 09:09:57 +02:00
Torkel Ödegaard
79772bcd2a
Theme: Fix saas files ( #33718 )
2021-05-04 22:28:29 +02:00
Jack Westbrook
a90e3084b1
Docs: share tooltip mode description between TimeSeries and PieChart ( #33488 )
...
* docs(tooltip): share tooltip mode docs between visualizations
* docs(tooltip-mode): replace mentions of graph with visualization
2021-05-04 16:09:26 -04:00
Sarah Zinger
a9b218ff1e
Azure Monitor: Show loading indicators for dropdowns ( #33451 )
...
Show loading indicators for dropdowns in azure monitor
2021-05-04 15:16:50 -04:00
Torkel Ödegaard
dbe9a30ad0
PanelEdit: Do not show override option for panel with no field config options ( #33699 )
...
* Do not show overrides button if there are no field config options
* not show radiobuttons for non data panels
* remove unused style
2021-05-04 20:43:53 +02:00
Ryan McKinley
36fc37fd0e
Toolkit: add deprecation notice to toolkit/ci commands ( #33664 )
2021-05-04 10:13:29 -07:00
David Parrott
b1a8c67689
Alerting return evaluation errors to /rules ( #33663 )
...
* Set and return errors produced by evaluation results
* test fixup
2021-05-04 13:08:12 -04:00
David Parrott
39099bf3c0
Alerting nested state cache ( #33666 )
...
* nest cache by orgID, ruleUID, stateID
* update accessors to use new cache structure
* test and linter fixup
* fix panic
Co-authored-by: Kyle Brandt <kyle@grafana.com>
* add comment to identify what's going on with nested maps in cache
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2021-05-04 09:57:50 -07:00
David Parrott
5072fefc22
allow saving pending alerts ( #33667 )
2021-05-04 09:24:20 -07:00
Sofia Papagiannaki
540f110220
[Alerting]: Extend quota service to optionally set limits on alerts ( #33283 )
...
* Quota: Extend service to set limit on alerts
* Add test for applying quota to alert rules
* Apply suggestions from code review
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Get used alert quota only if naglert is enabled
* Set alert limit to zero if nglalert is not enabled
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-05-04 19:16:28 +03:00
Diana Payton
985331e813
Docs: Update installation.md ( #33656 )
2021-05-04 18:06:02 +02:00
Ryan McKinley
33e4f8d7ac
Live: remove feature toggle and enable by default ( #33654 )
2021-05-04 08:44:55 -07:00
Uchechukwu Obasi
9315152d4f
FieldValidationMessage: updates component with the new theme model ( #33647 )
...
* FieldValidationMessage: updates component with the new theme model
* used correct theme value
2021-05-04 17:43:47 +02:00
Giordano Ricci
7cfd979cc1
Chore: remove usages of FunctionComponent in elasticsearch plugin ( #33175 )
2021-05-04 16:23:19 +01:00
Uchechukwu Obasi
3b11e7318a
FieldSet: updates components with the new theme model ( #33640 )
2021-05-04 16:08:53 +01:00
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