service

package
v0.0.0-...-98d9df0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientMetrics

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

func NewClientMetrics

func NewClientMetrics(log logrus.FieldLogger, jaegerAgentEndpointURI, jaegerCollectorEndpointURI string) (*ClientMetrics, error)

func (*ClientMetrics) Exporter

func (m *ClientMetrics) Exporter() *prometheus.Exporter

type Metrics

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

func NewServiceMetrics

func NewServiceMetrics(log logrus.FieldLogger, jaegerAgentEndpointURI, jaegerCollectorEndpointURI string) (*Metrics, error)

func (*Metrics) Exporter

func (m *Metrics) Exporter() *prometheus.Exporter

func (*Metrics) ExternalLatency

func (m *Metrics) ExternalLatency() *stats.Float64Measure

func (*Metrics) InternalLatency

func (m *Metrics) InternalLatency() *stats.Float64Measure

type Service

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

func NewService

func NewService(log logrus.FieldLogger, registrationType string, metrics *Metrics) *Service

func (*Service) Ping

func (s *Service) Ping(ctx context.Context, requestTime time.Time) (time.Time, error)

Jump to

Keyboard shortcuts

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