Raxol.Metrics.Visualizer (Raxol v0.2.0)

View Source

Provides visualization capabilities for Raxol performance metrics. Uses Contex to generate charts and graphs for various performance indicators.

Summary

Functions

Creates a bar chart visualization for event processing times.

Creates a line chart for memory usage trends.

Creates a scatter plot for event throughput over time.

Functions

create_event_timing_chart(data, options \\ [])

Creates a bar chart visualization for event processing times.

Parameters

  • data - List of {event_type, processing_time} tuples
  • options - Optional configuration for the chart

create_memory_usage_chart(data, options \\ [])

Creates a line chart for memory usage trends.

Parameters

  • data - List of {timestamp, memory_usage} tuples
  • options - Optional configuration for the chart

create_throughput_plot(data, options \\ [])

Creates a scatter plot for event throughput over time.

Parameters

  • data - List of {timestamp, events_per_second} tuples
  • options - Optional configuration for the chart