v1

latestSwagger 2.02026-07-1712033.0 KB

Track telemetry events

This operation sends a sequence of telemetry events that will be monitored by Azure Monitor.

post/track

Request body

vernumber

Envelope version. For internal use only. By assigning this the default, it will not be serialized within the payload unless changed to a value other than #1.

namestring required

Type name of telemetry data item.

timestring date-time required

Event date time when telemetry item was created. This is the wall clock time on the client when the event was generated. There is no guarantee that the client's time is accurate. This field must be formatted in UTC ISO 8601 format, with a trailing 'Z' character, as described publicly on https://en.wikipedia.org/wiki/ISO_8601#UTC. Note: the number of decimal seconds digits provided are variable (and unspecified). Consumers should handle this, i.e. managed code consumers should not use format 'O' for parsing as it specifies a fixed length. Example: 2009-06-15T13:45:30.0000000Z.

sampleRatenumber float

Sampling rate used in application. This telemetry item represents 100 / sampleRate actual telemetry items.

seqstring

Sequence field used to track absolute order of uploaded events.

iKeystring

The instrumentation key of the Application Insights resource.

tagsobject

Key/value collection of context properties. See ContextTagKeys for information on available properties.

Response

All of the telemetry items were accepted and processed.

itemsReceivednumber

The number of items received.

itemsAcceptednumber

The number of items accepted.

All 1 operations