grafana/pkg/expr
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
..
classic Alerting: Log expression command types during evaluation (#84614) 2024-03-19 10:00:03 -04:00
mathexp chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
ml Alerting: Log expression command types during evaluation (#84614) 2024-03-19 10:00:03 -04:00
sql sql expressions - logging (#88193) 2024-05-22 17:18:46 -04:00
commands_test.go Expressions: Add model struct for the query types (not map[string]any) (#82745) 2024-02-17 02:59:11 +02:00
commands.go Alerting: Log expression command types during evaluation (#84614) 2024-03-19 10:00:03 -04:00
converter_test.go Feature Flags: use FeatureToggles interface where possible (#85131) 2024-04-04 12:22:31 -04:00
converter.go SSE: (Chore) Update log line with context (trace) (#89172) 2024-06-13 10:58:39 -04:00
dataplane_test.go Expressions: sort numeric metrics behind feature toggle (#85911) 2024-04-16 10:52:47 -04:00
dataplane.go Expressions: sort numeric metrics behind feature toggle (#85911) 2024-04-16 10:52:47 -04:00
errors_test.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
errors.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
graph_test.go Expressions: Add model struct for the query types (not map[string]any) (#82745) 2024-02-17 02:59:11 +02:00
graph.go Alerting: Recording rules understands errors embedded in dataframes (#88946) 2024-06-11 10:37:10 -05:00
hysteresis_test.go SSE: Threshold expression to use simple functions (#86062) 2024-04-16 13:35:41 -04:00
hysteresis.go Alerting: Log expression command types during evaluation (#84614) 2024-03-19 10:00:03 -04:00
metrics.go SSE: (Instrumentation/Chore) Add datasource_type label to grafana_sse (#72370) 2023-07-26 10:51:02 -04:00
ml_test.go Chore: Remove plugincontext.ErrPluginNotFound (#74997) 2023-09-25 13:10:47 +03:00
ml.go SSE: (Chore) Update log line with context (trace) (#89172) 2024-06-13 10:58:39 -04:00
nodes_test.go Expressions: expose ConvertDataFramesToResults (#83805) 2024-03-04 18:22:56 +02:00
nodes.go SSE: (Chore) Update log line with context (trace) (#89172) 2024-06-13 10:58:39 -04:00
query_test.go Expressions: Create json schema for query types (#84032) 2024-03-26 06:58:56 +02:00
query.go QueryTypes: Add feature toggle to show query types in datasource apiservers (#88213) 2024-05-23 18:46:28 +02:00
query.panel.example.json Expressions: Create json schema for query types (#84032) 2024-03-26 06:58:56 +02:00
query.panel.schema.json Plugins: Support Admission validation hooks (#87718) 2024-05-24 18:45:16 +03:00
query.request.example.json Expressions: Create json schema for query types (#84032) 2024-03-26 06:58:56 +02:00
query.request.schema.json Plugins: Support Admission validation hooks (#87718) 2024-05-24 18:45:16 +03:00
query.types.json Expressions: Create json schema for query types (#84032) 2024-03-26 06:58:56 +02:00
reader.go Chore: Remove legacydata package (#88790) 2024-06-05 22:31:06 +02:00
service_test.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
service.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
sql_command_test.go [sql expressions] fix: use ast to read tables (#87867) 2024-05-14 17:05:29 -04:00
sql_command.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
testing.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
threshold_bench_test.go SSE: Threshold expression to use simple functions (#86062) 2024-04-16 13:35:41 -04:00
threshold_test.go SSE: Threshold expression to use simple functions (#86062) 2024-04-16 13:35:41 -04:00
threshold.go SSE: Fix threshold unmarshal to avoid panic (#88521) 2024-06-03 16:16:13 -04:00
transform.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00