Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graphite ¶
Graphite is a struct that defines the relevant properties of a graphite connection. This code was initially taken from https://github.com/census-ecosystem/opencensus-go-exporter-graphite/tree/master/internal/client and modified for the needs of testing the Carbon receiver package and is not intended/tested to be used in production.
func NewGraphite ¶
NewGraphite is a method that's used to create a new Graphite instance. This code was initially taken from https://github.com/census-ecosystem/opencensus-go-exporter-graphite/tree/master/internal/client and modified for the needs of testing the Carbon receiver package and is not intended/tested to be used in production.
func (*Graphite) Disconnect ¶
Disconnect closes the Graphite.conn field
func (*Graphite) SendMetric ¶
SendMetric method can be used to just pass a metric name and value and have it be sent to the Graphite host
func (*Graphite) SendMetrics ¶
SendMetrics method can be used to pass a set of metrics and have it be sent to the Graphite host
func (*Graphite) SputterThenSendMetric ¶
SputterThenSendMetric method sends a bad partial metric, then the whole metric across.