Schema for metric store

This commit is contained in:
Aditya Ujeniya
2025-10-23 17:58:17 +02:00
parent bc43c844fc
commit f34e10cfd9
5 changed files with 102 additions and 181 deletions

View File

@@ -7,6 +7,7 @@ package memorystore
import (
"errors"
"fmt"
"sync"
"github.com/ClusterCockpit/cc-lib/schema"
@@ -187,6 +188,8 @@ func (b *buffer) read(from, to int64, data []schema.Float) ([]schema.Float, int6
i++
}
fmt.Printf("Given From : %d, To: %d\n", from, to)
return data[:i], from, t, nil
}