forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AzureMonitorDistro] New Public API for Azure Monitor Distro (Azure#3…
…5250) * New Public API for Azure Monitor Distro. * Update Readme
- Loading branch information
1 parent
fa13e7e
commit d0eb2bb
Showing
9 changed files
with
120 additions
and
318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 6 additions & 10 deletions
16
...tor.OpenTelemetry.AspNetCore/api/Azure.Monitor.OpenTelemetry.AspNetCore.netstandard2.0.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
namespace Azure.Monitor.OpenTelemetry.AspNetCore | ||
{ | ||
public static partial class AzureMonitorExtensions | ||
{ | ||
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAzureMonitor(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; } | ||
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAzureMonitor(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Azure.Monitor.OpenTelemetry.AspNetCore.AzureMonitorOptions options) { throw null; } | ||
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAzureMonitor(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<Azure.Monitor.OpenTelemetry.AspNetCore.AzureMonitorOptions> configureAzureMonitor) { throw null; } | ||
} | ||
public partial class AzureMonitorOptions | ||
public partial class AzureMonitorOptions : Azure.Core.ClientOptions | ||
{ | ||
public AzureMonitorOptions() { } | ||
public string ConnectionString { get { throw null; } set { } } | ||
public Azure.Core.TokenCredential Credential { get { throw null; } set { } } | ||
public bool DisableOfflineStorage { get { throw null; } set { } } | ||
public bool EnableLogs { get { throw null; } set { } } | ||
public bool EnableMetrics { get { throw null; } set { } } | ||
public bool EnableTraces { get { throw null; } set { } } | ||
public string StorageDirectory { get { throw null; } set { } } | ||
} | ||
public static partial class OpenTelemetryBuilderExtensions | ||
{ | ||
public static OpenTelemetry.OpenTelemetryBuilder WithAzureMonitor(this OpenTelemetry.OpenTelemetryBuilder builder) { throw null; } | ||
public static OpenTelemetry.OpenTelemetryBuilder WithAzureMonitor(this OpenTelemetry.OpenTelemetryBuilder builder, System.Action<Azure.Monitor.OpenTelemetry.AspNetCore.AzureMonitorOptions> configureAzureMonitor) { throw null; } | ||
} | ||
} |
51 changes: 0 additions & 51 deletions
51
sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/src/AzureMonitorExtensions.cs
This file was deleted.
Oops, something went wrong.
206 changes: 0 additions & 206 deletions
206
sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/src/AzureMonitorImplementations.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.