Documentation ¶
Index ¶
- type Client
- func (c *Client) NewCounterVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *CounterVec
- func (c *Client) NewGaugeVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *GaugeVec
- func (c *Client) NewTimeDurationHistogramVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *TimeDurationHistogramVec
- func (c *Client) NewValueHistogramVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *ValueHistogramVec
- func (c *Client) Shutdown(ctx context.Context) error
- type Counter
- type CounterVec
- type Gauge
- type GaugeVec
- type Histogram
- type Option
- type TimeDurationHistogramVec
- type TypeMetricName
- type TypeNamespace
- type TypeSubsystem
- type ValueHistogram
- type ValueHistogramVec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func GetDefaultClient ¶
func GetDefaultClient() *Client
func (*Client) NewCounterVec ¶
func (c *Client) NewCounterVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *CounterVec
func (*Client) NewGaugeVec ¶
func (c *Client) NewGaugeVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *GaugeVec
func (*Client) NewTimeDurationHistogramVec ¶
func (c *Client) NewTimeDurationHistogramVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *TimeDurationHistogramVec
func (*Client) NewValueHistogramVec ¶
func (c *Client) NewValueHistogramVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *ValueHistogramVec
type CounterVec ¶
type CounterVec struct {
// contains filtered or unexported fields
}
func NewCounterVec ¶
func NewCounterVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *CounterVec
type GaugeVec ¶
type GaugeVec struct {
// contains filtered or unexported fields
}
func NewGaugeVec ¶
func NewGaugeVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *GaugeVec
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option applies a configuration option value to a MeterProvider.
func WithMeterName ¶
type TimeDurationHistogramVec ¶
type TimeDurationHistogramVec struct {
// contains filtered or unexported fields
}
func NewTimeDurationHistogramVec ¶
func NewTimeDurationHistogramVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *TimeDurationHistogramVec
type TypeMetricName ¶
type TypeMetricName string
func NewTypeMetricName ¶
func NewTypeMetricName(n string) TypeMetricName
func (TypeMetricName) String ¶
func (t TypeMetricName) String() string
type TypeNamespace ¶
type TypeNamespace string
func NewTypeNamespace ¶
func NewTypeNamespace(ns string) TypeNamespace
func (TypeNamespace) String ¶
func (t TypeNamespace) String() string
type TypeSubsystem ¶
type TypeSubsystem string
func NewTypeSubsystem ¶
func NewTypeSubsystem(ss string) TypeSubsystem
func (TypeSubsystem) String ¶
func (t TypeSubsystem) String() string
type ValueHistogram ¶
type ValueHistogramVec ¶
type ValueHistogramVec struct {
// contains filtered or unexported fields
}
func NewValueHistogramVec ¶
func NewValueHistogramVec(ns TypeNamespace, ss TypeSubsystem, name TypeMetricName, labelNames ...string) *ValueHistogramVec
Click to show internal directories.
Click to hide internal directories.