opentelemetry-dotnet/examples/AspNetCore/appsettings.json

44 lines
919 B
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information"
},
"OpenTelemetry": {
"IncludeFormattedMessage": true,
"IncludeScopes": true,
"ParseStateValues": true
}
},
"ServiceName": "otel-test",
"AllowedHosts": "*",
"UseTracingExporter": "console",
"UseMetricsExporter": "console",
"UseLogExporter": "console",
"HistogramAggregation": "explicit",
"Jaeger": {
"AgentHost": "localhost",
"AgentPort": 6831,
"Endpoint": "http://localhost:14268",
"Protocol": "UdpCompactThrift"
},
"Zipkin": {
"Endpoint": "http://localhost:9411/api/v2/spans"
},
"Otlp": {
"Endpoint": "http://localhost:4317"
},
"AspNetCoreInstrumentation": {
"RecordException": "true"
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:5000"
},
"Https": {
"Url": "https://localhost:5001"
}
}
}
}