With mock: true my understanding is no metrics will be emitted and metrics just end up in a local buffer.
When calling client.close() it attempts to create a socket, and if it can't connect will spew errors. I think if mock: true is set , it should just return.
With
mock: true
my understanding is no metrics will be emitted and metrics just end up in a local buffer.When calling
client.close()
it attempts to create a socket, and if it can't connect will spew errors. I think ifmock: true
is set , it should justreturn
.Thoughts?