View Source Mixpanel.Telemetry (Mixpanel API v1.2.3)
The following telemetry spans are emitted by mixpanel_api_ex:
[:mixpanel_api_ex, :client, *]
Represents a Mixpanel API client is ready
This span is started by the following event:
[:mixpanel_api_ex, :client, :start]Represents the start of the span
This event contains the following measurements:
monotonic_time: The time of this event, in:nativeunits
This event contains the following metadata:
name: The name of the clientbase_url: The URL which a client instance uses to communicate with the Mixpanel APIhttp_adapter: The HTTP adapter which a client instance uses to send actual requests to the backend
This span is ended by the following event:
[:mixpanel_api_ex, :client, :stop]Represents the end of the span
This event contains the following measurements:
monotonic_time: The time of this event, in:nativeunitsduration: The span duration, in:nativeunits
This event contains the following metadata:
name: The name of the clientbase_url: The URL which a client instance uses to communicate with the Mixpanel APIhttp_adapter: The HTTP adapter which a client instance uses to send actual requests to the backend
The following events may be emitted within this span:
[:mixpanel_api_ex, :client, :send]Represents a request sent to the Mixpanel API
This event contains the following measurements:
event: The name of the event that was sentpayload_size: The size (in bytes) of the payload has been sent
This event contains the following metadata:
telemetry_span_context: A unique identifier for this spanname: The name of the client
[:mixpanel_api_ex, :client, :send_error]An error occurred while sending a request to the Mixpanel API
This event contains the following measurements:
event: The name of the event that was attempted to senderror: A description of the errorpayload_size: The size (in bytes) of the payload that were attempted to send
This event contains the following metadata:
telemetry_span_context: A unique identifier for this spanname: The name of the client