Files
zeekay 7baf52d980 fix: align Go package names with directory names, fix broken identifiers
- Fix 'Hanzo O11y' (space) → 'HanzoO11y' in Go struct/func names
- Package o11yclickhousemetrics → o11ydatastoremetrics (matches dir)
- Package o11yclickhousemeter → o11ydatastoremeter (matches dir)
- Import paths aligned with actual directory structure
- Component type names kept as signozclickhousemetrics for config compat
2026-03-12 02:01:15 -07:00

16 lines
233 B
Go

package o11ydatastoremeter
type batch struct {
samples []*sample
}
func newBatch() *batch {
return &batch{
samples: make([]*sample, 0),
}
}
func (b *batch) addSample(sample *sample) {
b.samples = append(b.samples, sample)
}