53 lines
1.7 KiB
TypeScript
53 lines
1.7 KiB
TypeScript
import Domain = require('./Domain');
|
|
/**
|
|
* An instance of Remote Dependency represents an interaction of the monitored component with a remote component/service like SQL or an HTTP endpoint.
|
|
*/
|
|
declare class RemoteDependencyData extends Domain {
|
|
/**
|
|
* Schema version
|
|
*/
|
|
ver: number;
|
|
/**
|
|
* Name of the command initiated with this dependency call. Low cardinality value. Examples are stored procedure name and URL path template.
|
|
*/
|
|
name: string;
|
|
/**
|
|
* Identifier of a dependency call instance. Used for correlation with the request telemetry item corresponding to this dependency call.
|
|
*/
|
|
id: string;
|
|
/**
|
|
* Result code of a dependency call. Examples are SQL error code and HTTP status code.
|
|
*/
|
|
resultCode: string;
|
|
/**
|
|
* Request duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days.
|
|
*/
|
|
duration: string;
|
|
/**
|
|
* Indication of successfull or unsuccessfull call.
|
|
*/
|
|
success: boolean;
|
|
/**
|
|
* Command initiated by this dependency call. Examples are SQL statement and HTTP URL's with all query parameters.
|
|
*/
|
|
data: string;
|
|
/**
|
|
* Target site of a dependency call. Examples are server name, host address.
|
|
*/
|
|
target: string;
|
|
/**
|
|
* 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.
|
|
*/
|
|
type: string;
|
|
/**
|
|
* Collection of custom properties.
|
|
*/
|
|
properties: any;
|
|
/**
|
|
* Collection of custom measurements.
|
|
*/
|
|
measurements: any;
|
|
constructor();
|
|
}
|
|
export = RemoteDependencyData;
|