v1alpha

package
v1.0.1756522259-alpha.... Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Telemetry_ExportMetrics_FullMethodName = "/aalyria.spacetime.api.telemetry.v1alpha.Telemetry/ExportMetrics"
)

Variables

View Source
var (
	IfOperStatus_name = map[int32]string{
		0: "IF_OPER_STATUS_UNSPECIFIED",
		1: "IF_OPER_STATUS_UP",
		2: "IF_OPER_STATUS_DOWN",
		3: "IF_OPER_STATUS_TESTING",
		4: "IF_OPER_STATUS_UNKNOWN",
		5: "IF_OPER_STATUS_DORMANT",
		6: "IF_OPER_STATUS_NOT_PRESENT",
		7: "IF_OPER_STATUS_LOWER_LAYER_DOWN",
	}
	IfOperStatus_value = map[string]int32{
		"IF_OPER_STATUS_UNSPECIFIED":      0,
		"IF_OPER_STATUS_UP":               1,
		"IF_OPER_STATUS_DOWN":             2,
		"IF_OPER_STATUS_TESTING":          3,
		"IF_OPER_STATUS_UNKNOWN":          4,
		"IF_OPER_STATUS_DORMANT":          5,
		"IF_OPER_STATUS_NOT_PRESENT":      6,
		"IF_OPER_STATUS_LOWER_LAYER_DOWN": 7,
	}
)

Enum value maps for IfOperStatus.

View Source
var File_api_telemetry_v1alpha_telemetry_proto protoreflect.FileDescriptor
View Source
var Telemetry_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "aalyria.spacetime.api.telemetry.v1alpha.Telemetry",
	HandlerType: (*TelemetryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ExportMetrics",
			Handler:    _Telemetry_ExportMetrics_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/telemetry/v1alpha/telemetry.proto",
}

Telemetry_ServiceDesc is the grpc.ServiceDesc for Telemetry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTelemetryServer

func RegisterTelemetryServer(s grpc.ServiceRegistrar, srv TelemetryServer)

Types

type Esn0DataPoint

type Esn0DataPoint struct {

	// Required. When the value was captured.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// The transmitting modem.
	ModulatorId *string `protobuf:"bytes,2,opt,name=modulator_id,json=modulatorId,proto3,oneof" json:"modulator_id,omitempty"`
	// The energy per symbol to noise power spectral density, expressed in
	// decibels.
	Esn0Db *float64 `protobuf:"fixed64,3,opt,name=esn0_db,json=esn0Db,proto3,oneof" json:"esn0_db,omitempty"`
	// contains filtered or unexported fields
}

A data point in a timeseries that describes the time-varying energy per symbol to noise power spectral density observed by a modem.

func (*Esn0DataPoint) Descriptor deprecated

func (*Esn0DataPoint) Descriptor() ([]byte, []int)

Deprecated: Use Esn0DataPoint.ProtoReflect.Descriptor instead.

func (*Esn0DataPoint) GetEsn0Db

func (x *Esn0DataPoint) GetEsn0Db() float64

func (*Esn0DataPoint) GetModulatorId

func (x *Esn0DataPoint) GetModulatorId() string

func (*Esn0DataPoint) GetTime

func (x *Esn0DataPoint) GetTime() *timestamppb.Timestamp

func (*Esn0DataPoint) ProtoMessage

func (*Esn0DataPoint) ProtoMessage()

func (*Esn0DataPoint) ProtoReflect

func (x *Esn0DataPoint) ProtoReflect() protoreflect.Message

func (*Esn0DataPoint) Reset

func (x *Esn0DataPoint) Reset()

func (*Esn0DataPoint) String

func (x *Esn0DataPoint) String() string

type ExportMetricsRequest

type ExportMetricsRequest struct {
	InterfaceMetrics []*InterfaceMetrics `protobuf:"bytes,1,rep,name=interface_metrics,json=interfaceMetrics,proto3" json:"interface_metrics,omitempty"`
	ModemMetrics     []*ModemMetrics     `protobuf:"bytes,2,rep,name=modem_metrics,json=modemMetrics,proto3" json:"modem_metrics,omitempty"`
	// contains filtered or unexported fields
}

The request for aalyria.spacetime.telemetry.v1alpha.Telemetry.ExportMetrics.

func (*ExportMetricsRequest) Descriptor deprecated

func (*ExportMetricsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportMetricsRequest.ProtoReflect.Descriptor instead.

func (*ExportMetricsRequest) GetInterfaceMetrics

func (x *ExportMetricsRequest) GetInterfaceMetrics() []*InterfaceMetrics

func (*ExportMetricsRequest) GetModemMetrics

func (x *ExportMetricsRequest) GetModemMetrics() []*ModemMetrics

func (*ExportMetricsRequest) ProtoMessage

func (*ExportMetricsRequest) ProtoMessage()

func (*ExportMetricsRequest) ProtoReflect

func (x *ExportMetricsRequest) ProtoReflect() protoreflect.Message

func (*ExportMetricsRequest) Reset

func (x *ExportMetricsRequest) Reset()

func (*ExportMetricsRequest) String

func (x *ExportMetricsRequest) String() string

type IfOperStatus

type IfOperStatus int32

Network interface operational state.

See [RFC 2863](https://www.rfc-editor.org/rfc/rfc2863.html).

const (
	IfOperStatus_IF_OPER_STATUS_UNSPECIFIED IfOperStatus = 0
	// Ready to pass packets.
	IfOperStatus_IF_OPER_STATUS_UP   IfOperStatus = 1
	IfOperStatus_IF_OPER_STATUS_DOWN IfOperStatus = 2
	// In some test mode.
	IfOperStatus_IF_OPER_STATUS_TESTING IfOperStatus = 3
	// Status can not be determined for some reason.
	IfOperStatus_IF_OPER_STATUS_UNKNOWN IfOperStatus = 4
	IfOperStatus_IF_OPER_STATUS_DORMANT IfOperStatus = 5
	// Some component is missing.
	IfOperStatus_IF_OPER_STATUS_NOT_PRESENT IfOperStatus = 6
	// Down due to state of lower-layer interface(s).
	IfOperStatus_IF_OPER_STATUS_LOWER_LAYER_DOWN IfOperStatus = 7
)

func (IfOperStatus) Descriptor

func (IfOperStatus) Enum

func (x IfOperStatus) Enum() *IfOperStatus

func (IfOperStatus) EnumDescriptor deprecated

func (IfOperStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use IfOperStatus.Descriptor instead.

func (IfOperStatus) Number

func (IfOperStatus) String

func (x IfOperStatus) String() string

func (IfOperStatus) Type

type IfOperStatusDataPoint

type IfOperStatusDataPoint struct {

	// Required. When the value was captured.
	Time  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Value *IfOperStatus          `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

A data point in a timeseries that describes a network interface's time- varying operational state.

func (*IfOperStatusDataPoint) Descriptor deprecated

func (*IfOperStatusDataPoint) Descriptor() ([]byte, []int)

Deprecated: Use IfOperStatusDataPoint.ProtoReflect.Descriptor instead.

func (*IfOperStatusDataPoint) GetTime

func (*IfOperStatusDataPoint) GetValue

func (x *IfOperStatusDataPoint) GetValue() IfOperStatus

func (*IfOperStatusDataPoint) ProtoMessage

func (*IfOperStatusDataPoint) ProtoMessage()

func (*IfOperStatusDataPoint) ProtoReflect

func (x *IfOperStatusDataPoint) ProtoReflect() protoreflect.Message

func (*IfOperStatusDataPoint) Reset

func (x *IfOperStatusDataPoint) Reset()

func (*IfOperStatusDataPoint) String

func (x *IfOperStatusDataPoint) String() string

type InterfaceMetrics

type InterfaceMetrics struct {

	// Required. The interface producing telemetry.
	InterfaceId *string `protobuf:"bytes,1,opt,name=interface_id,json=interfaceId,proto3,oneof" json:"interface_id,omitempty"`
	// Data points describing the time-varying value of the interface's
	// operational state.
	OperationalStateDataPoints []*IfOperStatusDataPoint `` /* 143-byte string literal not displayed */
	// Data points describing the time-varying values of the interface's standard
	// statistics.
	StandardInterfaceStatisticsDataPoints []*StandardInterfaceStatisticsDataPoint `` /* 178-byte string literal not displayed */
	// contains filtered or unexported fields
}

A collection of metrics from a network interface.

func (*InterfaceMetrics) Descriptor deprecated

func (*InterfaceMetrics) Descriptor() ([]byte, []int)

Deprecated: Use InterfaceMetrics.ProtoReflect.Descriptor instead.

func (*InterfaceMetrics) GetInterfaceId

func (x *InterfaceMetrics) GetInterfaceId() string

func (*InterfaceMetrics) GetOperationalStateDataPoints

func (x *InterfaceMetrics) GetOperationalStateDataPoints() []*IfOperStatusDataPoint

func (*InterfaceMetrics) GetStandardInterfaceStatisticsDataPoints

func (x *InterfaceMetrics) GetStandardInterfaceStatisticsDataPoints() []*StandardInterfaceStatisticsDataPoint

func (*InterfaceMetrics) ProtoMessage

func (*InterfaceMetrics) ProtoMessage()

func (*InterfaceMetrics) ProtoReflect

func (x *InterfaceMetrics) ProtoReflect() protoreflect.Message

func (*InterfaceMetrics) Reset

func (x *InterfaceMetrics) Reset()

func (*InterfaceMetrics) String

func (x *InterfaceMetrics) String() string

type ModemMetrics

type ModemMetrics struct {

	// Required. The modem producing telemetry.
	DemodulatorId *string `protobuf:"bytes,1,opt,name=demodulator_id,json=demodulatorId,proto3,oneof" json:"demodulator_id,omitempty"`
	// Data points describing the time-varying energy per symbol to noise power
	// spectral density observed by the modem.
	Esn0DataPoints []*Esn0DataPoint `protobuf:"bytes,4,rep,name=esn0_data_points,json=esn0DataPoints,proto3" json:"esn0_data_points,omitempty"`
	// Data points describing the time-varying signal-to-interference-plus-noise
	// ratio observed by the modem.
	SinrDataPoints []*SinrDataPoint `protobuf:"bytes,5,rep,name=sinr_data_points,json=sinrDataPoints,proto3" json:"sinr_data_points,omitempty"`
	// contains filtered or unexported fields
}

A collection of metrics from a modem.

func (*ModemMetrics) Descriptor deprecated

func (*ModemMetrics) Descriptor() ([]byte, []int)

Deprecated: Use ModemMetrics.ProtoReflect.Descriptor instead.

func (*ModemMetrics) GetDemodulatorId

func (x *ModemMetrics) GetDemodulatorId() string

func (*ModemMetrics) GetEsn0DataPoints

func (x *ModemMetrics) GetEsn0DataPoints() []*Esn0DataPoint

func (*ModemMetrics) GetSinrDataPoints

func (x *ModemMetrics) GetSinrDataPoints() []*SinrDataPoint

func (*ModemMetrics) ProtoMessage

func (*ModemMetrics) ProtoMessage()

func (*ModemMetrics) ProtoReflect

func (x *ModemMetrics) ProtoReflect() protoreflect.Message

func (*ModemMetrics) Reset

func (x *ModemMetrics) Reset()

func (*ModemMetrics) String

func (x *ModemMetrics) String() string

type SinrDataPoint

type SinrDataPoint struct {

	// Required. When the value was captured.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// The transmitting modem.
	ModulatorId *string `protobuf:"bytes,2,opt,name=modulator_id,json=modulatorId,proto3,oneof" json:"modulator_id,omitempty"`
	// The signal-to-interference-plus-noise ratio, expressed in decibels.
	SinrDb *float64 `protobuf:"fixed64,3,opt,name=sinr_db,json=sinrDb,proto3,oneof" json:"sinr_db,omitempty"`
	// contains filtered or unexported fields
}

A data point in a timeseries that describes time-varying signal-to-interference-plus-noise ratio observed by a modem.

func (*SinrDataPoint) Descriptor deprecated

func (*SinrDataPoint) Descriptor() ([]byte, []int)

Deprecated: Use SinrDataPoint.ProtoReflect.Descriptor instead.

func (*SinrDataPoint) GetModulatorId

func (x *SinrDataPoint) GetModulatorId() string

func (*SinrDataPoint) GetSinrDb

func (x *SinrDataPoint) GetSinrDb() float64

func (*SinrDataPoint) GetTime

func (x *SinrDataPoint) GetTime() *timestamppb.Timestamp

func (*SinrDataPoint) ProtoMessage

func (*SinrDataPoint) ProtoMessage()

func (*SinrDataPoint) ProtoReflect

func (x *SinrDataPoint) ProtoReflect() protoreflect.Message

func (*SinrDataPoint) Reset

func (x *SinrDataPoint) Reset()

func (*SinrDataPoint) String

func (x *SinrDataPoint) String() string

type StandardInterfaceStatisticsDataPoint

type StandardInterfaceStatisticsDataPoint struct {

	// The start time of the sums.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Required. When the statistics were captured.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Number of good packets received by the interface. For hardware interfaces
	// counts all good packets received from the device by the host, including
	// packets which host had to drop at various stages of processing (even in
	// the driver).
	RxPackets *int64 `protobuf:"varint,3,opt,name=rx_packets,json=rxPackets,proto3,oneof" json:"rx_packets,omitempty"`
	// Number of packets successfully transmitted. For hardware interfaces counts
	// packets which host was able to successfully hand over to the device, which
	// does not necessarily mean that packets had been successfully transmitted
	// out of the device, only that device acknowledged it copied them out of
	// host memory.
	TxPackets *int64 `protobuf:"varint,4,opt,name=tx_packets,json=txPackets,proto3,oneof" json:"tx_packets,omitempty"`
	// Number of good received bytes, corresponding to rx_packets.
	//
	// For IEEE 802.3 devices should count the length of Ethernet Frames
	// excluding the FCS.
	RxBytes *int64 `protobuf:"varint,5,opt,name=rx_bytes,json=rxBytes,proto3,oneof" json:"rx_bytes,omitempty"`
	// Number of good transmitted bytes, corresponding to tx_packets.
	//
	// For IEEE 802.3 devices should count the length of Ethernet Frames
	// excluding the FCS.
	TxBytes *int64 `protobuf:"varint,6,opt,name=tx_bytes,json=txBytes,proto3,oneof" json:"tx_bytes,omitempty"`
	// Total number of bad packets received on this network device. This counter
	// must include events counted by rx_length_errors, rx_crc_errors,
	// rx_frame_errors and other errors not otherwise counted.
	RxErrors *int64 `protobuf:"varint,7,opt,name=rx_errors,json=rxErrors,proto3,oneof" json:"rx_errors,omitempty"`
	// Total number of transmit problems. This counter must include events
	// counter by tx_aborted_errors, tx_carrier_errors, tx_fifo_errors,
	// tx_heartbeat_errors, tx_window_errors and other errors not otherwise
	// counted.
	TxErrors *int64 `protobuf:"varint,8,opt,name=tx_errors,json=txErrors,proto3,oneof" json:"tx_errors,omitempty"`
	// Number of packets received but not processed, e.g. due to lack of
	// resources or unsupported protocol. For hardware interfaces this counter
	// may include packets discarded due to L2 address filtering but should not
	// include packets dropped by the device due to buffer exhaustion which are
	// counted separately in rx_missed_errors (since procfs folds those two
	// counters together).
	RxDropped *int64 `protobuf:"varint,9,opt,name=rx_dropped,json=rxDropped,proto3,oneof" json:"rx_dropped,omitempty"`
	// Number of packets dropped on their way to transmission, e.g. due to lack
	// of resources.
	TxDropped *int64 `protobuf:"varint,10,opt,name=tx_dropped,json=txDropped,proto3,oneof" json:"tx_dropped,omitempty"`
	// Multicast packets received. For hardware interfaces this statistic is
	// commonly calculated at the device level (unlike rx_packets) and therefore
	// may include packets which did not reach the host.
	//
	// For IEEE 802.3 devices this counter may be equivalent to:
	//   - 30.3.1.1.21 aMulticastFramesReceivedOK
	Multicast *int64 `protobuf:"varint,11,opt,name=multicast,proto3,oneof" json:"multicast,omitempty"`
	// Number of collisions during packet transmissions.
	Collisions *int64 `protobuf:"varint,12,opt,name=collisions,proto3,oneof" json:"collisions,omitempty"`
	// Number of packets dropped due to invalid length.
	//
	// For IEEE 802.3 devices this counter should be equivalent to a sum of the
	// following attributes:
	//   - 30.3.1.1.23 aInRangeLengthErrors
	//   - 30.3.1.1.24 aOutOfRangeLengthField
	//   - 30.3.1.1.25 aFrameTooLongErrors
	RxLengthErrors *int64 `protobuf:"varint,13,opt,name=rx_length_errors,json=rxLengthErrors,proto3,oneof" json:"rx_length_errors,omitempty"`
	// Receiver FIFO overflow event counter.
	//
	// Historically the count of overflow events. Such events may be reported in
	// the receive descriptors or via interrupts, and may not correspond one-to-
	// one with dropped packets.
	//
	// The recommended interpretation for high speed interfaces is - number of
	// packets dropped because they did not fit into buffers provided by the host,
	// e.g. packets larger than MTU or next buffer in the ring was not available
	// for a scatter transfer.
	//
	// This statistics was historically used interchangeably with rx_fifo_errors.
	//
	// This statistic corresponds to hardware events and is not commonly used on
	// software devices.
	RxOverErrors *int64 `protobuf:"varint,14,opt,name=rx_over_errors,json=rxOverErrors,proto3,oneof" json:"rx_over_errors,omitempty"`
	// Number of packets received with a CRC error.
	//
	// For IEEE 802.3 devices this counter must be equivalent to:
	//   - 30.3.1.1.6 aFrameCheckSequenceErrors
	RxCrcErrors *int64 `protobuf:"varint,15,opt,name=rx_crc_errors,json=rxCrcErrors,proto3,oneof" json:"rx_crc_errors,omitempty"`
	// Receiver frame alignment errors.
	//
	// For IEEE 802.3 devices this counter should be equivalent to:
	//   - 30.3.1.1.7 aAlignmentErrors
	RxFrameErrors *int64 `protobuf:"varint,16,opt,name=rx_frame_errors,json=rxFrameErrors,proto3,oneof" json:"rx_frame_errors,omitempty"`
	// Receiver FIFO error counter.
	//
	// Historically the count of overflow events. Those events may be reported in
	// the receive descriptors or via interrupts, and may not correspond one-to-
	// one with dropped packets.
	//
	// This statistics was used interchangeably with rx_over_errors. Not
	// recommended for use in drivers for high speed interfaces.
	//
	// This statistic is used on software devices, e.g. to count software packet
	// queue overflow (can) or sequencing errors (GRE).
	RxFifoErrors *int64 `protobuf:"varint,17,opt,name=rx_fifo_errors,json=rxFifoErrors,proto3,oneof" json:"rx_fifo_errors,omitempty"`
	// Count of packets missed by the host.
	//
	// Counts number of packets dropped by the device due to lack of buffer space.
	// This usually indicates that the host interface is slower than the network
	// interface, or host is not keeping up with the receive packet rate.
	//
	// This statistic corresponds to hardware events and is not used on software
	// devices.
	RxMissedErrors *int64 `protobuf:"varint,18,opt,name=rx_missed_errors,json=rxMissedErrors,proto3,oneof" json:"rx_missed_errors,omitempty"`
	// For IEEE 802.3 devices capable of half-duplex operation this counter must
	// be equivalent to:
	//   - 30.3.1.1.11 aFramesAbortedDueToXSColls
	//
	// High speed interfaces may use this counter as a general device discard
	// counter.
	TxAbortedErrors *int64 `protobuf:"varint,19,opt,name=tx_aborted_errors,json=txAbortedErrors,proto3,oneof" json:"tx_aborted_errors,omitempty"`
	// Number of frame transmission errors due to loss of carrier during
	// transmission.
	//
	// For IEEE 802.3 devices this counter must be equivalent to:
	//   - 30.3.1.1.13 aCarrierSenseErrors
	TxCarrierErrors *int64 `protobuf:"varint,20,opt,name=tx_carrier_errors,json=txCarrierErrors,proto3,oneof" json:"tx_carrier_errors,omitempty"`
	// Number of frame transmission errors due to device FIFO underrun /
	// underflow. This condition occurs when the device begins transmission of a
	// frame but is unable to deliver the entire frame to the transmitter in time
	// for transmission.
	TxFifoErrors *int64 `protobuf:"varint,21,opt,name=tx_fifo_errors,json=txFifoErrors,proto3,oneof" json:"tx_fifo_errors,omitempty"`
	// Number of Heartbeat / SQE Test errors for old half-duplex Ethernet.
	//
	// For IEEE 802.3 devices possibly equivalent to:
	//   - 30.3.2.1.4 aSQETestErrors
	TxHeartbeatErrors *int64 `protobuf:"varint,22,opt,name=tx_heartbeat_errors,json=txHeartbeatErrors,proto3,oneof" json:"tx_heartbeat_errors,omitempty"`
	// Number of frame transmission errors due to late collisions (for Ethernet -
	// after the first 64B of transmission).
	//
	// For IEEE 802.3 devices this counter must be equivalent to:
	//   - 30.3.1.1.10 aLateCollisions
	TxWindowErrors *int64 `protobuf:"varint,23,opt,name=tx_window_errors,json=txWindowErrors,proto3,oneof" json:"tx_window_errors,omitempty"`
	// Number of correctly received compressed packets. This counters is only
	// meaningful for interfaces which support packet compression (e.g. CSLIP,
	// PPP).
	RxCompressed *int64 `protobuf:"varint,24,opt,name=rx_compressed,json=rxCompressed,proto3,oneof" json:"rx_compressed,omitempty"`
	//	Number of transmitted compressed packets. This counters is only meaningful
	//
	// for interfaces which support packet compression (e.g. CSLIP, PPP).
	TxCompressed *int64 `protobuf:"varint,25,opt,name=tx_compressed,json=txCompressed,proto3,oneof" json:"tx_compressed,omitempty"`
	// Number of packets received on the interface but dropped by the networking
	// stack because the device is not designated to receive packets (e.g. backup
	// link in a bond).
	RxNohandler *int64 `protobuf:"varint,26,opt,name=rx_nohandler,json=rxNohandler,proto3,oneof" json:"rx_nohandler,omitempty"`
	// Number of packets dropped due to mismatch in destination MAC address.
	RxOtherhostDropped *int64 `protobuf:"varint,27,opt,name=rx_otherhost_dropped,json=rxOtherhostDropped,proto3,oneof" json:"rx_otherhost_dropped,omitempty"`
	// contains filtered or unexported fields
}

A data point in a timeseries that describes the time-varying values of a standard collection of network interface statistics.

Specifically, the statistics are defined to mirror Linux's standard interface statistics (https://docs.kernel.org/networking/statistics.html), from which the fields and their documentation are derived.

func (*StandardInterfaceStatisticsDataPoint) Descriptor deprecated

func (*StandardInterfaceStatisticsDataPoint) Descriptor() ([]byte, []int)

Deprecated: Use StandardInterfaceStatisticsDataPoint.ProtoReflect.Descriptor instead.

func (*StandardInterfaceStatisticsDataPoint) GetCollisions

func (x *StandardInterfaceStatisticsDataPoint) GetCollisions() int64

func (*StandardInterfaceStatisticsDataPoint) GetMulticast

func (x *StandardInterfaceStatisticsDataPoint) GetMulticast() int64

func (*StandardInterfaceStatisticsDataPoint) GetRxBytes

func (*StandardInterfaceStatisticsDataPoint) GetRxCompressed

func (x *StandardInterfaceStatisticsDataPoint) GetRxCompressed() int64

func (*StandardInterfaceStatisticsDataPoint) GetRxCrcErrors

func (x *StandardInterfaceStatisticsDataPoint) GetRxCrcErrors() int64

func (*StandardInterfaceStatisticsDataPoint) GetRxDropped

func (x *StandardInterfaceStatisticsDataPoint) GetRxDropped() int64

func (*StandardInterfaceStatisticsDataPoint) GetRxErrors

func (*StandardInterfaceStatisticsDataPoint) GetRxFifoErrors

func (x *StandardInterfaceStatisticsDataPoint) GetRxFifoErrors() int64

func (*StandardInterfaceStatisticsDataPoint) GetRxFrameErrors

func (x *StandardInterfaceStatisticsDataPoint) GetRxFrameErrors() int64

func (*StandardInterfaceStatisticsDataPoint) GetRxLengthErrors

func (x *StandardInterfaceStatisticsDataPoint) GetRxLengthErrors() int64

func (*StandardInterfaceStatisticsDataPoint) GetRxMissedErrors

func (x *StandardInterfaceStatisticsDataPoint) GetRxMissedErrors() int64

func (*StandardInterfaceStatisticsDataPoint) GetRxNohandler

func (x *StandardInterfaceStatisticsDataPoint) GetRxNohandler() int64

func (*StandardInterfaceStatisticsDataPoint) GetRxOtherhostDropped

func (x *StandardInterfaceStatisticsDataPoint) GetRxOtherhostDropped() int64

func (*StandardInterfaceStatisticsDataPoint) GetRxOverErrors

func (x *StandardInterfaceStatisticsDataPoint) GetRxOverErrors() int64

func (*StandardInterfaceStatisticsDataPoint) GetRxPackets

func (x *StandardInterfaceStatisticsDataPoint) GetRxPackets() int64

func (*StandardInterfaceStatisticsDataPoint) GetStartTime

func (*StandardInterfaceStatisticsDataPoint) GetTime

func (*StandardInterfaceStatisticsDataPoint) GetTxAbortedErrors

func (x *StandardInterfaceStatisticsDataPoint) GetTxAbortedErrors() int64

func (*StandardInterfaceStatisticsDataPoint) GetTxBytes

func (*StandardInterfaceStatisticsDataPoint) GetTxCarrierErrors

func (x *StandardInterfaceStatisticsDataPoint) GetTxCarrierErrors() int64

func (*StandardInterfaceStatisticsDataPoint) GetTxCompressed

func (x *StandardInterfaceStatisticsDataPoint) GetTxCompressed() int64

func (*StandardInterfaceStatisticsDataPoint) GetTxDropped

func (x *StandardInterfaceStatisticsDataPoint) GetTxDropped() int64

func (*StandardInterfaceStatisticsDataPoint) GetTxErrors

func (*StandardInterfaceStatisticsDataPoint) GetTxFifoErrors

func (x *StandardInterfaceStatisticsDataPoint) GetTxFifoErrors() int64

func (*StandardInterfaceStatisticsDataPoint) GetTxHeartbeatErrors

func (x *StandardInterfaceStatisticsDataPoint) GetTxHeartbeatErrors() int64

func (*StandardInterfaceStatisticsDataPoint) GetTxPackets

func (x *StandardInterfaceStatisticsDataPoint) GetTxPackets() int64

func (*StandardInterfaceStatisticsDataPoint) GetTxWindowErrors

func (x *StandardInterfaceStatisticsDataPoint) GetTxWindowErrors() int64

func (*StandardInterfaceStatisticsDataPoint) ProtoMessage

func (*StandardInterfaceStatisticsDataPoint) ProtoMessage()

func (*StandardInterfaceStatisticsDataPoint) ProtoReflect

func (*StandardInterfaceStatisticsDataPoint) Reset

func (*StandardInterfaceStatisticsDataPoint) String

type TelemetryClient

type TelemetryClient interface {
	// Pushes metrics to the SDN controller.
	ExportMetrics(ctx context.Context, in *ExportMetricsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

TelemetryClient is the client API for Telemetry service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTelemetryClient

func NewTelemetryClient(cc grpc.ClientConnInterface) TelemetryClient

type TelemetryServer

type TelemetryServer interface {
	// Pushes metrics to the SDN controller.
	ExportMetrics(context.Context, *ExportMetricsRequest) (*emptypb.Empty, error)
}

TelemetryServer is the server API for Telemetry service. All implementations should embed UnimplementedTelemetryServer for forward compatibility.

type UnimplementedTelemetryServer

type UnimplementedTelemetryServer struct{}

UnimplementedTelemetryServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedTelemetryServer) ExportMetrics

type UnsafeTelemetryServer

type UnsafeTelemetryServer interface {
	// contains filtered or unexported methods
}

UnsafeTelemetryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TelemetryServer will result in compilation errors.

Source Files

  • telemetry.pb.go
  • telemetry_grpc.pb.go

Jump to

Keyboard shortcuts

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