More unit tests for new metric

This commit is contained in:
Cameron Sparr
2016-12-01 15:18:46 +00:00
parent 6fd7361364
commit af6e7b9531
9 changed files with 1007 additions and 114 deletions

View File

@@ -26,12 +26,12 @@ type Metric interface {
// Tag functions
HasTag(key string) bool
AddTag(key, value string)
RemoveTag(key string) bool
RemoveTag(key string)
// Field functions
HasField(key string) bool
AddField(key string, value interface{})
RemoveField(key string) bool
RemoveField(key string) error
// Name functions
SetName(name string)