Documentation ¶
Index ¶
- Variables
- type Counter
- func (*Counter) Descriptor() ([]byte, []int)deprecated
- func (x *Counter) GetAvg() float64
- func (x *Counter) GetBaseVal() int64
- func (x *Counter) GetCumVal() int64
- func (x *Counter) GetCurrentVal() int64
- func (x *Counter) GetCurrentValDouble() float64
- func (x *Counter) GetCurrentValU64() uint64
- func (x *Counter) GetInterval() int32
- func (x *Counter) GetMax() int64
- func (x *Counter) GetMin() int64
- func (x *Counter) GetName() string
- func (*Counter) ProtoMessage()
- func (x *Counter) ProtoReflect() protoreflect.Message
- func (x *Counter) Reset()
- func (x *Counter) String() string
- type Microburst
- func (*Microburst) Descriptor() ([]byte, []int)deprecated
- func (x *Microburst) GetClassLevel() string
- func (x *Microburst) GetDuration() int64
- func (x *Microburst) GetEndDepth() int32
- func (x *Microburst) GetEndTs() string
- func (x *Microburst) GetInterfaceName() string
- func (x *Microburst) GetPeak() int32
- func (x *Microburst) GetPeakTs() string
- func (x *Microburst) GetQueue() string
- func (x *Microburst) GetQueueType() string
- func (x *Microburst) GetSourceName() string
- func (x *Microburst) GetStartTs() string
- func (x *Microburst) GetThreshold() int32
- func (x *Microburst) GetTs() string
- func (*Microburst) ProtoMessage()
- func (x *Microburst) ProtoReflect() protoreflect.Message
- func (x *Microburst) Reset()
- func (x *Microburst) String() string
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)deprecated
- func (x *Stats) GetCounters() []*Counter
- func (x *Stats) GetMicroburst() []*Microburst
- func (x *Stats) GetSource() string
- func (x *Stats) GetStatName() string
- func (*Stats) ProtoMessage()
- func (x *Stats) ProtoReflect() protoreflect.Message
- func (x *Stats) Reset()
- func (x *Stats) String() string
- type StatsStream
- func (*StatsStream) Descriptor() ([]byte, []int)deprecated
- func (x *StatsStream) GetFabricName() string
- func (x *StatsStream) GetNodeName() string
- func (x *StatsStream) GetStatObjects() []*Stats
- func (x *StatsStream) GetTimestamp() string
- func (x *StatsStream) GetVendor() string
- func (x *StatsStream) GetVersion() int32
- func (*StatsStream) ProtoMessage()
- func (x *StatsStream) ProtoReflect() protoreflect.Message
- func (x *StatsStream) Reset()
- func (x *StatsStream) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_microburst_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CurrentVal int64 `protobuf:"varint,2,opt,name=currentVal,proto3" json:"currentVal,omitempty"` Min int64 `protobuf:"varint,3,opt,name=min,proto3" json:"min,omitempty"` Max int64 `protobuf:"varint,4,opt,name=max,proto3" json:"max,omitempty"` Avg float64 `protobuf:"fixed64,5,opt,name=avg,proto3" json:"avg,omitempty"` Interval int32 `protobuf:"varint,6,opt,name=interval,proto3" json:"interval,omitempty"` CumVal int64 `protobuf:"varint,7,opt,name=cumVal,proto3" json:"cumVal,omitempty"` CurrentValDouble float64 `protobuf:"fixed64,8,opt,name=currentValDouble,proto3" json:"currentValDouble,omitempty"` BaseVal int64 `protobuf:"varint,9,opt,name=baseVal,proto3" json:"baseVal,omitempty"` CurrentValU64 uint64 `protobuf:"varint,10,opt,name=currentValU64,proto3" json:"currentValU64,omitempty"` // contains filtered or unexported fields }
func (*Counter) Descriptor
deprecated
func (*Counter) GetBaseVal ¶
func (*Counter) GetCurrentVal ¶
func (*Counter) GetCurrentValDouble ¶
func (*Counter) GetCurrentValU64 ¶
func (*Counter) GetInterval ¶
func (*Counter) ProtoMessage ¶
func (*Counter) ProtoMessage()
func (*Counter) ProtoReflect ¶
func (x *Counter) ProtoReflect() protoreflect.Message
type Microburst ¶
type Microburst struct { // interface name InterfaceName string `protobuf:"bytes,1,opt,name=interfaceName,proto3" json:"interfaceName,omitempty"` // interface port queue-<idx> Queue string `protobuf:"bytes,2,opt,name=queue,proto3" json:"queue,omitempty"` // unicast (or) multicast QueueType string `protobuf:"bytes,3,opt,name=queueType,proto3" json:"queueType,omitempty"` // not used Threshold int32 `protobuf:"varint,4,opt,name=threshold,proto3" json:"threshold,omitempty"` // set to peak occupancy during burst Peak int32 `protobuf:"varint,5,opt,name=peak,proto3" json:"peak,omitempty"` // not used EndDepth int32 `protobuf:"varint,6,opt,name=endDepth,proto3" json:"endDepth,omitempty"` // set to burst duration Duration int64 `protobuf:"varint,7,opt,name=duration,proto3" json:"duration,omitempty"` // set to encoding timestamp Ts string `protobuf:"bytes,8,opt,name=ts,proto3" json:"ts,omitempty"` // set to up timestamp StartTs string `protobuf:"bytes,9,opt,name=startTs,proto3" json:"startTs,omitempty"` // set to down timestamp EndTs string `protobuf:"bytes,10,opt,name=endTs,proto3" json:"endTs,omitempty"` // set to burst peak timestamp PeakTs string `protobuf:"bytes,11,opt,name=peakTs,proto3" json:"peakTs,omitempty"` // set to node-<node_name>/microburst/interface-<port_name>/queue-[queue-<queue_idx>] SourceName string `protobuf:"bytes,12,opt,name=sourceName,proto3" json:"sourceName,omitempty"` // set to class-level<level> ClassLevel string `protobuf:"bytes,13,opt,name=classLevel,proto3" json:"classLevel,omitempty"` // contains filtered or unexported fields }
func (*Microburst) Descriptor
deprecated
func (*Microburst) Descriptor() ([]byte, []int)
Deprecated: Use Microburst.ProtoReflect.Descriptor instead.
func (*Microburst) GetClassLevel ¶
func (x *Microburst) GetClassLevel() string
func (*Microburst) GetDuration ¶
func (x *Microburst) GetDuration() int64
func (*Microburst) GetEndDepth ¶
func (x *Microburst) GetEndDepth() int32
func (*Microburst) GetEndTs ¶
func (x *Microburst) GetEndTs() string
func (*Microburst) GetInterfaceName ¶
func (x *Microburst) GetInterfaceName() string
func (*Microburst) GetPeak ¶
func (x *Microburst) GetPeak() int32
func (*Microburst) GetPeakTs ¶
func (x *Microburst) GetPeakTs() string
func (*Microburst) GetQueue ¶
func (x *Microburst) GetQueue() string
func (*Microburst) GetQueueType ¶
func (x *Microburst) GetQueueType() string
func (*Microburst) GetSourceName ¶
func (x *Microburst) GetSourceName() string
func (*Microburst) GetStartTs ¶
func (x *Microburst) GetStartTs() string
func (*Microburst) GetThreshold ¶
func (x *Microburst) GetThreshold() int32
func (*Microburst) GetTs ¶
func (x *Microburst) GetTs() string
func (*Microburst) ProtoMessage ¶
func (*Microburst) ProtoMessage()
func (*Microburst) ProtoReflect ¶
func (x *Microburst) ProtoReflect() protoreflect.Message
func (*Microburst) Reset ¶
func (x *Microburst) Reset()
func (*Microburst) String ¶
func (x *Microburst) String() string
type Stats ¶
type Stats struct { // not set Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // set to microburst StatName string `protobuf:"bytes,2,opt,name=statName,proto3" json:"statName,omitempty"` // not used Counters []*Counter `protobuf:"bytes,3,rep,name=counters,proto3" json:"counters,omitempty"` // microburst stats Microburst []*Microburst `protobuf:"bytes,4,rep,name=microburst,proto3" json:"microburst,omitempty"` // contains filtered or unexported fields }
func (*Stats) Descriptor
deprecated
func (*Stats) GetCounters ¶
func (*Stats) GetMicroburst ¶
func (x *Stats) GetMicroburst() []*Microburst
func (*Stats) GetStatName ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) ProtoReflect ¶
func (x *Stats) ProtoReflect() protoreflect.Message
type StatsStream ¶
type StatsStream struct { // nodeName from switch telemetry configuration // # "use-nodeid <fabric_name/node_name>" NodeName string `protobuf:"bytes,1,opt,name=nodeName,proto3" json:"nodeName,omitempty"` // encode timestamp Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // microburst stats StatObjects []*Stats `protobuf:"bytes,3,rep,name=statObjects,proto3" json:"statObjects,omitempty"` // fabricName is extracted from switch telemetry configuration // # "use-nodeid <fabric_name/node_name>" FabricName string `protobuf:"bytes,4,opt,name=fabricName,proto3" json:"fabricName,omitempty"` // set to CISCO_NX-OS Vendor string `protobuf:"bytes,5,opt,name=vendor,proto3" json:"vendor,omitempty"` // set to 2 Version int32 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*StatsStream) Descriptor
deprecated
func (*StatsStream) Descriptor() ([]byte, []int)
Deprecated: Use StatsStream.ProtoReflect.Descriptor instead.
func (*StatsStream) GetFabricName ¶
func (x *StatsStream) GetFabricName() string
func (*StatsStream) GetNodeName ¶
func (x *StatsStream) GetNodeName() string
func (*StatsStream) GetStatObjects ¶
func (x *StatsStream) GetStatObjects() []*Stats
func (*StatsStream) GetTimestamp ¶
func (x *StatsStream) GetTimestamp() string
func (*StatsStream) GetVendor ¶
func (x *StatsStream) GetVendor() string
func (*StatsStream) GetVersion ¶
func (x *StatsStream) GetVersion() int32
func (*StatsStream) ProtoMessage ¶
func (*StatsStream) ProtoMessage()
func (*StatsStream) ProtoReflect ¶
func (x *StatsStream) ProtoReflect() protoreflect.Message
func (*StatsStream) Reset ¶
func (x *StatsStream) Reset()
func (*StatsStream) String ¶
func (x *StatsStream) String() string
Click to show internal directories.
Click to hide internal directories.