Zoltán Bedi
befb2afccc
QueryEditor: Fix crash in angular panels when query have error ( #45422 )
2022-02-16 10:34:29 +01:00
Joey Tawadrous
b4dd3138ce
InfluxDB: metricFindQuery migration to backend ( #44546 )
...
* Send metricFindQuery to backend
* Added feature toggle
* Changed flag name
* metricFindQuery backend
* Added test for metricFindQuery backend parse
* Added test for show tag values
* Test for metricFindQueries
* Updated tests
* Put back comment
* Case insensitive in transformRows
* Check length ov value pair
* Sep tests
* Updated valuePair index
2022-02-16 09:16:22 +00:00
Sofia Papagiannaki
6a38ce2307
Resolve depedency cycle ( #45427 )
2022-02-16 10:59:34 +02:00
Hugo Häggmark
ae8c8a2910
Chore: Replace enzyme with RTL ( #45434 )
2022-02-16 00:49:06 -08:00
Hugo Häggmark
5760a18da5
Chore: Replace enzyme with RTL in OrgSwitcher.test.tsx ( #45439 )
2022-02-16 00:48:13 -08:00
Hugo Häggmark
6584735bef
Chore: Replaces enzyme with RTL in ConfirmButton.test.tsx ( #45435 )
2022-02-16 09:46:46 +01:00
Ivana Huckova
a1a96a7324
Prometheus: Fix removing of labels when removed outside of component ( #45424 )
...
* Prometheus: Don't remove lables when switching metrics
* Always update labels when labels from prop change
* Add test
* Update variable name
* Revert "Update variable name"
This reverts commit ca186f8b0b
.
2022-02-16 09:40:04 +01:00
Ivana Huckova
d38f0e5d9e
Prometheus: Offer hint for metrics with labels ( #45396 )
...
* Prometheus: Offer hint for counter metric with labels
* Update comment
* Fix hinting for buckets with labe-values
2022-02-16 09:34:32 +01:00
Agnès Toulet
39797e33ae
Highlights: fix RS event name ( #45436 )
2022-02-16 08:52:18 +01:00
Torkel Ödegaard
916f152a6f
Prometheus: Fixes issue adding rest params ( #45364 )
...
* Prometheus: Fixing issue adding rest param and adding test
* Rebuild when expr changes from outside
2022-02-16 08:05:16 +01:00
Yuriy Tseretyan
02f8e99ca1
Alerting: move fake stores to store package ( #45428 )
...
* make fake storage public
* move fake storages to store package
2022-02-15 17:24:39 -05:00
Torkel Ödegaard
52ae586452
Prometheus: Improvements to binary operations, nesting and parantheses handling ( #45384 )
...
* Prometheus: Improve query nesting ux
* Prometheus: Add parentheses around nested queries with binary ops
* removed unnessary typing change
* Fixing ts issues
* Improved paranthesis logic
* Fixing unit test
* Progress
2022-02-15 21:05:35 +01:00
Christopher Moyer
46360ca0c3
Docs: refactored manage users and permissions content ( #44343 )
...
* initial refactor
* initial draft for teams
* restructed topics, added front matter
* modified aliases
* removes old files
* removed files
* initial refactor
* initial draft for teams
* restructed topics, added front matter
* modified aliases
* removes old files
* removed files
* final xrefs updates
* xref adjustment
* copy updates
* copy and content updates to about, add to org, add user, admin
* copy updates to remove user from org
* update org vs server admin section names, cross-link
* cross-link add and invite users to org
* add remaining cross-links between org and server admin
* add dashboard permissions table
* add permissions information to teams
* add copy invite instructions to invite management
* tweaks and link updates
* incorporated PM feedback
* fixed xrefs
* yarn prettier
* fix codespell
* combined teams and dashboard permissions content
Co-authored-by: Mitchel Seaman <mitchel.seaman@gmail.com>
2022-02-15 13:20:45 -06:00
Ryan McKinley
d665306ad1
Search: add feature flag and basic service ( #45112 )
...
Co-authored-by: Artur Wierzbicki <artur@arturwierzbicki.com>
2022-02-15 10:26:03 -08:00
Ieva
11433cba97
Team access changes for editors when editorsCanAdmin is enabled ( #45405 )
...
* filter teams for editors to only show the teams that they are members of
* frontend changes to only allow clicking on teams that the user can edit
* update frontend test snapshots
* extend docs
* reword
* remove the comment for now
* Update backend tests
* reword the warning, and add it back in
* docs feedback
Co-authored-by: gamab <gabi.mabs@gmail.com>
2022-02-15 17:09:03 +00:00
Sofia Papagiannaki
d718ee1918
SQLStore: Prevent concurrent migrations ( #44101 )
...
* SQLStore: Prevent concurrent migrations
* Hide behind a feature toggle
* Configurable locking attempt timeout
* Update docs/sources/administration/configuration.md
Co-authored-by: Igor Suleymanov <radiohead@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-02-15 18:54:27 +02:00
Dimitris Sotirakis
163b570f5d
CI: Remove manual gcloud
authentication ( #44986 )
...
* Remove manual gcloud auth from store-packages
* Update grabpl
2022-02-15 16:45:37 +02:00
Ivana Huckova
636a45f065
Query history: Create API to patch comment of query in query history ( #44981 )
...
* Query history: Patch comment
* Update docs/sources/http_api/query_history.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/http_api/query_history.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Remove redundant check
* Use WithTransactionalDbSession to update comment
* Fix status code in test
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-02-15 15:43:17 +01:00
Torkel Ödegaard
a757a57c6e
Prometheus: Show executed query in inspector ( #45362 )
...
* Prometheus: Show executed query in inspector
* Loki: Improving test
2022-02-15 15:02:03 +01:00
Serge Zaitsev
b9e5bae51f
Chore: Remove bus.Dispatch from cleanup service ( #45401 )
2022-02-15 14:56:19 +01:00
Gabriel MABILLE
d11f6a95a4
AccessControl: Enable empty list New button based on user permissions ( #45398 )
2022-02-15 14:51:19 +01:00
Joey Tawadrous
f8ae66ff5a
Updated broken links ( #43849 )
2022-02-15 13:42:21 +00:00
Gabriel MABILLE
91dd0563c9
AccessControl: Trigger permission reload with team removal ( #45383 )
2022-02-15 14:23:40 +01:00
Torkel Ödegaard
ed5b2e5210
Move QueryPartDef out from angular app ( #45386 )
2022-02-15 14:20:50 +01:00
Ivana Huckova
6a828a051a
Logs: Fix LogDetailsRow tests that produced console errors ( #45388 )
...
* Fix LogDetailsRow tests that produced console errors
* Use div instead of wrapping with table
* Use div instead of wrapping with table
2022-02-15 14:06:24 +01:00
Gilles De Mey
651bb773db
Alerting: do not unescape external AM label values ( #45334 )
2022-02-15 13:57:00 +01:00
kay delaney
e1ff4dc9fe
NewsPanel: Add support for Atom feeds ( #45390 )
2022-02-15 12:26:59 +00:00
Marcus Andersson
146eed400a
TempalteSrv: re-adding variabelExists to prevent breaking angular plugins. ( #45387 )
2022-02-15 13:22:13 +01:00
Shirley
1c1a45a880
CloudWatch: Add tests to annotations query ( #45337 )
2022-02-15 12:45:50 +01:00
Hugo Häggmark
f1c4da095b
Chore: Removes console output from InspectDataTab.test.tsx ( #45374 )
2022-02-15 13:33:10 +02:00
Joey Tawadrous
1b3dd310c0
Loki: Uppercase autocomplete ( #45123 )
...
* Updated regex
* Added test for uppercase
* Updated regex
2022-02-15 11:02:51 +00:00
Levente Balogh
27ee091d49
Chore: fix Levitate reporting issues with missing PR numbers ( #45381 )
...
* chore: persist the PR number in the Levitate workflow artifact
This is going to be used later in the reporting workflow, as for
3rd party (fork) PRs Github doesn't correctly populate the `workflow_run` context (the PR number is missing from it).
* chore: use the PR number from the artifact for Levitate reporting
2022-02-15 11:10:44 +01:00
Levente Balogh
4aca996c55
fix: use the a PAT instead of the GITHUB_TOKEN ( #45376 )
2022-02-15 11:06:23 +01:00
Hugo Häggmark
10a9ca0ae1
Chore: Removes console outputs from runRequest.test.ts ( #45375 )
2022-02-15 11:12:26 +02:00
Gábor Farkas
a612087c63
loki: remove fullRangeLogsVolume feature flag ( #45286 )
2022-02-15 09:05:03 +01:00
Marcus Andersson
9a12b3ea00
TemplateSrv: exposing a function to detect if a target contains a template ( #45214 )
...
* exposing a function to check if a target contains variables.
* fixed tests.
* renamed function
* updated betterer result.
2022-02-15 08:53:42 +01:00
Hugo Häggmark
21beb88a4f
Chore: Remove console ouputs from DashboardPage.test.tsx ( #45373 )
2022-02-15 07:40:27 +01:00
Tobias Skarhed
9c97c14a97
Governance: Update employer info ( #45369 )
2022-02-14 15:43:50 -08:00
Yuriy Tseretyan
095ea44e97
Alerting: Move BaseInterval and MinInterval to UnifiedAlerting config ( #45107 )
...
* use base interval if legacy value is less than the base interval
2022-02-11 16:13:49 -05:00
Ezequiel Victorero
4f815e3d8e
Access control: adding FGAC to annotation GET endpoints and fixed roles ( #45102 )
...
* Access control: adding FGAC to annotation GET endpoints and fixed roles
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-02-11 15:43:29 -03:00
gotjosh
1a9638c363
Alerting: Add Alerting Squad as codeowner of legacy alerting ( #45282 )
...
* Alerting: Add Alerting Squad as codeowner of legacy alerting
* update with split by function
* not ending with a /
2022-02-11 19:21:45 +01:00
Ieva
9ac4843df1
Documentation for teams with FGAC ( #45321 )
...
* docs for teams with FGAC
* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2022-02-11 18:00:13 +01:00
Gabriel MABILLE
6fbf346747
AccessControl: Add endpoint to get user permissions ( #45309 )
...
* AccessControl: Add endpoint to get user permissions
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
* Fix SA tests
* Linter is wrong :p
* Wait I was wrong
* Adding the route for teams:creator too
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
2022-02-11 17:40:43 +01:00
Ashley Harrison
689df761e6
Chore: Stub deprecation warning in AngularLocationWrapper ( #45319 )
2022-02-11 16:34:16 +00:00
Ashley Harrison
820a70f49a
Stub deprecation warning in kbn unit tests ( #45313 )
2022-02-11 16:34:06 +00:00
gotjosh
8bf2e642aa
Alerting: Fix updating notification channels in legacy ( #45302 )
...
The problem here is that without the orgID we ignore the lookup of the existing notification channel just before updating and end up failing the update because there is no channel available.
2022-02-11 16:13:51 +00:00
malcolmholmes
9a7438c720
Build: only specify github-token when needed ( #45326 )
2022-02-11 16:01:45 +00:00
Ivana Huckova
9e2caa9ddc
Prometheus: Add hints to query builder ( #45288 )
...
* Add hints to query builder
* Move Query hints to own component
* Use replace 5m with in rate queries
* Remove unused prop
2022-02-11 16:50:35 +01:00
Alex Khomenko
574f609550
Init node item ( #45218 )
2022-02-11 16:18:33 +01:00
Connor Lindsey
cd05ee0054
Chore: Prevent focused tests by adding jest eslint rule ( #45088 )
...
* Prevent focused tests by adding jest eslint rule
* Remove redundant no-only-tests eslint plugin
* Update lock file
2022-02-11 15:59:30 +01:00