Isabella Siu
b1c68b5a12
CloudWatch: filter alert queries ( #47222 )
2022-04-04 12:06:31 -04:00
Ashley Harrison
1c34cc8b91
Navigation: Put expand toggle at beginning of tab order ( #47268 )
...
* Put toggle at beginning of tab order
* create NavBarToggle
* move margin into the common component
* lint fixes
2022-04-04 16:51:24 +01:00
Gilles De Mey
322a14fe6e
Alerting: fix flakey default time range assertion ( #47262 )
2022-04-04 17:35:53 +02:00
Derik Evangelista
8428446466
table panel: assume string dates to be on UTC ( #47246 )
...
* add tests for display processor relating to datetimes as strings
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2022-04-04 16:05:06 +01:00
Ezequiel Victorero
76b221e9d5
Access Control: hiding annotation edition and deletion without permissions ( #46904 )
...
* Access Control: disabling annotation edition without FGAC permissions
2022-04-04 11:57:43 -03:00
Isabella Siu
f8d11fbef9
CloudWatch: use custom variable editor ( #46943 )
2022-04-04 10:39:31 -04:00
Leon Sorokin
c55be51f1e
StateTimeline: insert terminating null value for 1-datapoint frames ( #47240 )
2022-04-04 08:22:00 -06:00
Ivana Huckova
5ba9ccb5a7
Loki: Add label_replace option to query builder ( #47247 )
...
* Add label_replace operation
* Update
2022-04-04 16:20:19 +02:00
Ashley Harrison
962eba39ac
Navigation: Make expandable menu items fill content properly ( #47264 )
2022-04-04 14:48:58 +01:00
Ashley Harrison
56176e320b
Navigation: Fix menu scrolling in expanded menu ( #47261 )
2022-04-04 14:48:48 +01:00
Gabriel Santos
b5bacce819
CloudWatch: Handle new error codes for MetricInsights ( #47033 )
...
* CloudWatch: Handle new error codes for MetricInsights
* Changes/test to support case where only the first GetMetricDataOutput returns errors and refactoring
* Fix Potential file inclusion via variable
* Fix gosec 304 by assigning a new variable
* fix goimports issue
2022-04-04 15:44:19 +02:00
Lee Jones
04d1c4a6d4
Fix typo in library panel docs ( #47217 )
2022-04-04 07:59:58 -05:00
Ieva
bc9b5325a0
update docs, simplify actions and scopes ( #47067 )
2022-04-04 13:53:58 +01:00
Gilles De Mey
473fa6d997
Alerting: add Mimir to the list of cloud rules ( #47258 )
2022-04-04 12:04:03 +00:00
Gábor Farkas
fdb7bab41a
Loki: do not special-case __name__ label ( #47251 )
...
* loki: do not mutate the caller's data
* Update public/app/plugins/datasource/loki/result_transformer.ts
better comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Update public/app/plugins/datasource/loki/result_transformer.ts
no need to handle __name__
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* simplify code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-04-04 13:52:55 +02:00
Marcus Efraimsson
659cf17e10
Logging: Fix syslog messages should be sent with correct severity ( #47209 )
2022-04-04 12:51:14 +02:00
Josh Hunt
8f1b208a35
Chore: Report betterer stats in ci-frontend-metrics ( #47210 )
...
* Chore: Report betterer stats to graphite
* PR feedback
* use camelCase from lodash instead
2022-04-04 12:43:23 +02:00
Marcus Efraimsson
b4346a5613
Logging: Fixes filtering logs based on gokitlog levels ( #47195 )
2022-04-04 12:36:17 +02:00
Sergey Kostrukov
5675496f6b
Migrate to Grafana Azure SDK ( #47232 )
2022-04-04 11:23:13 +02:00
Dominik Prokop
a55274a72d
TimeSeries: Sort tooltip values based on raw values ( #46738 )
...
* TimeSeries: Fix tooltip values sorting
* Update packages/grafana-ui/src/components/uPlot/plugins/TooltipPlugin.tsx
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* Review
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-04-04 02:18:29 -07:00
CommanderRoot
d29b8e8858
Chore: Replace deprecated String.prototype.substr() ( #46763 )
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-04 11:08:06 +02:00
Leon Sorokin
ed140906de
HeatmapNG: implement zooming & fix heatmap-buckets rendering ( #47231 )
2022-04-01 21:54:44 -06:00
Yuriy Tseretyan
e94d0c1b96
Alerting: update rule test endpoints to respect data source permissions ( #47169 )
...
* make eval.Evaluator an interface
* inject Evaluator to TestingApiSrv
* move conditionEval to RouteTestGrafanaRuleConfig because it is the only place where it is used
* update rule test api to check data source permissions
2022-04-02 02:00:23 +02:00
Yuriy Tseretyan
51114527dc
Alerting: handle folder permissions when fine-grained access enabled ( #47035 )
...
* Use alert:create action for folder search with edit permissions. This matches the action that is used to query dashboards (the update will be addressed later)
* Update rule store to use FindDashboards instead of folder service to list folders the user has access to view alerts. Folder service does not support query type and additional filters.
* Do not check whether the user can save to folder if FGAC is enabled because it is checked on API level.
2022-04-01 19:33:26 -04:00
Dan Cech
5c3308c6f3
add ability to pass builds flags/tags to go via make, update bra config ( #46787 )
2022-04-01 19:01:05 -04:00
Ryan McKinley
4c89c8c468
Heatmap: make x axis a time field ( #47168 )
2022-04-01 13:54:16 -07:00
Andrej Ocenas
1110666b6b
Loki: Fix parsing chained and scalar binary queries ( #47132 )
...
* Fix bin parsing for more cases
* Add test for some utils
* Removing console.log
* Simplify some code and fix typing
* Rename function
2022-04-01 18:33:09 +02:00
Andrej Ocenas
ba2332eb96
Prometheus: bool bin op improvements ( #47198 )
...
* Change param order
* Align tooltip icon styling
2022-04-01 17:51:50 +02:00
Erik Sundell
07bb5b37a5
make tooltip tabable ( #47137 )
2022-04-01 17:23:13 +02:00
Eric Leijonmarck
07aa1349d8
fix: error when licensing was not checked ( #47201 )
2022-04-01 16:57:02 +02:00
Alexander Weaver
7555ff2087
Alerting squad owns alerting integration tests + autolabels ( #47166 )
2022-04-01 09:49:06 -05:00
Armand Grillet
3e9dfcd730
Optimize CodeQL workflow ( #47095 )
...
* Do not run CodeQL analysis when updating .cue file
* Remove autobuild step for CodeQL workflow as unecessary
* Add specialized CodeQL workflow
* Updated main CodeQL workflow to not run on PRs
* Simplify CodeQL analysis on PR
* Add .tsx file format to JS CodeQL analysis match
2022-04-01 16:40:25 +02:00
Peter Holmberg
cb03b05ced
Alerting: Add yaml editor to cloud rules ( #46533 )
...
* ruleinspector component
* Adding yaml component
* setvalues
* update yarn.lock
* bump types
* chore: update lockfile
* move apply button position
* move button back to tab
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2022-04-01 16:34:08 +02:00
Andres Martinez Gotor
7b30fae36f
Cloudwatch: Improve alerting related docs ( #47178 )
2022-04-01 15:49:09 +02:00
Yuriy Tseretyan
8a2c368031
check that user is authorized to create\update silences ( #47163 )
2022-04-01 09:39:59 -04:00
Andres Martinez Gotor
f220b24d9d
Docs: Development with local Grafana ( #47121 )
2022-04-01 15:23:23 +02:00
Dimitris Sotirakis
305530224a
Run slack notify on OSS repo only ( #47194 )
2022-04-01 14:20:26 +02:00
Yaelle Chaudy
d217d2aa40
A11y : Fix a11y in CollapsibleSection ( #46455 )
...
* Fix a11y in CollapsibleSection
* Added type to button to avoid form submit on enter
2022-04-01 14:00:09 +02:00
Sergey Kostrukov
656ade9884
Shared Azure middleware between Azure Monitor and Prometheus datasources ( #46002 )
...
* Scopes in Azure middleware
* Enable Azure middleware without feature flag
* Use common Azure middleware in Azure Monitor
* Apply feature flag to JsonData configuration of Azure auth
* Enforce feature flag in Prometheus datasource
* Prometheus provider tests
* Datasource service tests
* Fix http client provider tests
* Pass sdkhttpclient.Options by reference
* Add middleware to httpclient.Options
* Remove dependency on Grafana settings
* Unit-tests updated
* Fix ds_proxy_test
* Fix service_test
2022-04-01 13:26:49 +02:00
Marcus Efraimsson
16db1ad46d
API: Fixes request logging middleware to include userId, orgId, uname ( #47183 )
...
Fixes #47006
2022-04-01 13:24:39 +02:00
Ashley Harrison
9d3b701797
Accessibility: Trap focus correctly in dashboard settings ( #47149 )
...
* Accessibility: Trap focus correctly in search + dashboard settings
* add accessible names for the overlays
* Undo changes to search
* missed a bit
2022-04-01 11:44:48 +01:00
Ashley Harrison
e0457665f6
Navigation: prevent navbar from showing when .sidemenu-hidden
is set ( #47134 )
2022-04-01 11:27:53 +01:00
Ashley Harrison
4958f932aa
wrap icons in a div to ensure they're centred ( #47136 )
2022-04-01 11:27:46 +01:00
Maria Alexandra
7ae72e1195
Navigation: Refactor existing menu to allow for scrolling ( #47076 )
...
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
2022-04-01 11:24:52 +01:00
kay delaney
83140f7369
Navigation: Fix layout shift for long collapse content ( #47161 )
2022-04-01 10:42:19 +01:00
Dimitris Sotirakis
eea20c4446
Remove check ( #47173 )
2022-04-01 10:02:49 +02:00
Alexander Weaver
b8e277ee4c
Alerting: Create feature toggle for provisioning ( #47167 )
...
* Create feature flag for alerting provisioning
* Fix tabs for golint compliance
2022-04-01 08:32:00 +02:00
Ryan McKinley
38dc34359b
Search: show dashboards form query ( #47085 )
2022-03-31 14:38:46 -07:00
Yaelle Chaudy
00ec99a8a1
Added button type to avoid trigger on enter ( #47147 )
2022-03-31 21:05:05 +02:00
Santiago
4b1af6fb06
Fix empty contact point URLs when template parsing fails ( #47029 )
...
* fix empty URLs
* leave URL templating, use fallback
* better fix, new tests cases
* fix linting errors
2022-03-31 15:57:48 -03:00