forked from mirror/client_golang
Update the ExampleRegister test
Signed-off-by: Peter Jausovec <peter.jausovec@oracle.com>
This commit is contained in:
parent
b686a9e02e
commit
f1bec54758
|
@ -282,7 +282,7 @@ func ExampleRegister() {
|
|||
// taskCounter unregistered.
|
||||
// taskCounterVec not registered: a previously registered descriptor with the same fully-qualified name as Desc{fqName: "worker_pool_completed_tasks_total", help: "Total number of tasks completed.", constLabels: {}, variableLabels: [worker_id]} has different label names or a different help string
|
||||
// taskCounterVec registered.
|
||||
// Worker initialization failed: inconsistent label cardinality
|
||||
// Worker initialization failed: inconsistent label cardinality: expected 1 label values but got 2 in []string{"42", "spurious arg"}
|
||||
// notMyCounter is nil.
|
||||
// taskCounterForWorker42 registered.
|
||||
// taskCounterForWorker2001 registered.
|
||||
|
|
Loading…
Reference in New Issue