forked from CommunityToolkit/Aspire
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
41 lines (38 loc) · 1012 Bytes
/
Copy pathconfig.yaml
File metadata and controls
41 lines (38 loc) · 1012 Bytes
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
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
batch:
transform/add-collector-enabled:
error_mode: ignore
log_statements:
- set(resource.attributes["collector.enabled"], "true")
trace_statements:
- set(resource.attributes["collector.enabled"], "true")
metric_statements:
- set(resource.attributes["collector.enabled"], "true")
exporters:
debug:
verbosity: detailed
otlp/aspire:
endpoint: ${env:ASPIRE_ENDPOINT}
headers:
x-otlp-api-key: ${env:ASPIRE_API_KEY}
service:
pipelines:
traces:
receivers: [otlp]
processors: [batch, transform/add-collector-enabled]
exporters: [otlp/aspire]
metrics:
receivers: [otlp]
processors: [batch, transform/add-collector-enabled]
exporters: [otlp/aspire]
logs:
receivers: [otlp]
processors: [batch, transform/add-collector-enabled]
exporters: [debug,otlp/aspire]