Documentation ¶
Index ¶
- func BoolPtr(b bool) *bool
- func DurPtr(d time.Duration) *time.Duration
- func Float32Ptr(f float32) *float32
- func Float64Ptr(f float64) *float64
- func Int16Ptr(i int16) *int16
- func Int32Ptr(i int32) *int32
- func Int64Ptr(i int64) *int64
- func Int8Ptr(i int8) *int8
- func IntPtr(i int) *int
- func ParseSNMPEndpoint(s string) (string, uint16, error)
- func RegistryGather(reg *prometheus.Registry, w io.Writer) error
- func StrPtr(s string) *string
- func Uint16Ptr(i uint16) *uint16
- func Uint32Ptr(i uint32) *uint32
- func Uint64Ptr(i uint64) *uint64
- func Uint8Ptr(i uint8) *uint8
- func UintPtr(i uint) *uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSNMPEndpoint ¶
ParseSNMPEndpoint returns SNMP host and port.
func RegistryGather ¶
func RegistryGather(reg *prometheus.Registry, w io.Writer) error
RegistryGather is used to gather metrics for a registry.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.