initial commit
This commit is contained in:
24
config.alloy
Normal file
24
config.alloy
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user