Honeybadger.Insights.Tesla (Honeybadger v0.24.1)
View SourceCaptures telemetry events from Tesla HTTP requests.
Configuration
This module can be configured in the application config:
config :honeybadger, insights_config: %{
tesla: %{
# Include full URLs in telemetry events (default: false - only hostname is included)
full_url: false,
# Custom telemetry event patterns to listen for (optional)
telemetry_events: [[:tesla, :request, :stop], [:tesla, :request, :exception]]
}
}
Summary
Functions
Attaches telemetry handlers if all required dependencies are available.
Attaches a telemetry handler for a specific event.
Extracts metadata from the telemetry event. Child modules should override this for specific events.
Implementation of handle_telemetry that can be called by overriding methods.
Handles telemetry events and processes the data. This implementation forwards to handle_event_impl which can be overridden by child modules to customize behavior while still calling the parent implementation.
Determines if an event should be ignored based on its metadata. Child modules should override this for specific filtering logic. Note: this is the metadata before any transformations.
Process the event data. Child modules can override this for custom processing.
Functions
Attaches telemetry handlers if all required dependencies are available.
Attaches a telemetry handler for a specific event.
Extracts metadata from the telemetry event. Child modules should override this for specific events.
Implementation of handle_telemetry that can be called by overriding methods.
Handles telemetry events and processes the data. This implementation forwards to handle_event_impl which can be overridden by child modules to customize behavior while still calling the parent implementation.
Determines if an event should be ignored based on its metadata. Child modules should override this for specific filtering logic. Note: this is the metadata before any transformations.
Process the event data. Child modules can override this for custom processing.