Documentation ¶
Overview ¶
package carbon provides a traditional carbon input for metrictank note: it does not support the "carbon2.0" protocol that serializes metrics2.0 into a plaintext carbon-like protocol
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Enabled bool
Functions ¶
func ConfigProcess ¶
func ConfigProcess()
func ConfigSetup ¶
func ConfigSetup()
Types ¶
type Carbon ¶
func (*Carbon) ExplainPriority ¶
func (c *Carbon) ExplainPriority() interface{}
func (*Carbon) IntervalGetter ¶
func (c *Carbon) IntervalGetter(i IntervalGetter)
func (*Carbon) MaintainPriority ¶
func (c *Carbon) MaintainPriority()
MaintainPriority is very simplistic for carbon. there is no backfill, so mark as ready immediately.
type ConnTrack ¶
func NewConnTrack ¶
func NewConnTrack() *ConnTrack
type IndexIntervalGetter ¶
type IndexIntervalGetter struct {
// contains filtered or unexported fields
}
func (IndexIntervalGetter) GetInterval ¶
func (i IndexIntervalGetter) GetInterval(name string) int
type IntervalGetter ¶
IntervalGetter is anything that can return the interval for the given path we don't want the carbon plugin to directly talk to an index because the api surface is too big and it would couple too tightly which is annoying in unit tests
func NewIndexIntervalGetter ¶
func NewIndexIntervalGetter(idx idx.MetricIndex) IntervalGetter
Click to show internal directories.
Click to hide internal directories.