This commit is contained in:
Mike McFetridge
2026-07-23 19:38:14 -04:00
parent 72272e4006
commit 84e1ead50c
283 changed files with 0 additions and 206 deletions
@@ -0,0 +1,20 @@
<%- if logs_enabled %>
loki.write "default" {
endpoint {
url = "<< logs_loki_url >>"
// Batching configuration to reduce request volume and prevent rate limiting
batch_wait = "5s" // Wait up to 5 seconds before sending
batch_size = "1MiB" // Send when batch reaches 1MB (1048576 bytes)
}
external_labels = {}
}
<%- endif %>
<%- if metrics_enabled %>
prometheus.remote_write "default" {
endpoint {
url = "<< metrics_prometheus_url >>"
}
}
<%- endif %>