Fetching contributors…
Cannot retrieve contributors at this time
49 lines (36 sloc) 1.82 KB
import ""
namespace AI
[Description("An instance of Request represents completion of an external request to the application to do work and contains a summary of that request execution and the results.")]
struct RequestData
: Domain
[Description("Schema version")]
10: required int32 ver = 2;
[Description("Identifier of a request call instance. Used for correlation between request and other telemetry items.")]
20: required string id;
[Description("Request duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days.")]
50: required string duration;
[Description("Result of a request execution. HTTP status code for HTTP requests.")]
60: required string responseCode;
[Description("Indication of successfull or unsuccessfull call.")]
70: required bool success = true;
[Description("Source of the request. Examples are the instrumentation key of the caller or the ip address of the caller.")]
29: string source;
[Description("Name of the request. Represents code path taken to process request. Low cardinality value to allow better grouping of requests. For HTTP requests it represents the HTTP method and URL path template like 'GET /values/{id}'.")]
30: string name;
[Description("Request URL with all query string parameters.")]
90: string url;
[Description("Collection of custom properties.")]
100: map<string, string> properties;
[Description("Collection of custom measurements.")]
200: map<string, double> measurements;