Yuri Tseretyan
ad09feed83
Alerting: rule backtesting API ( #57318 )
...
* Implement backtesting engine that can process regular rule specification (with queries to datasource) as well as special kind of rules that have data frame instead of query.
* declare a new API endpoint and model
* add feature toggle `alertingBacktesting`
2022-12-14 09:44:14 -05:00
Josh Hunt
258696409d
Dashboards: Fix 'Make Editable' button not working in Dashboard Settings ( #60306 )
...
* Dashboards: Fix 'Make Editable' button not working in Dashboard Settings
* comment
2022-12-14 14:24:09 +00:00
renovate[bot]
ac93c5321b
Update dependency centrifuge to v3.1.0 ( #60303 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 14:10:19 +00:00
Josh Hunt
af719888d6
Chore: Remove any type assertion in PanelQueryRunner ( #60096 )
2022-12-14 14:07:22 +00:00
Sven Grossmann
6f64dd533f
Devenv: Add back loki-promtail
( #60282 )
...
* add back loki-promtail
* update README
* add MacOS note
2022-12-14 15:02:12 +01:00
Ida Štambuk
30e2de89ec
Chore: Update code-coverage version to 0.1.13 ( #59545 )
...
Update code-coverage version to 0.1.13
2022-12-14 14:44:51 +01:00
Josh Hunt
495fceeeef
Dashboards: Wrap MakeEditable in the new Page layout ( #60311 )
...
Wrap MakeEditable in the new Page layout
2022-12-14 13:32:29 +00:00
Leo
c75ed8fa69
Accessibility: Improved keyboard accessibility in BigValue ( #59830 )
...
use appropriate elements when rendering BigValue
2022-12-14 14:28:44 +01:00
Ashley Harrison
3a5c3b517c
Navigation: conditionally use actions in DataSourceListPage
( #60300 )
...
* conditionally use actions in DataSourceListPage
* fix unit tests
2022-12-14 13:19:29 +00:00
Ivana Huckova
70e34e7f32
Elasticsearch: Fix defaulting to time field if no field is specified in aggregation ( #60238 )
...
* Elasticsearch: Add test for using timeField from datasource when not specified in query
* Add default to timefield
* Merge fix
2022-12-14 14:19:03 +01:00
Ivana Huckova
d3ef86bd90
Elasticsearch: Add query building for log queries ( #60182 )
...
* Elasticsearch: Fix ordering in raw_document and add logic for raw_data
* Add comments
* Fix raw data request to use correct timefield
* Fix linting
* Add raw data as metric type
* Fix linting
* Elasticsearch: Add defaults for log query
* Add higlight
* Fix lint
* Add snapshot test
* Implement correct query for logs
* Update
* Adjust naming and comments
* Fix lint
* Remove ifs
2022-12-14 13:56:09 +01:00
Emil Tullstedt
3188a8288e
Settings: Update reference to go-kit/log ( #60309 )
...
Introduced after last update to #59732.
2022-12-14 12:48:09 +00:00
Matias Chomicki
2c1b65021d
feat(loki-query-autocomplete): suggest unique history items ( #60262 )
2022-12-14 07:43:06 -05:00
Josh Hunt
9a41277ecd
Dashboards: Show error when data source is missing ( #60099 )
...
Return caught exceptions to panel as error state
2022-12-14 12:37:31 +00:00
juanicabanas
666f69ca14
PublicDashboards: Add react-hook-form for Public Dashboard modal ( #60249 )
2022-12-14 09:12:09 -03:00
Kyle Brandt
55d2d872ec
Chore: Missed deprecations due to overly broad lint exclusion ( #59732 )
2022-12-14 12:32:45 +01:00
Ida Štambuk
cea5e6589d
Cloudwatch: Define and use getDefaultquery instead of calling onChange on mount ( #60221 )
...
* Implement getDefaultQuery for cloudwatch logs and metrics
* Fix bug with query reference in queryMigrations and replace tests
* Move migrate functions to /migrations, remove onChange from LogsQueryField
* [EMPTY] Retry CI
* Fix naming
2022-12-14 12:21:36 +01:00
renovate[bot]
6fcea37638
Update dependency @react-types/shared to v3.16.0 ( #60265 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 11:03:54 +00:00
Ieva
6aa5a79cad
Access control: endpoint for searching single user permissions ( #59669 )
...
* initial commit
* clean up
* fix a bug and add tests
* more tests
* undo some unintended changes
* undo some unintended changes
* linting
* PR feedback - add user ID to search options
* simplify the query
* Apply suggestions from code review
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* remove unneeded formatting changes
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2022-12-14 10:53:25 +00:00
Esteban Beltran
d9d94ebc56
Toolkit: Deprecate all plugin related commands ( #60290 )
2022-12-14 11:10:05 +01:00
renovate[bot]
a75829a5f7
Update dependency @wojtekmaj/enzyme-adapter-react-17 to v0.8.0 ( #60270 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 10:05:07 +00:00
Joey Tawadrous
bf8814749e
Traces: Fix for multiple $__tags in trace to metrics ( #59641 )
...
* Fix interpolation of multiple in query
* Add another to test case
2022-12-14 09:51:43 +00:00
Ashley Harrison
bb2ecb1468
Influx: Query segment menus now position correctly near the bottom of the screen ( #60087 )
...
* only open the menu once options are loaded for better positioning
* use !loadState.loading instead of Boolean(loadState.value)
2022-12-14 09:51:04 +00:00
ms-hujia
5010765115
Azure Monitor: Propagate the error when failed to get datasource instance ( #60210 )
...
Propagate the error when failed to get instance
2022-12-14 10:36:41 +01:00
Andres Martinez Gotor
b4e76e75b1
AzureMonitor: Fix filter query for empty queryType ( #60252 )
2022-12-14 09:54:19 +01:00
Misi
6d8bf5ac01
LDAP: Disable user in case it has been removed from LDAP directory ( #60231 )
...
* Fix login flow
* Align test
* Fix comments
* Improve test
2022-12-14 03:41:51 -05:00
renovate[bot]
ed28324233
Update dependency @types/react-calendar to v3.9.0 ( #60266 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 09:12:22 +01:00
Leon Sorokin
e0eacf1b04
StateTimeline: Fix negative infinity legend/tooltip from thresholds ( #60279 )
2022-12-13 21:56:59 -08:00
Ryan McKinley
4064fa51c6
Export: move export page to a full page (not view on storage) ( #60263 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-12-13 19:40:20 -08:00
Alexander Weaver
821614fb43
Alerting: Align notifier truncation and logging with prometheus/alertmanager ( #59339 )
...
* Move truncation code to util to mirror upstream
* Resolve merge conflicts
* Align logging of alert key
* Update tests and fix field passing bug
* Remove superfluous newline in test now that we trim whitespace
* Uptake minor log changes from upstream
2022-12-13 19:50:24 -06:00
Isabella Siu
d6bb2a7493
Cloudwatch: Fix deeplink with default region ( #60260 )
...
Cloudwatch: fix deeplink with default region
2022-12-13 15:24:28 -05:00
Misi
7bb5200cc2
Devenv: OpenLDAP-Mac improvements ( #60229 )
...
* Use groupOfUniqueNames and uniqueMember
* Update README.md
2022-12-13 18:20:37 +01:00
Matias Chomicki
58a41af3f3
Loki Query Editor: Add support to display query parsing errors to users ( #59427 )
...
* feat(loki-query-validation): validation proof of concept
* feat(loki-query-validation): refactor and properly display the error portion
* feat(loki-query-validation): add support for multi-line queries
* feat(loki-query-validation): improve display of linting errors to users
* feat(loki-query-validation): add unit tests
* Chore: remove unused import
* wip
* Revert "wip"
This reverts commit 44896f7fa2d33251033f8c37776f4d6f2f43787d.
* Revert "Revert "wip""
This reverts commit f7889f49a6b0bdc5a4b677e9bbb8c62ea3cccb74.
* feat(loki-query-validation): parse original and interpolated query for better validation feedback
* feat(loki-query-validation): refactor interpolated query validation support
* feat(loki-query-validation): improve validation for interpolated queries
2022-12-13 12:07:59 -05:00
renovate[bot]
c2dcf78fac
Update dependency @react-types/button to v3.7.0 ( #60241 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-13 16:04:03 +00:00
Ryan McKinley
cf055ab4ec
k8s: Add a dev only feature flag and simple service to get a client ( #60204 )
2022-12-13 07:41:16 -08:00
Sven Grossmann
ebd728a99a
Logs: Fix Logs Pagination Button styling ( #60219 )
...
use css class rather css strings
2022-12-13 16:23:16 +01:00
Laura Fernández
5f4435b693
GLDS: Update icons in Storybook ( #60183 )
2022-12-13 16:17:55 +01:00
renovate[bot]
d08d1e6f0f
Update dependency @opentelemetry/semantic-conventions to v1.8.0 ( #60230 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-13 14:59:26 +00:00
Ashley Harrison
535c4576f7
Command Palette: Fix not being able to type if triggered whilst another modal is open ( #59728 )
...
handle command palette in the same way as other modals
2022-12-13 14:44:32 +00:00
Ashley Harrison
c801f030fb
Navigation: use the branding menu logo in topnav ( #60227 )
...
use the branding menu logo in topnav
2022-12-13 14:44:18 +00:00
Domas
c2cea076ee
Chore: Add deprecation warnings for Sentry ( #60165 )
2022-12-13 16:41:42 +02:00
Dan Cech
fe3ae49cce
Backend: Consistently use context RemoteAddr function to determine remote address. ( #60201 )
...
consistently use context RemoteAddr function to determine remote address
2022-12-13 09:33:05 -05:00
Ashley Harrison
4e7a316903
TimePicker: Fix time picker selection ( #60104 )
...
fix time picker selection
2022-12-13 14:11:15 +00:00
Gabriel MABILLE
109df85cae
RBAC: Add benchmarks to search all users given a specific permission ( #59980 )
...
* RBAC: Add benchmarks to search all users given a specific permission
* Add missing time
* Inline benchmarks
* Make bench setup memory efficient
* fix user id
* comment
* Ran 10K_10k and got a better time this time
* change comment to pass linting
* change comment to pass linting
* Update pkg/services/accesscontrol/acimpl/service_bench_test.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-12-13 09:07:15 -05:00
Dimitris Sotirakis
be0e4ab179
Enterprise checks: Update pull request check regexp
for enterprise ( #60234 )
...
Update pull request check regexp for enterprise
2022-12-13 08:01:20 -06:00
Eric Leijonmarck
371d7850a5
Auth: Service account store refactor ( #58961 )
...
* refactor: renaming of files from database to store
* refactor: make service account store private
- moves store interface to manager package
- adds an interface to the ProvideAPI constructor
- refactors tests to use the store when necessary
- adds mocks for the new interface implementations in the tests package
* wip
* refactor: make fakestore in service
* wip
* wip
* wip
* working tests
* trailing whitespaces
* Update pkg/services/serviceaccounts/api/api.go
* Update pkg/services/serviceaccounts/tests/common.go
* Update pkg/services/serviceaccounts/tests/common.go
* refactor: doc string for retriever
* fix import unused
* remove: serviceaccount from featuretoggle
* added: back legacy serviceaccounts feature toggle
* added: docs
* refactor: make query for the SearchQuery
* add: validation of service input fields
* add validation
2022-12-13 14:56:10 +01:00
renovate[bot]
13adaddfaa
Update babel monorepo ( #60208 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-13 13:52:47 +00:00
Shirley
db145774d3
CloudWatch: Fix logs insights deeplink ( #59906 )
...
* CloudWatch: Add arns to log insights button
* start test
* convert to function component
* add tests
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
2022-12-13 14:50:39 +01:00
Dominik Prokop
239888f229
Snapshots: Build snapshot originalUrl on the backend ( #60232 )
...
* Snapshots: Fix originalUrl spoof security issue
* Store relative URL only & validate UID
* use existing modal management tools
* Dummy commit to nudge CI
* Remove unused hooks file
* Fix import after backport
* Backport fixes
Co-authored-by: kay delaney <kay@grafana.com>
2022-12-13 05:48:54 -08:00
Emil Tullstedt
f864be5024
Chore: Deny gopkg.in/yaml.v2 ( #60187 )
2022-12-13 14:31:04 +01:00