-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathotel-config.yaml
More file actions
67 lines (57 loc) · 1.64 KB
/
Copy pathotel-config.yaml
File metadata and controls
67 lines (57 loc) · 1.64 KB
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
62
63
64
65
66
67
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
extensions:
health_check:
endpoint: 0.0.0.0:13133
processors:
batch:
timeout: 10s
send_batch_size: 1024
memory_limiter:
check_interval: 1s
limit_mib: 512
spike_limit_mib: 128
# Add resource attributes to metrics for Bedrock users
# Only adds if not already present (avoids duplicates)
transform:
metric_statements:
- context: datapoint
statements:
- set(attributes["provider"], resource.attributes["provider"]) where attributes["provider"] == nil and resource.attributes["provider"] != nil
- set(attributes["team"], resource.attributes["team"]) where attributes["team"] == nil and resource.attributes["team"] != nil
- set(attributes["user_email"], resource.attributes["user_email"]) where attributes["user_email"] == nil and resource.attributes["user_email"] != nil
exporters:
prometheus:
endpoint: "0.0.0.0:8889"
namespace: ""
send_timestamps: true
metric_expiration: 180m
enable_open_metrics: true
resource_to_telemetry_conversion:
enabled: false
loki:
endpoint: "http://loki:3100/loki/api/v1/push"
default_labels_enabled:
exporter: false
job: true
debug:
verbosity: basic
service:
extensions: [health_check]
telemetry:
logs:
level: info
pipelines:
metrics:
receivers: [otlp]
processors: [memory_limiter, transform, batch]
exporters: [prometheus, debug]
logs:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [loki, debug]