MCPcopy Create free account
hub / github.com/One-com/gone / NewClient

Function NewClient

metric/client.go:53–67  ·  view source on GitHub ↗

NewClient returns you a client handle directly if you do not want to use the global default client. This creates a new metric client with a factory object for the sink. If sink == nil, the client will not emit metrics until a Sink is set using SetSink.

(sink Sink, opts ...MOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

initFunction · 0.85

Calls 3

newFlusherFunction · 0.85
SetSinkMethod · 0.80
SetOptionsMethod · 0.80

Tested by

no test coverage detected