metrics

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MERIDIO_CONDUIT_STREAM_FLOW_MATCHES        = "meridio.conduit.stream.flow.matches"
	MERIDIO_CONDUIT_STREAM_TARGET_HIT_PACKETS  = "meridio.conduit.stream.target.hit.packets"
	MERIDIO_CONDUIT_STREAM_TARGET_HIT_BYTES    = "meridio.conduit.stream.target.hit.bytes"
	MERIDIO_INTERFACE_RX_PACKETS               = "meridio.interface.rx_packets"
	MERIDIO_INTERFACE_TX_PACKET                = "meridio.interface.tx_packets"
	MERIDIO_INTERFACE_RX_BYTES                 = "meridio.interface.rx_bytes"
	MERIDIO_INTERFACE_TX_BYTES                 = "meridio.interface.tx_bytes"
	MERIDIO_INTERFACE_RX_ERRORS                = "meridio.interface.rx_errors"
	MERIDIO_INTERFACE_TX_ERRORS                = "meridio.interface.tx_errors"
	MERIDIO_INTERFACE_RX_DROPPED               = "meridio.interface.rx_dropped"
	MERIDIO_INTERFACE_TX_DROPPED               = "meridio.interface.tx_dropped"
	MERIDIO_ATTRACTOR_GATEWAY_IMPORTED_ROUTES  = "meridio.attractor.gateway.imported.routes"
	MERIDIO_ATTRACTOR_GATEWAY_EXPORTED_ROUTES  = "meridio.attractor.gateway.exported.routes"
	MERIDIO_ATTRACTOR_GATEWAY_PREFERRED_ROUTES = "meridio.attractor.gateway.preferred.routes"

	METER_NAME = "Meridio"
)

Variables

This section is empty.

Functions

func Init

Init connects to the open telemetry collector and sets the Meter provider

Types

type Server

type Server struct {
	IP   string
	Port int
}

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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