Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupOpentelemetry ¶
Types ¶
type Histogram ¶
type Histogram struct {
// contains filtered or unexported fields
}
func NewHistogram ¶
type LabelValues ¶
type LabelValues []string
func (LabelValues) ToLabels ¶
func (lvs LabelValues) ToLabels() []attribute.KeyValue
func (LabelValues) With ¶
func (lvs LabelValues) With(labelValues ...string) LabelValues
type Metrics ¶
type Metrics struct { Enabled bool Interval time.Duration RuntimeGoroutine metrics.Gauge RuntimeAlloc metrics.Gauge RuntimeSys metrics.Gauge RuntimeMallocs metrics.Gauge RuntimeFrees metrics.Gauge RuntimeHeapObjects metrics.Gauge RuntimePauseTotalNs metrics.Gauge RuntimeGC metrics.Gauge AttemptTotalCounter metrics.Counter AttemptFailedCounter metrics.Counter AttemptPendingGauge metrics.Gauge AttemptResponseDurationHistogram metrics.Histogram ProxyRequestCounter metrics.Counter ProxyRequestDurationHistogram metrics.Histogram // events metrics EventTotalCounter metrics.Counter EventPersistCounter metrics.Counter EventPendingGauge metrics.Gauge // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.