grafana/pkg/services/searchV2
Dave Henderson 6262c56132
chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952)
* chore(perf): Pre-allocate where possible (enable prealloc linter)

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* fix TestAlertManagers_buildRedactedAMs

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* prealloc a slice that appeared after rebase

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

---------

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-06-14 14:16:36 -04:00
..
object/testdata ObjectStore: add a kind registry (#56507) 2022-10-08 12:05:46 -04:00
testdata Backend: Use latest plugin-sdk-go v0.149.1 (#63498) 2023-02-21 09:06:15 -05:00
allowed_actions_test.go Chore: remove querylibrary feature toggle (#65021) 2023-03-20 20:00:14 +04:00
allowed_actions.go Chore: remove checks for whether RBAC is disabled (#73812) 2023-08-25 14:19:58 +01:00
auth.go Chore: capitalise log messages for app platform (#74336) 2023-09-04 18:46:08 +02:00
bluge.go chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
extender.go Search: support alpha + and enterprise sorting values (#49362) 2022-05-23 10:05:15 -07:00
filter.go Chore: capitalise log messages for app platform (#74336) 2023-09-04 18:46:08 +02:00
http.go Grafana: Replace magic number with a constant variable in response status (#80132) 2024-02-27 18:39:51 +02:00
index_test.go Chore: Fix goimports grouping (#62429) 2023-01-30 09:57:50 +01:00
index.go Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
ngram_test.go chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
ngram.go Search: Filter punctuation and tokenize camel case (#51165) 2022-06-30 16:30:44 -07:00
search_service_mock.go Chore: Fix goimports grouping (#62429) 2023-01-30 09:57:50 +01:00
service_bench_test.go Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
service.go FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
stub.go Chore: Fix goimports grouping (#62429) 2023-01-30 09:57:50 +01:00
substring_query.go Search: Add substring matcher (#54813) 2022-09-08 12:10:30 +02:00
types.go PanelTitleSearch: Show datasource usage in plugins (#83922) 2024-03-05 22:20:38 +02:00
usage.go Chore: capitalise log messages for app platform (#74336) 2023-09-04 18:46:08 +02:00
utils.go Search: limit max size of batches during indexing (#49187) 2022-05-19 18:57:26 +03:00