mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
feat(proxy): record tunnel stability metrics
This commit is contained in:
@@ -177,6 +177,177 @@ type = "text"
|
||||
length = 500
|
||||
nullable = true
|
||||
|
||||
[[table.proxy_node_events.columns]]
|
||||
name = "event_metadata"
|
||||
type = "json"
|
||||
nullable = true
|
||||
|
||||
[[table.proxy_node_events.columns]]
|
||||
name = "created_at"
|
||||
type = "unix_seconds"
|
||||
|
||||
[table.proxy_node_metrics_1m]
|
||||
domain = "proxy_nodes"
|
||||
order = 30
|
||||
primary_key = ["node_id", "bucket_start_unix_secs"]
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "node_id"
|
||||
type = "text_id"
|
||||
length = 64
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "bucket_start_unix_secs"
|
||||
type = "unix_seconds"
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "samples"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "uptime_samples"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "active_connections_sum"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "active_connections_max"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "heartbeat_rtt_ms_sum"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "heartbeat_rtt_ms_max"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "connect_errors_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "disconnects_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "error_events_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "ws_in_bytes_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "ws_out_bytes_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "ws_in_frames_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.columns]]
|
||||
name = "ws_out_frames_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1m.indexes]]
|
||||
name = "idx_proxy_node_metrics_1m_bucket_start"
|
||||
columns = ["bucket_start_unix_secs"]
|
||||
|
||||
[table.proxy_node_metrics_1h]
|
||||
domain = "proxy_nodes"
|
||||
order = 40
|
||||
primary_key = ["node_id", "bucket_start_unix_secs"]
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "node_id"
|
||||
type = "text_id"
|
||||
length = 64
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "bucket_start_unix_secs"
|
||||
type = "unix_seconds"
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "samples"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "uptime_samples"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "active_connections_sum"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "active_connections_max"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "heartbeat_rtt_ms_sum"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "heartbeat_rtt_ms_max"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "connect_errors_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "disconnects_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "error_events_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "ws_in_bytes_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "ws_out_bytes_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "ws_in_frames_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.columns]]
|
||||
name = "ws_out_frames_delta"
|
||||
type = "int64"
|
||||
default = 0
|
||||
|
||||
[[table.proxy_node_metrics_1h.indexes]]
|
||||
name = "idx_proxy_node_metrics_1h_bucket_start"
|
||||
columns = ["bucket_start_unix_secs"]
|
||||
|
||||
Reference in New Issue
Block a user