3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
Commit Graph

58 Commits

Author SHA1 Message Date
Alexander Emelin
4551f05994
Search: fix missing dashboards due to empty uid, log errors () 2022-04-28 19:29:09 +03:00
Artur Wierzbicki
25e153e4e7
Search: in-memory index ()
* : add entity events table

* : add entity events service

* : hook up entity events service to http server

* : use `dashboards.id` rather than `uid` and `org_id` in grn

* Update pkg/services/entityevents/service.go

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>

* : move entityeventsservice to services/store

* : add null check

* : rename

* : fix comment

* : switch grn back to uid

* Search: listen for updates ()

* : wire entity event service with searchv2

* load last event id before building index for org 1

* fix service init in integration tests

* depend on required subset of event store methods

* Update pkg/services/sqlstore/migrations/entity_events_mig.go

Co-authored-by: Alexander Emelin <frvzmb@gmail.com>

* : pointer receiver

* : mockery!

* : add entity events service to background services

* dashboard query pagination, allow queries while re-indexing

* log level cleanups, use rlock, add comments

* fix lint, check feature toggle in search v2 service

* use unix time for event created column

* add missing changes for created column

* fix integration tests init

* log re-index execution times on info level

* : fix entityEventsService tests

* : save events on dashboard delete

* use camel case for log labels

* formatting

* : rename grn to entityid

* : add `IsDisabled` to entityEventsService

* : remove feature flag from migration

* better context usage, fix capacity, comments/cleanups

* replace print with logger

* Revert ": remove feature flag from migration"

This reverts commit ed23968898.

* revert:revert:revert conditional feature flag

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
2022-04-27 12:29:39 +04:00
ying-jeanne
e979690011
Linter: fix linter for golangci-lint version v1.45.0 ()
* Update golangci-lint to v1.45.2

Version 1.45.0 added support for Go 1.18:

https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md#v1450

Signed-off-by: Marcelo E. Magallon <marcelo.magallon@grafana.com>

* Linter: fix some lints issue for golangci-lint version 1.45.2

Co-authored-by: Marcelo E. Magallon <marcelo.magallon@grafana.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2022-04-12 08:15:16 -04:00
Timur Olzhabayev
25235b3167
Removing plugin list panel ()
The core plugin named plugin list panel is removed
2022-04-07 09:54:27 +02:00
Nathan Marrs
4449439a41
Search: Implement basic improved UI () 2022-03-30 09:50:32 -07:00
Ryan McKinley
024194dccd
Search: add URL as linkable field () 2022-02-18 16:03:49 -08:00
Ryan McKinley
1554bffcb8
Search: apply security in before returning results ()
Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com>
2022-02-16 09:47:41 -08:00
Ryan McKinley
d665306ad1
Search: add feature flag and basic service ()
Co-authored-by: Artur Wierzbicki <artur@arturwierzbicki.com>
2022-02-15 10:26:03 -08:00