dolittle/DotNET.SDK

View on GitHub
Source/Diagnostics.OpenTelemetry/OpenTelemetryConfigurationExtensions.cs

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Method ConfigureOpenTelemetry has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static IHostBuilder ConfigureOpenTelemetry(this IHostBuilder builder, Func<OpenTelemetrySettings> getSettings)
    {
        // Defaults:
        // Exporter Endpoint env => OTEL_EXPORTER_OTLP_ENDPOINT
        // If env not set default is: grpc on http://localhost:4317 or http on http://localhost:4318

    There are no issues that match your filters.

    Category
    Status