Documentation
¶
Index ¶
- func ConntrackGetActualDestination(src, dst netaddr.IPPort) (netaddr.IPPort, error)
- func ConntrackInit() error
- func ContainerdInit() error
- func DockerdInit() error
- func JournaldInit() error
- func JournaldSubscribe(cg *cgroup.Cgroup, ch chan<- logparser.LogEntry) error
- func JournaldUnsubscribe(cg *cgroup.Cgroup)
- func TaskstatsInit() error
- func TaskstatsPID(pid uint32) (*taskstats.Stats, error)
- func TaskstatsTGID(pid uint32) (*taskstats.Stats, error)
- type AddrPair
- type Container
- type ContainerID
- type ContainerMetadata
- type Delays
- type LogParser
- type Registry
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConntrackInit ¶
func ConntrackInit() error
func ContainerdInit ¶
func ContainerdInit() error
func DockerdInit ¶
func DockerdInit() error
func JournaldInit ¶
func JournaldInit() error
func JournaldSubscribe ¶
func JournaldUnsubscribe ¶
func TaskstatsInit ¶
func TaskstatsInit() error
Types ¶
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
func NewContainer ¶
func NewContainer(cg *cgroup.Cgroup, md *ContainerMetadata) *Container
func (*Container) Collect ¶
func (c *Container) Collect(ch chan<- prometheus.Metric)
func (*Container) Describe ¶
func (c *Container) Describe(ch chan<- *prometheus.Desc)
type ContainerID ¶
type ContainerID string
type ContainerMetadata ¶
type ContainerMetadata struct {
// contains filtered or unexported fields
}
func ContainerdInspect ¶
func ContainerdInspect(containerID string) (*ContainerMetadata, error)
func DockerdInspect ¶
func DockerdInspect(containerID string) (*ContainerMetadata, error)
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry(reg prometheus.Registerer, kernelVersion string) (*Registry, error)
Click to show internal directories.
Click to hide internal directories.