-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.Example.json
More file actions
27 lines (27 loc) · 856 Bytes
/
Copy pathappsettings.Example.json
File metadata and controls
27 lines (27 loc) · 856 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
{
"Telemetry": {
"Enabled": true,
"Endpoint": "https://otel-collector.example.com:4317",
"Protocol": "Grpc",
"Headers": "x-otlp-api-key=replace-me,x-tenant=orders",
"ServiceName": "orders-api",
"ResourceAttributes": {
"deployment.environment": "production",
"service.version": "2.4.1",
"team": "orders"
},
"EnableTracing": true,
"EnableMetrics": true,
"EnableLogging": true,
"SampleRatio": 0.1,
"EnableAspNetCoreInstrumentation": true,
"EnableHttpClientInstrumentation": true,
"EnableRuntimeInstrumentation": true,
"AdditionalTracingSources": [ "Npgsql", "MyApp.Orders" ],
"AdditionalMeters": [ "MyApp.Orders" ],
"RecordExceptions": false,
"ExcludedPaths": [ "/health", "/ready", "/metrics" ],
"IncludeScopes": false,
"IncludeFormattedMessage": true
}
}