azure-core
Public Attributes | List of all members
Azure::Core::Http::Policies::TelemetryOptions Struct Referencefinal

Telemetry options, used to configure telemetry parameters. More...

#include <policy.hpp>

Public Attributes

std::string ApplicationId
 The Application ID is the last part of the user agent for telemetry. More...
 
std::shared_ptr< Azure::Core::Tracing::TracerProviderTracingProvider
 Specifies the default distributed tracing provider to use for this client. By default, this will be the tracing provider specified in the application context. More...
 

Detailed Description

Note
See https://azure.github.io/azure-sdk/general_azurecore.html#telemetry-policy.

Member Data Documentation

◆ ApplicationId

std::string Azure::Core::Http::Policies::TelemetryOptions::ApplicationId
Note
This option allows an end-user to create an SDK client and report telemetry with a specific ID for it. The default is an empty string.

◆ TracingProvider

std::shared_ptr<Azure::Core::Tracing::TracerProvider> Azure::Core::Http::Policies::TelemetryOptions::TracingProvider

The documentation for this struct was generated from the following file:
Azure::Core::Context::GetTracerProvider
std::shared_ptr< Tracing::TracerProvider > GetTracerProvider()
Returns the tracer provider for the current context.
Definition: context.hpp:259
Azure::Core::Context::ApplicationContext
static AZ_CORE_DLLEXPORT Context ApplicationContext
The application context (root).
Definition: context.hpp:276