Commit Graph

29303 Commits

Author SHA1 Message Date
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
Kyle Brandt
c2a5da79e3
Alerting: Avoid panic by not loading instances without a rule (#33597) 2021-05-01 19:01:28 +02:00
Ryan McKinley
528edcaec6
Live: expose publish on live interfaces (#33596) 2021-04-30 17:35:03 -07:00
Ryan McKinley
69f2a43063
EventBus: add origin to all events and support nested EventBus (#33548) 2021-04-30 22:33:29 +02:00
Erik Sundell
cedac5f4d4
add selector for code editor (#33554) 2021-04-30 13:07:34 -07:00
Kyle Brandt
759a0cd71b
Build: Fix with cleanup call maybe? (#33590) 2021-04-30 13:02:37 -07:00
Kyle Brandt
efe856ae4e
AlertingMigration: Create alert_rule_version entry (#33585)
Create the alert rule version entry during the migration so it is consistent with rules created via api.
for https://github.com/grafana/alerting-squad/issues/123
2021-04-30 15:08:01 -04:00
Nagle Zhang
93c39ca18c
add template for dashboard url parameters (#33549)
* Update dashboard-links.md

parameters with plain text like `var-something=value` can make confusion. 
template it to clarify .

* describe way for template link.
2021-04-30 14:33:26 -04:00
Kyle Brandt
7823842c5d
Alerting: Load annotations from rule into State cache (#33542)
for https://github.com/grafana/alerting-squad/issues/127
2021-04-30 20:23:12 +02:00
Alexander Emelin
0c2bcbf2bc
Live: persisting last message in cache for broadcast scope (#32938) 2021-04-30 11:06:33 -07:00
Kyle Brandt
c25eab4eda
AlertMigration: remove alert_rule UID db check (#33568)
do not believe this is needed due to uniqueness promised by shortid lib
since there is no provisioning yet. https://github.com/teris-io/shortid
2021-04-30 13:35:26 -04:00
Kyle Brandt
b8f01fe034
Alerting: backend "ng" code cleanup (#33578) 2021-04-30 13:21:57 -04:00
achatterjee-grafana
599a9b9a6d
Add note to Snapshot API doc to specify that user has to provide the entire dashboard model (#33572)
* Added note as suggested by Macus E.

* Update docs/sources/http_api/snapshot.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-04-30 13:11:08 -04:00
Owen Diehl
5e48b54549
Alerting/metrics (#33547)
* moves alerting metrics to their own pkg

* adds grafana_alerting_alerts (by state) metric

* alerts_received_{total,invalid}

* embed alertmanager alerting struct in ng metrics & remove duplicated notification metrics (already embed alertmanager notifier metrics)

* use silence metrics from alertmanager lib

* fix - manager has metrics

* updates ngalert tests

* comment lint
Signed-off-by: Owen Diehl <ow.diehl@gmail.com>

* cleaner prom registry code

* removes ngalert global metrics

* new registry use in all tests

* ngalert metrics impl service, hack testinfra code to prevent duplicate metric registrations

* nilmetrics unexported
2021-04-30 12:28:06 -04:00
gamab
b45120b999
gitignore: Ignore files for accesscontrol provisioning (#33577) 2021-04-30 17:24:16 +02:00
Torkel Ödegaard
9b60f8c404
DashboardSettings: Slight design tweak to fix page toolbar padding and align design (#33575)
* DashboardSettings: Slight design tweak to fix page toolbar padding and align design

* Fixed font weight

* Removed comment

* Update
2021-04-30 17:21:18 +02:00
Uchechukwu Obasi
65673857b6
EmptySearchResult: updates component with the new theme model (#33573) 2021-04-30 16:07:25 +01:00
Uchechukwu Obasi
aad772a7fc
ButtonSelect: updates component with the new theme model (#33565) 2021-04-30 15:45:43 +01:00
Kyle Brandt
231a8ef0cf
CodeOwners: Set owners of unified alerting migration (#33571) 2021-04-30 16:28:36 +02:00
kay delaney
68ee4808c1
Library panels: Adds description to library panels tab (#33428) 2021-04-30 15:15:48 +01:00
Kyle Brandt
713260f6fa
Alerting: Remove datasource (name) from migration (#33544)
no longer needed as of https://github.com/grafana/grafana/pull/33416
for https://github.com/grafana/alerting-squad/issues/126
2021-04-30 07:47:01 -04:00
Torkel Ödegaard
c0d28d9ed7
PageLayout: Fixes max-width breakpoint so that it triggers only when there is room for margin+ (#33558) 2021-04-30 12:08:02 +02:00
Hugo Häggmark
696a6ecd1e
Variables: Removes the never refresh option (#33533)
* Variables: Removes the never refresh option

* Tests: fixes DashboardModel repeat tests

* Tests: fixs snapshots

* Tests: fixes processVariable test

* Tests: fixes DashboardModel tests
2021-04-30 11:17:35 +02:00
Jack Westbrook
8f62e42554
Plugins: add level and signature badges to plugin details page (#33553)
* feat(grafana-ui): badge can accept react node for text, add shield-exclamation to icons

* feat(plugins): add PluginSignatureType type

* feat(pluginpage): introduce PluginSignatureDetailsBadge. Fix sidebar icon margin

* feat(pluginlistpage): update filterinput placeholder, introduce filter by plugin type
2021-04-30 11:00:41 +02:00
Arve Knudsen
ec3d8b590a
Server: Implement timeout waiting for server to shut down (#33333)
* tests: Undo cleanup in goroutine

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Server: Implement timeout waiting for it to shut down

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-04-30 10:55:59 +02:00
Hugo Häggmark
492227fa0a
Chore: Upgrades @braintree/sanitize-url (#33551) 2021-04-30 10:13:41 +02:00
Torkel Ödegaard
f6ecded86b
Theme: Page styles move to emotion global styles and design tweaks (#33529)
* Theme: Page styles move to emotion global styles and design tweaks

* More style tweaks

* tweaks

* Updating snapshots

* Another fix

* Another fix

* minor fix

* More style tweaks to page toolbar and alert rule page

* minor polish
2021-04-30 10:04:01 +02:00
Oscar Kilhed
aaca022df6
Make sure big lists of suggestions don't expand outside of the viewport (#33520)
* Add CustomScrollbar to data links suggestions

* Make sure to scroll to selected suggestion
2021-04-30 09:52:34 +02:00
Naseem
deb9ead72f
stackdriver backend services dashboard: add backend service dropdown (#31494)
this dashboard is most useful when being able to look at a service in particular. I tried making a multi-value but it did not produce good results. Having to choose, seeing a single service's metrics is better than the busy panels when all services are lumped together.

Signed-off-by: naseemkullah <naseem@transit.app>
2021-04-30 09:11:50 +02:00
Ryan McKinley
daa3175f1c
Models: add cue spec for text, news, and dashlist panels (#32777) 2021-04-29 20:12:37 -07:00
Torkel Ödegaard
33cfc3d9c2
Theme: Fixing storybook theme (#33541) 2021-04-29 21:12:50 +02:00
Ryan McKinley
1cda7c5977
Live: show disconnection error banner when in dev mode (#33394) 2021-04-29 11:57:51 -07:00
Owen Diehl
e4d3161690
revendors loki & alertmanager (#33534)
* revendors loki

* revendors alertmanager
2021-04-29 18:29:42 +01:00