Documentation
¶
Index ¶
- Variables
- func DoTag(cfg []*cb.AttributeConfigure, er *cb.EventRepresentation) map[string]string
- func DoTagFaster(dst []byte, cfg []*cb.AttributeConfigure, er *cb.EventRepresentation) []byte
- func DoTraceTag(cfg []*cb.AttributeConfigure, er *cb.EventRepresentation) map[string]interface{}
- func NewTracer(serviceName, host string, ratio float64) (opentracing.Tracer, error)
- type AttributeConfiguration
- type Configure
- type LoggingConfigure
- type MetricsConfigure
- type StackTraceConfigure
- type TimestampConfigure
- type TracingConfigure
Constants ¶
This section is empty.
Variables ¶
View Source
var MetricVecStore = &metricVecStore{ counters: map[int64]*counterVecWrap{}, gauges: map[int64]*gaugeVecWrap{}, histograms: map[int64]*histogramVecWrap{}, summaries: map[int64]*summaryVecWrap{}, }
View Source
var ObserveHelper = &observeHelper{}
View Source
var PrometheusPusher = push.New(prometheusFakeGateway.URL, "test")
Functions ¶
func DoTag ¶
func DoTag(cfg []*cb.AttributeConfigure, er *cb.EventRepresentation) map[string]string
func DoTagFaster ¶
func DoTagFaster(dst []byte, cfg []*cb.AttributeConfigure, er *cb.EventRepresentation) []byte
func DoTraceTag ¶
func DoTraceTag(cfg []*cb.AttributeConfigure, er *cb.EventRepresentation) map[string]interface{}
Types ¶
type AttributeConfiguration ¶
type AttributeConfiguration cb.AttributeConfigure
type Configure ¶
type Configure cb.ObservationConfigure
type LoggingConfigure ¶
type LoggingConfigure cb.LoggingConfigure
type MetricsConfigure ¶
type MetricsConfigure cb.MetricsConfigure
type StackTraceConfigure ¶
type StackTraceConfigure cb.StackTraceConfigure
func (*StackTraceConfigure) Do ¶
func (c *StackTraceConfigure) Do()
type TimestampConfigure ¶
type TimestampConfigure cb.TimestampConfigure
func (*TimestampConfigure) Do ¶
func (c *TimestampConfigure) Do()
type TracingConfigure ¶
type TracingConfigure cb.TracingConfigure
Click to show internal directories.
Click to hide internal directories.