outputs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

outputs

-- import "github.com/newrelic/nri-flex/internal/outputs"

Usage

func GetMetricBatches
func GetMetricBatches() [][]*metric.Set

GetMetricBatches batch metrics by entity with a maximum batch size defined by 'InsightBatchSize' config.

func InfraIntegration
func InfraIntegration() error

InfraIntegration Creates Infrastructure SDK Integration

func SendBatchToInsights
func SendBatchToInsights(metrics []*metric.Set) error

SendBatchToInsights - Send processed events to insights.

func SendToMetricAPI
func SendToMetricAPI() error

SendToMetricAPI - Send processed events to insights

func StatusSample
func StatusSample()

StatusSample creates flexStatusSample

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMetricBatches added in v0.9.7

func GetMetricBatches() [][]*metric.Set

GetMetricBatches batch metrics by entity with a maximum batch size defined by 'InsightBatchSize' config.

func InfraIntegration

func InfraIntegration() error

InfraIntegration Creates Infrastructure SDK Integration

func SendBatchToInsights added in v0.9.7

func SendBatchToInsights(metrics []*metric.Set) error

SendBatchToInsights - Send processed events to insights.

func SendToMetricAPI

func SendToMetricAPI() error

SendToMetricAPI - Send processed events to insights

func StatusSample

func StatusSample()

StatusSample creates flexStatusSample

Types

This section is empty.

Jump to

Keyboard shortcuts

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