-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathgrafana-central-config.alloy
61 lines (52 loc) · 1.1 KB
/
grafana-central-config.alloy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// For Linkerd Jaeger when enabled (port 55678)
otelcol.receiver.opencensus "default" {
output {
metrics = []
traces = [otelcol.processor.batch.default.input]
}
}
// For Nginx Ingress and Istio (port 4317)
// https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/opentelemetry/
otelcol.receiver.otlp "default" {
grpc {
include_metadata = true
}
output {
metrics = []
logs = []
traces = [otelcol.processor.batch.default.input]
}
}
// For Mimir (port 14268)
// https://grafana.com/docs/mimir/latest/configure/configure-tracing/
otelcol.receiver.jaeger "default" {
protocols {
thrift_http { }
}
output {
traces = [otelcol.processor.batch.default.input]
}
}
otelcol.processor.batch "default" {
timeout = "5s"
send_batch_size = 1000
output {
metrics = []
logs = []
traces = [otelcol.exporter.otlp.default_0.input]
}
}
otelcol.exporter.otlp "default_0" {
retry_on_failure {
max_elapsed_time = "1m0s"
}
client {
endpoint = "tempo-distributor.tempo.svc:55680"
tls {
insecure = true
}
headers = {
"X-Scope-OrgID" = "_local",
}
}
}