Membrane Core v0.6.0 Membrane.Telemetry View Source

Defines basic telemetry event types used by Membrane's Core. Membrane uses Telemetry Package for instrumentation and does not store or save any measurements by itself.

It is user's responsibility to use some sort of metrics reporter that will be attached to :telemetry package to consume and process generated measurements.

Instrumentation

Membrane.Telemetry publishes functions that return described below event names.

The following events are published by Membrane's Core with following measurement types and metadata:

Link to this section Summary

Types

  • element_path - element's process path with pad's name that input buffer is attached to
  • method - input buffer's function call name
  • value - current buffer's size
  • parent_path - process path of link's parent
  • from - from element name
  • to - to element name
  • pad_from - from's pad name
  • pad_to - to's pad name

Link to this section Types

Specs

event_name_t() :: [atom(), ...]
Link to this type

input_buffer_size_event_value_t()

View Source

Specs

input_buffer_size_event_value_t() :: %{
  element_path: String.t(),
  method: String.t(),
  value: integer()
}
  • element_path - element's process path with pad's name that input buffer is attached to
  • method - input buffer's function call name
  • value - current buffer's size

Link to this section Functions

Link to this function

input_buffer_size_event_name()

View Source

Specs

input_buffer_size_event_name() :: event_name_t()