Method | Description | |
---|---|---|
WriteEnvelopeProperties ( this telemetry, IJsonWriter json ) : void | ||
WriteTelemetryName ( this telemetry, IJsonWriter json, string telemetryName ) : void |
Method | Description | |
---|---|---|
NormalizeInstrumentationKey ( string instrumentationKey ) : string |
Normalize instrumentation key by removing dashes ('-') and making string in the lowercase. In case no InstrumentationKey is available just return empty string. In case when InstrumentationKey is available return normalized key + dot ('.') as a separator between instrumentation key part and telemetry name part.
|
public static WriteEnvelopeProperties ( this telemetry, IJsonWriter json ) : void | ||
telemetry | this | |
json | IJsonWriter | |
return | void |
public static WriteTelemetryName ( this telemetry, IJsonWriter json, string telemetryName ) : void | ||
telemetry | this | |
json | IJsonWriter | |
telemetryName | string | |
return | void |