diff --git a/main_test.go b/main_test.go index 4e9187b..34dcb9c 100644 --- a/main_test.go +++ b/main_test.go @@ -162,6 +162,8 @@ var ( "total_ignored_stats_webhook": 103, "total_ongoing_connections": 0, "total_received_invalid_turn_tcp_packet": 0, + "total_sent_sctp": 110, + "total_sent_sctp_byte_size": 111, "total_sent_srtp": 106, "total_sent_srtp_byte_size": 107, "total_session_created": 1, @@ -171,6 +173,8 @@ var ( "total_successful_event_webhook": 97, "total_successful_session_webhook": 98, "total_successful_stats_webhook": 100, + "total_received_sctp": 112, + "total_received_sctp_byte_size": 113, "total_received_srtp": 108, "total_received_srtp_byte_size": 109, "total_turn_tcp_connections": 2, @@ -427,6 +431,8 @@ func TestMinimumMetrics(t *testing.T) { "total_ignored_stats_webhook": 103, "total_ongoing_connections": 88, "total_received_invalid_turn_tcp_packet": 123, + "total_sent_sctp": 110, + "total_sent_sctp_byte_size": 111, "total_sent_srtp": 106, "total_sent_srtp_byte_size": 107, "total_session_created": 111, @@ -436,6 +442,8 @@ func TestMinimumMetrics(t *testing.T) { "total_successful_event_webhook": 97, "total_successful_session_webhook": 98, "total_successful_stats_webhook": 100, + "total_received_sctp": 112, + "total_received_sctp_byte_size": 113, "total_received_srtp": 108, "total_received_srtp_byte_size": 109, "total_turn_tcp_connections": 444, diff --git a/test/maximum.metrics b/test/maximum.metrics index 8ef8899..4a31288 100644 --- a/test/maximum.metrics +++ b/test/maximum.metrics @@ -188,6 +188,18 @@ sora_received_invalid_turn_tcp_packet_total 0 # TYPE sora_session_total counter sora_session_total{state="created"} 1 sora_session_total{state="destroyed"} 0 +# HELP sora_sctp_received_bytes_total The total number of received SCTP bytes. +# TYPE sora_sctp_received_bytes_total counter +sora_sctp_received_bytes_total 113 +# HELP sora_sctp_received_packets_total The total number of received SCTP packets. +# TYPE sora_sctp_received_packets_total counter +sora_sctp_received_packets_total 112 +# HELP sora_sctp_sent_bytes_total The total number of sent SCTP bytes. +# TYPE sora_sctp_sent_bytes_total counter +sora_sctp_sent_bytes_total 111 +# HELP sora_sctp_sent_packets_total The total number of sent SRPT packets. +# TYPE sora_sctp_sent_packets_total counter +sora_sctp_sent_packets_total 110 # HELP sora_session_webhook_total The total number of session webhook. # TYPE sora_session_webhook_total counter sora_session_webhook_total{state="failed"} 95 diff --git a/test/minimum.metrics b/test/minimum.metrics index 324193b..211b607 100644 --- a/test/minimum.metrics +++ b/test/minimum.metrics @@ -42,6 +42,18 @@ sora_received_invalid_turn_tcp_packet_total 123 # TYPE sora_session_total counter sora_session_total{state="created"} 111 sora_session_total{state="destroyed"} 222 +# HELP sora_sctp_received_bytes_total The total number of received SCTP bytes. +# TYPE sora_sctp_received_bytes_total counter +sora_sctp_received_bytes_total 113 +# HELP sora_sctp_received_packets_total The total number of received SCTP packets. +# TYPE sora_sctp_received_packets_total counter +sora_sctp_received_packets_total 112 +# HELP sora_sctp_sent_bytes_total The total number of sent SCTP bytes. +# TYPE sora_sctp_sent_bytes_total counter +sora_sctp_sent_bytes_total 111 +# HELP sora_sctp_sent_packets_total The total number of sent SRPT packets. +# TYPE sora_sctp_sent_packets_total counter +sora_sctp_sent_packets_total 110 # HELP sora_session_webhook_total The total number of session webhook. # TYPE sora_session_webhook_total counter sora_session_webhook_total{state="failed"} 95 diff --git a/test/sora_client_enabled.metrics b/test/sora_client_enabled.metrics index 94beff1..915d67a 100644 --- a/test/sora_client_enabled.metrics +++ b/test/sora_client_enabled.metrics @@ -73,6 +73,18 @@ sora_received_invalid_turn_tcp_packet_total 0 # TYPE sora_session_total counter sora_session_total{state="created"} 1 sora_session_total{state="destroyed"} 0 +# HELP sora_sctp_received_bytes_total The total number of received SCTP bytes. +# TYPE sora_sctp_received_bytes_total counter +sora_sctp_received_bytes_total 113 +# HELP sora_sctp_received_packets_total The total number of received SCTP packets. +# TYPE sora_sctp_received_packets_total counter +sora_sctp_received_packets_total 112 +# HELP sora_sctp_sent_bytes_total The total number of sent SCTP bytes. +# TYPE sora_sctp_sent_bytes_total counter +sora_sctp_sent_bytes_total 111 +# HELP sora_sctp_sent_packets_total The total number of sent SRPT packets. +# TYPE sora_sctp_sent_packets_total counter +sora_sctp_sent_packets_total 110 # HELP sora_session_webhook_total The total number of session webhook. # TYPE sora_session_webhook_total counter sora_session_webhook_total{state="failed"} 95 diff --git a/test/sora_cluster_metrics_enabled.metrics b/test/sora_cluster_metrics_enabled.metrics index 3b29678..e2fbdf3 100644 --- a/test/sora_cluster_metrics_enabled.metrics +++ b/test/sora_cluster_metrics_enabled.metrics @@ -75,6 +75,18 @@ sora_received_invalid_turn_tcp_packet_total 0 # TYPE sora_session_total counter sora_session_total{state="created"} 1 sora_session_total{state="destroyed"} 0 +# HELP sora_sctp_received_bytes_total The total number of received SCTP bytes. +# TYPE sora_sctp_received_bytes_total counter +sora_sctp_received_bytes_total 113 +# HELP sora_sctp_received_packets_total The total number of received SCTP packets. +# TYPE sora_sctp_received_packets_total counter +sora_sctp_received_packets_total 112 +# HELP sora_sctp_sent_bytes_total The total number of sent SCTP bytes. +# TYPE sora_sctp_sent_bytes_total counter +sora_sctp_sent_bytes_total 111 +# HELP sora_sctp_sent_packets_total The total number of sent SRPT packets. +# TYPE sora_sctp_sent_packets_total counter +sora_sctp_sent_packets_total 110 # HELP sora_session_webhook_total The total number of session webhook. # TYPE sora_session_webhook_total counter sora_session_webhook_total{state="failed"} 95 diff --git a/test/sora_connection_error_enabled.metrics b/test/sora_connection_error_enabled.metrics index 87e7d08..9d7be53 100644 --- a/test/sora_connection_error_enabled.metrics +++ b/test/sora_connection_error_enabled.metrics @@ -49,6 +49,18 @@ sora_received_invalid_turn_tcp_packet_total 0 # TYPE sora_session_total counter sora_session_total{state="created"} 1 sora_session_total{state="destroyed"} 0 +# HELP sora_sctp_received_bytes_total The total number of received SCTP bytes. +# TYPE sora_sctp_received_bytes_total counter +sora_sctp_received_bytes_total 113 +# HELP sora_sctp_received_packets_total The total number of received SCTP packets. +# TYPE sora_sctp_received_packets_total counter +sora_sctp_received_packets_total 112 +# HELP sora_sctp_sent_bytes_total The total number of sent SCTP bytes. +# TYPE sora_sctp_sent_bytes_total counter +sora_sctp_sent_bytes_total 111 +# HELP sora_sctp_sent_packets_total The total number of sent SRPT packets. +# TYPE sora_sctp_sent_packets_total counter +sora_sctp_sent_packets_total 110 # HELP sora_session_webhook_total The total number of session webhook. # TYPE sora_session_webhook_total counter sora_session_webhook_total{state="failed"} 95 diff --git a/test/sora_erlang_vm_enabled.metrics b/test/sora_erlang_vm_enabled.metrics index 4687289..27e0136 100644 --- a/test/sora_erlang_vm_enabled.metrics +++ b/test/sora_erlang_vm_enabled.metrics @@ -126,6 +126,18 @@ sora_received_invalid_turn_tcp_packet_total 0 # TYPE sora_session_total counter sora_session_total{state="created"} 1 sora_session_total{state="destroyed"} 0 +# HELP sora_sctp_received_bytes_total The total number of received SCTP bytes. +# TYPE sora_sctp_received_bytes_total counter +sora_sctp_received_bytes_total 113 +# HELP sora_sctp_received_packets_total The total number of received SCTP packets. +# TYPE sora_sctp_received_packets_total counter +sora_sctp_received_packets_total 112 +# HELP sora_sctp_sent_bytes_total The total number of sent SCTP bytes. +# TYPE sora_sctp_sent_bytes_total counter +sora_sctp_sent_bytes_total 111 +# HELP sora_sctp_sent_packets_total The total number of sent SRPT packets. +# TYPE sora_sctp_sent_packets_total counter +sora_sctp_sent_packets_total 110 # HELP sora_session_webhook_total The total number of session webhook. # TYPE sora_session_webhook_total counter sora_session_webhook_total{state="failed"} 95