initial client roundtrip estimate on broker

This commit is contained in:
Serene H 2016-09-20 06:26:21 -07:00
parent 6cecd31fd8
commit 47e1338290
4 changed files with 37 additions and 8 deletions

17
broker/metrics.go Normal file
View file

@ -0,0 +1,17 @@
package snowflake_broker
import (
// "golang.org/x/net/internal/timeseries"
"time"
)
// Implements Observable
type Metrics struct {
// snowflakes timeseries.Float
clientRoundtripEstimate time.Duration
}
func NewMetrics() *Metrics {
m := new(Metrics)
return m
}