Documentation ¶
Index ¶
Constants ¶
View Source
const (
QUEUE_BATCH_COUNT = 1024
)
Variables ¶
This section is empty.
Functions ¶
func AcquirePrompbTimeSeries ¶
func AcquirePrompbTimeSeries() *prompb.TimeSeries
func ReleasePrompbTimeSeries ¶
func ReleasePrompbTimeSeries(t *prompb.TimeSeries)
Types ¶
type PrometheusExporter ¶
type PrometheusExporter struct { Addr string utils.Closable // contains filtered or unexported fields }
func NewPrometheusExporter ¶
func NewPrometheusExporter(index int, config *exporters_cfg.ExporterCfg, universalTagsManager *utag.UniversalTagsManager) *PrometheusExporter
func (*PrometheusExporter) Close ¶
func (e *PrometheusExporter) Close()
func (*PrometheusExporter) GetCounter ¶
func (e *PrometheusExporter) GetCounter() interface{}
func (*PrometheusExporter) HandleSimpleCommand ¶
func (e *PrometheusExporter) HandleSimpleCommand(op uint16, arg string) string
func (*PrometheusExporter) Put ¶
func (e *PrometheusExporter) Put(items ...interface{})
func (*PrometheusExporter) Start ¶
func (e *PrometheusExporter) Start()
Click to show internal directories.
Click to hide internal directories.