grafana/pkg/tsdb/elasticsearch
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
..
client Elasticsearch: Remove enableElasticsearchBackendQuerying feature toggle (#88668) 2024-06-05 17:03:29 +02:00
instrumentation Elasticsearch: Add instrumentation for elasticsearch_plugin_parse_response_duration_seconds (#75628) 2023-09-28 18:38:14 +03:00
kinds/dataquery Datasource: Change query filtering (#84656) 2024-03-21 13:39:39 +01:00
testdata Elasticsearch: Fix creating of legend so it is backward compatible with frontend produced frames (#81708) 2024-02-02 12:47:45 +01:00
testdata_request Elasticsearch: Fix processing of raw_data with not-recognized time format (#78262) 2023-11-20 12:01:41 +01:00
testdata_response Elasticsearch: Fix creating of legend so it is backward compatible with frontend produced frames (#81708) 2024-02-02 12:47:45 +01:00
data_query_test.go Elasticsearch: Fix legend for alerting, expressions and previously frontend queries (#84485) 2024-03-18 18:01:33 +01:00
data_query.go Elasticsearch: Fix legend for alerting, expressions and previously frontend queries (#84485) 2024-03-18 18:01:33 +01:00
elasticsearch_test.go Elasticsearchl: In version check, include / (#88779) 2024-06-05 15:54:04 +02:00
elasticsearch.go Elasticsearchl: In version check, include / (#88779) 2024-06-05 15:54:04 +02:00
error_handling_test.go Elasticsearch: Add error source for DataQuery (#77386) 2023-11-06 11:36:39 +01:00
healthcheck_test.go Elasticsearch: Implement CheckHealth method in the backend (#81671) 2024-02-02 11:08:52 +01:00
healthcheck.go Elasticsearch: Implement CheckHealth method in the backend (#81671) 2024-02-02 11:08:52 +01:00
models.go Elasticsearch: Fix using of individual query time ranges when querying (#84201) 2024-03-13 12:49:35 +02:00
parse_query_test.go Elasticsearch: Improve backend instrumentation of QueryData calls (#74172) 2023-09-07 13:54:16 +02:00
parse_query.go Elasticsearch: Fix using of individual query time ranges when querying (#84201) 2024-03-13 12:49:35 +02:00
querydata_test.go chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
response_bench_test.go Elasticsearch: Add benchmarks for processing of requests and responses (#65354) 2023-03-31 11:59:11 +02:00
response_parser_test.go Elasticsearch: Fix legend for alerting, expressions and previously frontend queries (#84485) 2024-03-18 18:01:33 +01:00
response_parser.go chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
snapshot_test.go Elastic: Add id field to Elastic responses to allow permalinking (#73382) 2023-08-18 11:39:58 +02:00