Skip to content
Snippets Groups Projects
Commit 49f0f467 authored by Daniel Czerwonk's avatar Daniel Czerwonk
Browse files

renaming of stats attr

parent 2cb804fe
No related branches found
No related tags found
No related merge requests found
...@@ -152,12 +152,12 @@ func (m *Session) GetEstablishedSince() uint64 { ...@@ -152,12 +152,12 @@ func (m *Session) GetEstablishedSince() uint64 {
} }
type SessionStats struct { type SessionStats struct {
PackagesIn uint64 `protobuf:"varint,6,opt,name=packages_in,json=packagesIn,proto3" json:"packages_in,omitempty"` MessagesIn uint64 `protobuf:"varint,1,opt,name=messages_in,json=messagesIn,proto3" json:"messages_in,omitempty"`
PackagesOut uint64 `protobuf:"varint,7,opt,name=packages_out,json=packagesOut,proto3" json:"packages_out,omitempty"` MessagesOut uint64 `protobuf:"varint,2,opt,name=messages_out,json=messagesOut,proto3" json:"messages_out,omitempty"`
Flaps uint64 `protobuf:"varint,8,opt,name=flaps,proto3" json:"flaps,omitempty"` Flaps uint64 `protobuf:"varint,3,opt,name=flaps,proto3" json:"flaps,omitempty"`
RoutesReceived uint64 `protobuf:"varint,9,opt,name=routes_received,json=routesReceived,proto3" json:"routes_received,omitempty"` RoutesReceived uint64 `protobuf:"varint,4,opt,name=routes_received,json=routesReceived,proto3" json:"routes_received,omitempty"`
RoutesImported uint64 `protobuf:"varint,10,opt,name=routes_imported,json=routesImported,proto3" json:"routes_imported,omitempty"` RoutesImported uint64 `protobuf:"varint,5,opt,name=routes_imported,json=routesImported,proto3" json:"routes_imported,omitempty"`
RoutesExported uint64 `protobuf:"varint,11,opt,name=routes_exported,json=routesExported,proto3" json:"routes_exported,omitempty"` RoutesExported uint64 `protobuf:"varint,6,opt,name=routes_exported,json=routesExported,proto3" json:"routes_exported,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
...@@ -188,16 +188,16 @@ func (m *SessionStats) XXX_DiscardUnknown() { ...@@ -188,16 +188,16 @@ func (m *SessionStats) XXX_DiscardUnknown() {
var xxx_messageInfo_SessionStats proto.InternalMessageInfo var xxx_messageInfo_SessionStats proto.InternalMessageInfo
func (m *SessionStats) GetPackagesIn() uint64 { func (m *SessionStats) GetMessagesIn() uint64 {
if m != nil { if m != nil {
return m.PackagesIn return m.MessagesIn
} }
return 0 return 0
} }
func (m *SessionStats) GetPackagesOut() uint64 { func (m *SessionStats) GetMessagesOut() uint64 {
if m != nil { if m != nil {
return m.PackagesOut return m.MessagesOut
} }
return 0 return 0
} }
...@@ -241,35 +241,35 @@ func init() { ...@@ -241,35 +241,35 @@ func init() {
} }
var fileDescriptor_5b53032c0bb76d75 = []byte{ var fileDescriptor_5b53032c0bb76d75 = []byte{
// 471 bytes of a gzipped FileDescriptorProto // 473 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xcf, 0x6e, 0xd3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xc1, 0x8e, 0xd3, 0x30,
0x10, 0xc6, 0x71, 0x9b, 0xc4, 0xe9, 0x38, 0x69, 0xdc, 0x15, 0x20, 0x03, 0x07, 0x42, 0x2e, 0x44, 0x10, 0x86, 0xc9, 0x36, 0x4d, 0xca, 0xb4, 0xdd, 0x66, 0x2d, 0x40, 0x05, 0x0e, 0x94, 0x5e, 0xa8,
0xaa, 0xb0, 0xa1, 0x48, 0xdc, 0x38, 0x94, 0xd0, 0x43, 0x4e, 0x45, 0xce, 0x8d, 0x4b, 0xb4, 0xf6, 0xb4, 0x22, 0x81, 0x45, 0xe2, 0xc6, 0x61, 0x29, 0x7b, 0xe8, 0x69, 0x91, 0x7b, 0xe3, 0x52, 0x39,
0x4e, 0x9d, 0x15, 0xce, 0xae, 0xe5, 0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, 0x4e, 0xed, 0x81, 0x72, 0x5f, 0xe9, 0xda, 0xa0, 0x88, 0xa0, 0x50, 0xfa, 0x38, 0x42, 0x7e, 0xd9, 0xca, 0xbc, 0x53, 0xcf, 0x40, 0xb5, 0xab, 0x4d, 0x63, 0x51,
0x0f, 0xae, 0x3b, 0xb5, 0x07, 0xe2, 0xf7, 0x0e, 0x0c, 0xfa, 0xe0, 0x5d, 0xa7, 0x7e, 0x7a, 0xf7, 0xfa, 0x78, 0x4e, 0xe0, 0xaa, 0x53, 0xcf, 0x40, 0xfc, 0xde, 0x81, 0xd1, 0x39, 0x78, 0xd7, 0xa9,
0x35, 0xf9, 0xcf, 0x1f, 0x22, 0x1b, 0x39, 0xe9, 0xfd, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x9f, 0xdf, 0x7f, 0xcb, 0xfe, 0xf3, 0x87, 0xc8, 0x23, 0x2f, 0x7d, 0xf8, 0x15, 0x00, 0x00, 0xff,
0x41, 0x75, 0x2f, 0x4a, 0x03, 0x00, 0x00, 0xff, 0xd4, 0x6f, 0x19, 0xed, 0x4a, 0x03, 0x00, 0x00,
} }
...@@ -26,10 +26,10 @@ message Session { ...@@ -26,10 +26,10 @@ message Session {
} }
message SessionStats { message SessionStats {
uint64 packages_in = 6; uint64 messages_in = 1;
uint64 packages_out = 7; uint64 messages_out = 2;
uint64 flaps = 8; uint64 flaps = 3;
uint64 routes_received = 9; uint64 routes_received = 4;
uint64 routes_imported = 10; uint64 routes_imported = 5;
uint64 routes_exported = 11; uint64 routes_exported = 6;
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment