mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 23:11:01 +00:00
Simplify stats naming
This commit is contained in:
parent
44aa9fded5
commit
e0fb322632
1 changed files with 1 additions and 2 deletions
|
|
@ -998,8 +998,7 @@ func (f *Fragment) Snapshot() error {
|
|||
func track(start time.Time, message string, stats StatsClient, logger *log.Logger) {
|
||||
elapsed := time.Since(start)
|
||||
logger.Printf("%s took %s", message, elapsed)
|
||||
stats.Count("snapshot.count", 1)
|
||||
stats.Histogram("snapshot.duration", elapsed.Seconds())
|
||||
stats.Histogram("snapshot", elapsed.Seconds())
|
||||
}
|
||||
|
||||
func (f *Fragment) snapshot() error {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue