This document describes the content requirements for SDKs when sending telemetry to the data collection endpoint.
SDK authors should also read Endpoint Protocol to ensure they conform to the request-response protocol.
As defined in the Endpoint Protocol specification, the body of a request should contain one or more telemetry items in JSON form.
The endpoint accepts JSON documents that conform to a specific schema currently referred to as v2-schema
.
The schema has three main parts:
- An outer envelope.
- A property bag called tags.
- A type-specific data object.
At this point the v2-schema definition is not available however we are working on releasing a formal definition for SDK authors to reference.
An SDK author can validate data is conforming to authoring requirements by sending their payload to https://dc.services.visualstudio.com/v2/validate
. Data sent to this endpoint will not be permenantly recorded.
See SDK Versions for the information on how to report custom SDK version.