outputs

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: Apache-2.0 Imports: 13 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

func StoreJSON
func StoreJSON(samples []interface{}, path string)

function to store samples as a JSON object at specified path

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

func StoreJSON added in v1.2.0

func StoreJSON(samples []interface{}, path string)

function to store samples as a JSON object at specified path

Types

This section is empty.

Jump to

Keyboard shortcuts

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