[功能] 添加迁移遗留观察性列的功能,支持从 raw_json 填充 metadata_json

This commit is contained in:
ryan
2026-03-19 16:31:05 +08:00
parent dd49b2777d
commit f26fcd028e
10 changed files with 124 additions and 22 deletions
@@ -23,7 +23,6 @@ type NodeMetricSnapshot struct {
OpenrestyRxBytes int64 `json:"openresty_rx_bytes"`
OpenrestyTxBytes int64 `json:"openresty_tx_bytes"`
OpenrestyConnections int64 `json:"openresty_connections"`
RawJSON string `json:"raw_json" gorm:"type:text"`
CreatedAt time.Time `json:"created_at"`
}