package prometheus
import "github.com/hashicorp/go-metrics/compat/prometheus"
Index ¶
- Variables
- type CounterDefinition
- type GaugeDefinition
- type PrometheusOpts
- type PrometheusPushSink
- type PrometheusSink
- func NewPrometheusSink() (*PrometheusSink, error)
- func NewPrometheusSinkFrom(opts PrometheusOpts) (*PrometheusSink, error)
- type SummaryDefinition
Variables ¶
var DefaultPrometheusOpts = prometheus.DefaultPrometheusOpts
Types ¶
type CounterDefinition ¶
type CounterDefinition = prometheus.CounterDefinition
type GaugeDefinition ¶
type GaugeDefinition = prometheus.GaugeDefinition
type PrometheusOpts ¶
type PrometheusOpts = prometheus.PrometheusOpts
type PrometheusPushSink ¶
type PrometheusPushSink = prometheus.PrometheusPushSink
func NewPrometheusPushSink ¶
func NewPrometheusPushSink(address string, pushInterval time.Duration, name string) (*PrometheusPushSink, error)
type PrometheusSink ¶
type PrometheusSink = prometheus.PrometheusSink
func NewPrometheusSink ¶
func NewPrometheusSink() (*PrometheusSink, error)
func NewPrometheusSinkFrom ¶
func NewPrometheusSinkFrom(opts PrometheusOpts) (*PrometheusSink, error)
type SummaryDefinition ¶
type SummaryDefinition = prometheus.SummaryDefinition
Source Files ¶
- Version
- v0.5.4 (latest)
- Published
- Jan 8, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 5 days ago –
Tools for package owners.