metrics

package
v0.0.0-...-0172641 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunGRPC

func RunGRPC(port int)

RunGRPC starts the grpc endpoint

Types

type Server

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

Server core struct

func NewServer

func NewServer() *Server

NewServer creates a new struct to interface the streams server

func (*Server) Connections

func (s *Server) Connections(ctx context.Context, req *pb.MetricsRequest) (*pb.MetricsResponse, error)

Connections fetches metrics relating to socket count from timeseries services

func (*Server) EventsCount

func (s *Server) EventsCount(ctx context.Context, req *pb.MetricsRequest) (*pb.MetricsResponse, error)

EventsCount fetches metrics relating to event count from timeseries services

func (*Server) EventsSize

func (s *Server) EventsSize(ctx context.Context, req *pb.MetricsRequest) (*pb.MetricsResponse, error)

EventsSize fetches metrics relating to event byte size from timeseries services

Directories

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

Jump to

Keyboard shortcuts

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