Documentation ¶
Index ¶
- func NewCounterVec(name, help string, labels []string) *prometheus.CounterVec
- func NewHistogramVec(name, help string, labels []string) *prometheus.HistogramVec
- func NewOTLPExporter(ctx context.Context, endpoint string, opts ...otlptracehttp.Option) (*otlptrace.Exporter, error)
- func NewTracer(ctx context.Context, name string) (context.Context, trace.Span)
- func RegisterGlobalOTLPProvider(e *otlptrace.Exporter, serviceName, version string) (*tracesdk.TracerProvider, error)
- type Exporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCounterVec ¶
func NewCounterVec(name, help string, labels []string) *prometheus.CounterVec
func NewHistogramVec ¶
func NewHistogramVec(name, help string, labels []string) *prometheus.HistogramVec
func NewOTLPExporter ¶
Types ¶
type Exporter ¶
type Exporter struct {
Metrics []prometheus.Collector
}
func NewExporter ¶
func NewExporter() *Exporter
Click to show internal directories.
Click to hide internal directories.