nri

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package nri uses Docker API information and sampled containers and presents it in a format that is accepted by the New Relic Infrastructure Agent

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerSampler

type ContainerSampler struct {
	// contains filtered or unexported fields
}

ContainerSampler invokes the metrics sampling and processing for all the existing containers, and populates the integration execution information with the exported metrics

func NewSampler

func NewSampler(fetcher raw.Fetcher, docker raw.DockerClient, config config.ArgumentList) (*ContainerSampler, error)

NewSampler returns a ContainerSampler instance.

func (*ContainerSampler) SampleAll

SampleAll populates the integration of the argument with metrics and labels from all the containers in the system running and non-running

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL