serverlesscommon

package
v0.0.0-...-951cea1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColdStartsDatapoint

func ColdStartsDatapoint() *datapoint.Datapoint

ColdStartsDatapoint creates a datapoint to report function cold starts count to SignalFx

func DurationDatapoint

func DurationDatapoint(elapsed time.Duration) *datapoint.Datapoint

DurationDatapoint creates a datapoint to report function duration to SignalFx

func ErrorsDatapoint

func ErrorsDatapoint() *datapoint.Datapoint

ErrorsDatapoint creates a datapoint to report function errors count to SignalFx

func InvocationsDatapoint

func InvocationsDatapoint() *datapoint.Datapoint

InvocationsDatapoint creates a datapoint to report function invocations count to SignalFx

func SendDatapoints

func SendDatapoints(ctx context.Context, dps []*datapoint.Datapoint) error

SendDatapoints sends custom metric datapoints to SignalFx.

Types

This section is empty.

Jump to

Keyboard shortcuts

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