API reference
API reference
Select your platform
No SDKs available
No versions available

TelemetryChannel Class

The telemetry channel represents a target for telemetry. The default implementation sends live telemetry to Meta.

Properties

static long ElapsedMilliseconds[Get]

Object Data for package-func

TelemetryChannel
( EditorTelemetry telemetry )
Logs an event as started.
Parameters
eventId
The ID of the event that just started.
Returns
Instance key identifying this specific occurrence of the event.
Logs an instantaneous event that happens at one point in time (as opposed to one with a start and end).
Parameters
eventId
The ID of the event.
annotations
Optional annotations to add to the event.
Returns
Instance key identifying this specific occurrence of the event.
Annotates an event that has started but did not end yet.
Parameters
eventId
The ID of the event. Should already have started but not ended already.
instanceKey
The instance key of the event. Must match the one used starting the event.
key
The annotation key.
value
The annotation value.
Logs an event as ended.
Parameters
eventId
The ID of the event. Should already have started but not ended already.
instanceKey
The instance key of the event. Must match the one used starting the event.
result
The result of the event.
Returns
Instance key.

Member Functions

void ShutdownTelemetry ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon