add label to the metrics
Signed-off-by: Honglin Feng <tifayuki@gmail.com>
This commit is contained in:
parent
8b70616846
commit
76da6290b0
4 changed files with 17 additions and 15 deletions
|
@ -66,7 +66,7 @@ func TestBroadcaster(t *testing.T) {
|
|||
func TestEventQueue(t *testing.T) {
|
||||
const nevents = 1000
|
||||
var ts testSink
|
||||
metrics := newSafeMetrics()
|
||||
metrics := newSafeMetrics("")
|
||||
eq := newEventQueue(
|
||||
// delayed sync simulates destination slower than channel comms
|
||||
&delayedSink{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue