Skip to main content

TelemetryBaseEventPropertyType TypeAlias

Property types that can be logged.

Signature

export type TelemetryBaseEventPropertyType = string | number | boolean | undefined;

Remarks

Logging entire objects is considered extremely dangerous from a telemetry point of view because people can easily add fields to objects that shouldn't be logged and not realize it's going to be logged. General best practice is to explicitly log the fields you care about from objects.