package ttl
import "github.com/containerd/nydus-snapshotter/pkg/metrics/types/ttl"
Index ¶
- Variables
- type GaugeVec
- func NewGaugeVecWithTTL(opts prometheus.GaugeOpts, labelNames []string, ttl time.Duration) *GaugeVec
- func (gv *GaugeVec) WithLabelValues(val ...string) *GaugeWithTTL
- type GaugeWithTTL
- type LabelWithValue
Variables ¶
Types ¶
type GaugeVec ¶
type GaugeVec struct { *prometheus.GaugeVec // contains filtered or unexported fields }
func NewGaugeVecWithTTL ¶
func NewGaugeVecWithTTL(opts prometheus.GaugeOpts, labelNames []string, ttl time.Duration) *GaugeVec
func (*GaugeVec) WithLabelValues ¶
func (gv *GaugeVec) WithLabelValues(val ...string) *GaugeWithTTL
type GaugeWithTTL ¶
type GaugeWithTTL struct {
// contains filtered or unexported fields
}
func (*GaugeWithTTL) Set ¶
func (gwt *GaugeWithTTL) Set(val float64)
type LabelWithValue ¶
type LabelWithValue struct {
// contains filtered or unexported fields
}
Source Files ¶
- Version
- v0.15.1 (latest)
- Published
- Jan 26, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 week ago –
Tools for package owners.