grafana/pkg/tsdb/cloudwatch
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
..
clients CloudWatch: Remove references to pkg/infra/metrics (#81744) 2024-02-06 21:21:55 +02:00
constants Cloudwatch: Use the metric map from grafana-aws-sdk (#88733) 2024-06-06 21:25:54 +03:00
features CloudWatch: Improve metric label parsing (#84835) 2024-04-05 11:57:56 -04:00
kinds/dataquery Datasource: Change query filtering (#84656) 2024-03-21 13:39:39 +01:00
mocks FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
models Cloudwatch: Use the metric map from grafana-aws-sdk (#88733) 2024-06-06 21:25:54 +03:00
routes Cloudwatch: Fix issue with Grafana Assume Role (#84315) 2024-03-12 16:30:54 -04:00
services chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
testdata CloudWatch: Handle permissions error and update docs (#88524) 2024-05-31 14:36:38 -04:00
utils Core: Remove thema and kindsys dependencies (#84499) 2024-03-21 11:11:29 +01:00
annotation_query_test.go CloudWatch: Move SessionCache onto the instance (#83278) 2024-02-26 15:59:54 -05:00
annotation_query.go Core: Remove thema and kindsys dependencies (#84499) 2024-03-21 11:11:29 +01:00
client_factory.go Cloudwatch: Fix Unexpected error (#74420) 2023-09-25 14:19:12 -04:00
cloudwatch_integration_test.go CloudWatch: Move SessionCache onto the instance (#83278) 2024-02-26 15:59:54 -05:00
cloudwatch_test.go CloudWatch: Move SessionCache onto the instance (#83278) 2024-02-26 15:59:54 -05:00
cloudwatch.go Core: Remove thema and kindsys dependencies (#84499) 2024-03-21 11:11:29 +01:00
get_dimension_values_for_wildcards_test.go CloudWatch: Add labels for Metric Query type queries (#85766) 2024-04-30 09:06:16 -07:00
get_dimension_values_for_wildcards.go CloudWatch: Add labels for Metric Query type queries (#85766) 2024-04-30 09:06:16 -07:00
get_metric_data_executor_test.go CloudWatch: Refactor test mock by removing GetMetricsData from FakeMetricsAPI (#58355) 2022-11-08 10:28:50 +01:00
get_metric_data_executor.go CloudWatch: Remove references to pkg/infra/metrics (#81744) 2024-02-06 21:21:55 +02:00
get_metric_query_batches_test.go Cloudwatch: Remove core imports from infra/log (#81543) 2024-02-07 13:53:05 +01:00
get_metric_query_batches.go Cloudwatch: Remove core imports from infra/log (#81543) 2024-02-07 13:53:05 +01:00
log_actions_test.go Cloudwatch Logs: Fix bug where we did not return errors to user (#87190) 2024-06-04 08:43:36 -04:00
log_actions.go Cloudwatch Logs: Fix bug where we did not return errors to user (#87190) 2024-06-04 08:43:36 -04:00
log_query_test.go CloudWatch Logs: Add labels to alert and expression queries (#77529) 2023-11-02 16:26:31 -04:00
log_query.go CloudWatch Logs: Add labels to alert and expression queries (#77529) 2023-11-02 16:26:31 -04:00
log_sync_query_test.go CloudWatch: Move SessionCache onto the instance (#83278) 2024-02-26 15:59:54 -05:00
log_sync_query.go Core: Remove thema and kindsys dependencies (#84499) 2024-03-21 11:11:29 +01:00
metric_data_input_builder_test.go CloudWatch: Improve metric label parsing (#84835) 2024-04-05 11:57:56 -04:00
metric_data_input_builder.go CloudWatch: Improve metric label parsing (#84835) 2024-04-05 11:57:56 -04:00
metric_data_query_builder_test.go CloudWatch: Fix apostrophes in dimension values not being escaped (#87182) 2024-05-02 06:15:11 -07:00
metric_data_query_builder.go CloudWatch: Fix apostrophes in dimension values not being escaped (#87182) 2024-05-02 06:15:11 -07:00
metric_find_query_test.go CloudWatch: Move SessionCache onto the instance (#83278) 2024-02-26 15:59:54 -05:00
metric_find_query.go CloudWatch: Remove unused handleGetRegions and regionCache (#83333) 2024-02-26 09:35:59 -05:00
resource_handler.go Cloudwatch: Fix issue with Grafana Assume Role (#84315) 2024-03-12 16:30:54 -04:00
response_parser_test.go CloudWatch: Fix labels for raw metric search queries (#88943) 2024-06-07 17:37:19 -04:00
response_parser.go CloudWatch: Fix labels for raw metric search queries (#88943) 2024-06-07 17:37:19 -04:00
sort_frame_test.go CloudWatch/Logs: Fix crash when time column has nil values (#37708) 2021-08-12 10:36:06 +02:00
sort_frame.go CloudWatch/Logs: Fix crash when time column has nil values (#37708) 2021-08-12 10:36:06 +02:00
test_utils.go Cloudwatch: Remove cloudWatchWildCardDimensionValues feature toggle (#84329) 2024-03-15 09:49:53 -04:00
time_series_query_test.go CloudWatch: Move SessionCache onto the instance (#83278) 2024-02-26 15:59:54 -05:00
time_series_query.go CloudWatch: Add labels for Metric Query type queries (#85766) 2024-04-30 09:06:16 -07:00