OtlpConfigurationExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides extension methods for configuring OpenTelemetry in projects using environment variables.
public static class OtlpConfigurationExtensions
type OtlpConfigurationExtensions = class
Public Module OtlpConfigurationExtensions
- Inheritance
-
OtlpConfigurationExtensions
Methods
AddOtlpEnvironment(IResource, IConfiguration, IHostEnvironment) |
Configures OpenTelemetry in projects using environment variables. |
WithOtlpExporter<T>(IResourceBuilder<T>) |
Injects the appropriate environment variables to allow the resource to enable sending telemetry to the dashboard.
|