Documentation ¶
Index ¶
- func Key(metric string) string
- type KsrStats
- func (*KsrStats) Descriptor() ([]byte, []int)
- func (m *KsrStats) GetAddErrors() uint64
- func (m *KsrStats) GetAdds() uint64
- func (m *KsrStats) GetArgErrors() uint64
- func (m *KsrStats) GetDelErrors() uint64
- func (m *KsrStats) GetDeletes() uint64
- func (m *KsrStats) GetResErrors() uint64
- func (m *KsrStats) GetResyncs() uint64
- func (m *KsrStats) GetUpdErrors() uint64
- func (m *KsrStats) GetUpdates() uint64
- func (*KsrStats) ProtoMessage()
- func (m *KsrStats) Reset()
- func (m *KsrStats) String() string
- func (m *KsrStats) XXX_DiscardUnknown()
- func (m *KsrStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KsrStats) XXX_Merge(src proto.Message)
- func (m *KsrStats) XXX_Size() int
- func (m *KsrStats) XXX_Unmarshal(b []byte) error
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)
- func (m *Stats) GetEndpointsStats() *KsrStats
- func (m *Stats) GetNamespaceStats() *KsrStats
- func (m *Stats) GetNodeStats() *KsrStats
- func (m *Stats) GetPodStats() *KsrStats
- func (m *Stats) GetPolicyStats() *KsrStats
- func (m *Stats) GetServiceStats() *KsrStats
- func (m *Stats) GetSfcPodStats() *KsrStats
- func (*Stats) ProtoMessage()
- func (m *Stats) Reset()
- func (m *Stats) String() string
- func (m *Stats) XXX_DiscardUnknown()
- func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stats) XXX_Merge(src proto.Message)
- func (m *Stats) XXX_Size() int
- func (m *Stats) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KsrStats ¶
type KsrStats struct { // Number of add operations. Adds uint64 `protobuf:"varint,1,opt,name=Adds,proto3" json:"Adds,omitempty"` // Number of delete operations. Updates uint64 `protobuf:"varint,2,opt,name=Updates,proto3" json:"Updates,omitempty"` // Number of delete operations. Deletes uint64 `protobuf:"varint,3,opt,name=Deletes,proto3" json:"Deletes,omitempty"` // Number of data store resync runs. Resyncs uint64 `protobuf:"varint,4,opt,name=Resyncs,proto3" json:"Resyncs,omitempty"` // Number of add operation errors. AddErrors uint64 `protobuf:"varint,5,opt,name=AddErrors,proto3" json:"AddErrors,omitempty"` // Number of delete operation errors. UpdErrors uint64 `protobuf:"varint,6,opt,name=UpdErrors,proto3" json:"UpdErrors,omitempty"` // Number of delete operation errors. DelErrors uint64 `protobuf:"varint,7,opt,name=DelErrors,proto3" json:"DelErrors,omitempty"` // Number of operations where one or more arguments were invalid. ArgErrors uint64 `protobuf:"varint,8,opt,name=ArgErrors,proto3" json:"ArgErrors,omitempty"` // Number of of data store resync errors. ResErrors uint64 `protobuf:"varint,9,opt,name=ResErrors,proto3" json:"ResErrors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
KsrStats holds statistics for an individual KSR type
func (*KsrStats) Descriptor ¶
func (*KsrStats) GetAddErrors ¶
func (*KsrStats) GetArgErrors ¶
func (*KsrStats) GetDelErrors ¶
func (*KsrStats) GetDeletes ¶
func (*KsrStats) GetResErrors ¶
func (*KsrStats) GetResyncs ¶
func (*KsrStats) GetUpdErrors ¶
func (*KsrStats) GetUpdates ¶
func (*KsrStats) ProtoMessage ¶
func (*KsrStats) ProtoMessage()
func (*KsrStats) XXX_DiscardUnknown ¶
func (m *KsrStats) XXX_DiscardUnknown()
func (*KsrStats) XXX_Marshal ¶
func (*KsrStats) XXX_Unmarshal ¶
type Stats ¶
type Stats struct { // Statistics for the Namespace Reflector NamespaceStats *KsrStats `protobuf:"bytes,1,opt,name=namespaceStats,proto3" json:"namespaceStats,omitempty"` // Statistics for the Pod Reflector PodStats *KsrStats `protobuf:"bytes,2,opt,name=podStats,proto3" json:"podStats,omitempty"` // Statistics for the Network Policy Reflector PolicyStats *KsrStats `protobuf:"bytes,3,opt,name=policyStats,proto3" json:"policyStats,omitempty"` // Statistics for the Endpoints Reflector EndpointsStats *KsrStats `protobuf:"bytes,4,opt,name=endpointsStats,proto3" json:"endpointsStats,omitempty"` // Statistics for the Service Reflector ServiceStats *KsrStats `protobuf:"bytes,5,opt,name=serviceStats,proto3" json:"serviceStats,omitempty"` // Statistics for the Node Reflector NodeStats *KsrStats `protobuf:"bytes,6,opt,name=nodeStats,proto3" json:"nodeStats,omitempty"` // Statistics for the SfcPod Reflector SfcPodStats *KsrStats `protobuf:"bytes,7,opt,name=sfcPodStats,proto3" json:"sfcPodStats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Stats holds aggregated statistics for all KSR types in the KSR process.
func (*Stats) Descriptor ¶
func (*Stats) GetEndpointsStats ¶
func (*Stats) GetNamespaceStats ¶
func (*Stats) GetNodeStats ¶
func (*Stats) GetPodStats ¶
func (*Stats) GetPolicyStats ¶
func (*Stats) GetServiceStats ¶
func (*Stats) GetSfcPodStats ¶ added in v1.4.0
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) XXX_DiscardUnknown ¶
func (m *Stats) XXX_DiscardUnknown()
func (*Stats) XXX_Marshal ¶
func (*Stats) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.