<PackageReference Include="Azure.Monitor.OpenTelemetry.Exporter" Version="1.8.0" />

Azure.Monitor.OpenTelemetry.Exporter.Models.RemoteDependencyData

public string Data { get; set; }

Command initiated by this dependency call. Examples are SQL statement and HTTP URL with all query parameters.

public string Duration { get; set; }

Request duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days.

public string Id { get; set; }

Identifier of a dependency call instance. Used for correlation with the request telemetry item corresponding to this dependency call.

public IDictionary<string, double> Measurements { get; }

Collection of custom measurements.

public string Name { get; set; }

Name of the command initiated with this dependency call. Low cardinality value. Examples are stored procedure name and URL path template.

public IDictionary<string, string> Properties { get; }

Collection of custom properties.

public string ResultCode { get; set; }

Result code of a dependency call. Examples are SQL error code and HTTP status code.

public bool? Success { get; set; }

Indication of successful or unsuccessful call.

public string Target { get; set; }

Target site of a dependency call. Examples are server name, host address.

public string Type { get; set; }

Dependency type name. Very low cardinality value for logical grouping of dependencies and interpretation of other fields like commandName and resultCode. Examples are SQL, Azure table, and HTTP.

public RemoteDependencyData(int version, Activity activity, ref ActivityTagsProcessor activityTagsProcessor)

public RemoteDependencyData(int version, string name, string duration)

Initializes a new instance of RemoteDependencyData.