Xirsys.Sockets.Telemetry (xturn_sockets v1.2.0)

View Source

Telemetry handlers for monitoring TURN server socket performance

This module provides comprehensive monitoring for:

  • Connection metrics
  • Data transfer rates
  • Error rates
  • Rate limiting events
  • SSL/TLS handshake performance

Summary

Functions

Attach telemetry handlers for socket monitoring

Detach all telemetry handlers

Get current socket metrics

Get health status based on error rates

Reset all counters (useful for testing)

Functions

attach_handlers()

Attach telemetry handlers for socket monitoring

detach_handlers()

Detach all telemetry handlers

get_metrics()

Get current socket metrics

health_status()

Get health status based on error rates

reset_counters()

Reset all counters (useful for testing)