metrics infrastructure (#128)

This commit is contained in:
Michael Quigley
2023-03-03 13:31:57 -05:00
parent 022084ec88
commit f2e887f70b
6 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
package metrics
type Source interface {
Start() (chan struct{}, error)
Stop()
}
type Ingester interface {
Ingest(msg map[string]interface{})
}