metrics

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MERIDIO_CONDUIT_STREAM_FLOW_MATCHES        = "meridio.conduit.stream.flow.matches"
	MERIDIO_CONDUIT_STREAM_TARGET_HITS_PACKETS = "meridio.conduit.stream.target.hits.packets"
	MERIDIO_CONDUIT_STREAM_TARGET_HITS_BYTES   = "meridio.conduit.stream.target.hits.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"

	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