优化计数器内存使用

This commit is contained in:
GoEdgeLab
2023-10-04 16:53:39 +08:00
parent 003a805c69
commit c352de08bb
4 changed files with 39 additions and 9 deletions

View File

@@ -3,8 +3,8 @@
package counters
type Span struct {
Timestamp int64
Count uint64
Timestamp int64
}
func NewSpan() *Span {