added repo

This commit is contained in:
Your Name
2026-08-26 03:39:42 +05:30
parent 45c25a95af
commit b8575bb8b9
6889 changed files with 1217125 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
// recivers
otelcol.receiver.otlp "otlp_receiver" {
grpc {
endpoint = "0.0.0.0:4317"
}
http {
endpoint = "0.0.0.0:4318"
}
output {
metrics = [otelcol.processor.batch.otlp_batcher.input]
logs = [otelcol.processor.batch.otlp_batcher.input]
traces = [otelcol.exporter.loadbalancing.otel.input]
}
}
otelcol.processor.batch "otlp_batcher" {
output {
metrics = [otelcol.exporter.otlphttp.mimir.input]
logs = [otelcol.exporter.otlphttp.loki.input]
}
}
otelcol.exporter.otlphttp "mimir" {
client {
endpoint = "http://mimir-nginx.mimir-distributed.svc.clusterset.local/otlp"
headers = {"X-Scope-OrgID" = "anonymous"}
tls {
insecure = true
}
}
}
otelcol.exporter.otlphttp "loki" {
client {
endpoint = "http://loki-gateway.loki-distributed.svc.clusterset.local/otlp"
tls {
insecure = true
}
}
}
otelcol.exporter.loadbalancing "otel" {
routing_key = "traceID"
resolver {
dns {
hostname = "opentelemetry-admin-prd-headless.opentelemetry.svc.clusterset.local"
timeout = "5s"
}
}
protocol {
otlp {
client {
tls {
insecure = true
}
}
queue {
num_consumers = 100
queue_size = 100000
}
}
}
}