initial commit

This commit is contained in:
2026-02-16 17:36:47 +11:00
commit cb84fe3411
10 changed files with 272 additions and 0 deletions

24
config.alloy Normal file
View File

@@ -0,0 +1,24 @@
otelcol.receiver.otlp "default" {
http {
endpoint = "0.0.0.0:4318"
}
grpc {
endpoint = "0.0.0.0:4317"
}
output {
logs = [otelcol.processor.batch.default.input]
}
}
otelcol.processor.batch "default" {
output {
logs = [otelcol.exporter.otlphttp.loki.input]
}
}
otelcol.exporter.otlphttp "loki" {
client {
endpoint = "http://loki:3100/otlp"
}
}