You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Telemetry initializer that sets the CloudRoleInstance property.
/// Uses either the provided cloud instance identifier or defaults to the machine name.
/// </summary>
public class CloudInstanceConverter : ITelemetryInitializer
{
private readonly string _cloudInstance;
/// <summary>
/// Initializes a new instance of the <see cref="CloudInstanceConverter"/> class.
/// </summary>
/// <param name="cloudInstance">The cloud instance identifier (machine name or resource group + instance). If null, uses Environment.MachineName.</param>
public CloudInstanceConverter(string? cloudInstance = null)