@@ -26,7 +26,7 @@ public static class OpenTelemetryBuilderOtlpExporterExtensions
26
26
/// tracing.</item>
27
27
/// <item>The exporter registered by this method will be added as the last
28
28
/// processor in the pipeline established for logging and tracing.</item>
29
- /// <item>This method can only be called once. Subsequent calls will results
29
+ /// <item>This method can only be called once. Subsequent calls will result
30
30
/// in a <see cref="NotSupportedException"/> being thrown.</item>
31
31
/// <item>This method cannot be called in addition to signal-specific
32
32
/// <c>AddOtlpExporter</c> methods. If this method is called signal-specific
@@ -45,25 +45,25 @@ public static IOpenTelemetryBuilder UseOtlpExporter(
45
45
/// <returns><inheritdoc cref="UseOtlpExporter(IOpenTelemetryBuilder)" path="/returns"/></returns>
46
46
/// <param name="builder"><see cref="IOpenTelemetryBuilder"/>.</param>
47
47
/// <param name="protocol"><see cref="OtlpExportProtocol"/>.</param>
48
- /// <param name="baseEndpoint ">
49
- /// <para>Base endpoint to use.</para>
50
- /// Note: A signal-specific path will be appended to the base endpoint for
51
- /// each signal automatically if the protocol is set to <see
48
+ /// <param name="baseUrl ">
49
+ /// <para>Base URL to use.</para>
50
+ /// Note: A signal-specific path will be appended to the base URL for each
51
+ /// signal automatically if the protocol is set to <see
52
52
/// cref="OtlpExportProtocol.HttpProtobuf"/>.
53
53
/// </param>
54
54
public static IOpenTelemetryBuilder UseOtlpExporter (
55
55
this IOpenTelemetryBuilder builder ,
56
56
OtlpExportProtocol protocol ,
57
- Uri baseEndpoint )
57
+ Uri baseUrl )
58
58
{
59
- Guard . ThrowIfNull ( baseEndpoint ) ;
59
+ Guard . ThrowIfNull ( baseUrl ) ;
60
60
61
61
return UseOtlpExporter ( builder , name : null , configuration : null , configure : otlpBuilder =>
62
62
{
63
63
otlpBuilder . ConfigureDefaultExporterOptions ( o =>
64
64
{
65
65
o . Protocol = protocol ;
66
- o . Endpoint = baseEndpoint ;
66
+ o . Endpoint = baseUrl ;
67
67
} ) ;
68
68
} ) ;
69
69
}
0 commit comments