MCPcopy
hub / github.com/go-kit/kit / BatchPointsWriter

Interface BatchPointsWriter

metrics/influx/influx.go:84–86  ·  view source on GitHub ↗

BatchPointsWriter captures a subset of the influxdb.Client methods necessary for emitting metrics observations.

Source from the content-addressed store, hash-verified

82// BatchPointsWriter captures a subset of the influxdb.Client methods necessary
83// for emitting metrics observations.
84type BatchPointsWriter interface {
85 Write(influxdb.BatchPoints) error
86}
87
88// WriteLoop is a helper method that invokes WriteTo to the passed writer every
89// time the passed channel fires. This method blocks until the channel is

Callers 8

DefaultErrorEncoderFunction · 0.65
TestMultipleServerBeforeFunction · 0.65
TestMultipleServerAfterFunction · 0.65
TestServerFinalizerFunction · 0.65
WriteMethod · 0.65
TestHTTPClientFunction · 0.65
TestClientFinalizerFunction · 0.65

Implementers 5

interceptingWritertransport/http/intercepting_writer.go
bufWritermetrics/influx/influx_test.go
tbWriterlog/zap/zap_sugar_logger_test.go
mockConnutil/conn/manager_test.go
Managerutil/conn/manager.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…