Implements

Constructors

  • Constructs a new instance of the EventTelemetry object

    Parameters

    • logger: IDiagnosticLogger
    • name: string
    • Optionalproperties: any
    • Optionalmeasurements: any

    Returns Event

Properties

aiDataContract: {
    measurements: FieldType;
    name: FieldType;
    properties: FieldType;
    ver: FieldType;
}

The set of fields for a serializable object. This defines the serialization order and a value of true/false for each field defines whether the field is required or not.

dataType: string

Use the constant EventDataType instead.

envelopeType: string

Use the constant EventEnvelopeType instead.

measurements: any

Collection of custom measurements.

name: string

Event name. Keep it low cardinality to allow proper grouping and useful metrics.

properties: any

Collection of custom properties.

ver: number

Schema version