signalfx

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Adapter is the SignalFx GRCP adapter server

func (*Adapter) Addr

func (s *Adapter) Addr() string

Addr returns the listening address of the server

func (*Adapter) Close

func (s *Adapter) Close() error

Close gracefully shuts down the server; used for testing

func (*Adapter) CloseSession

CloseSession is called by the mixer when a session is done and should be cleaned up

func (*Adapter) CreateSession

CreateSession is called when the mixer wants a new session.

func (*Adapter) HandleMetric

HandleMetric accepts metric values from Istio and delegates to the proper session handler if applicable

func (*Adapter) HandleTraceSpan

HandleTraceSpan accepts trace spans from the Istio telemetry server and forwards them to SignalFx. This method delegates to the proper session handler.

func (*Adapter) Run

func (s *Adapter) Run(shutdown chan error)

Run starts the server run

func (*Adapter) Validate

Validate is called by the mixer to ensure that the config is valid

type Server

type Server interface {
	Addr() string
	Close() error
	Run(shutdown chan error)
}

Server is basic server interface

func NewAdapter

func NewAdapter(port string) (Server, error)

NewAdapter creates a new IBP adapter that listens at provided port.

Directories

Path Synopsis
Package config is a generated protocol buffer package.
Package config is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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