grafana/pkg/infra/log
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
..
logtest Chore: Moving to slog (folders) (#87000) 2024-05-02 09:14:12 +02:00
slogadapter Chore: Moving to slog (folders) (#87000) 2024-05-02 09:14:12 +02:00
term Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
text Chore: Missed deprecations due to overly broad lint exclusion (#59732) 2022-12-14 12:32:45 +01:00
composite_logger_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
composite_logger.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
databaseCounter_test.go Instrumentation: log the total number of db queries per request (#54647) 2022-09-05 07:39:22 +02:00
databaseCounter.go Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
file_test.go Chore: Fix goimports grouping in pkg/infra (#62421) 2023-01-30 08:32:25 +00:00
file.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
handlers.go Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00
interface.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
log_test.go Logging: Add WithContextualAttributes to pass log params based on the given context (#74428) 2023-09-07 13:13:34 +02:00
log.go chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
requestTiming.go Plugins: Add username to datasource plugin logging (#59893) 2022-12-07 13:15:42 +01:00
syslog_windows.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
syslog.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00