Documentation
¶
Index ¶
- Variables
- type Metrics
- func (*Metrics) Descriptor() ([]byte, []int)
- func (m *Metrics) Marshal() (dAtA []byte, err error)
- func (m *Metrics) MarshalTo(dAtA []byte) (int, error)
- func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metrics) ProtoMessage()
- func (m *Metrics) Reset()
- func (m *Metrics) String() string
- func (m *Metrics) Unmarshal(dAtA []byte) error
- func (m *Metrics) XSize() (n int)
- func (m *Metrics) XXX_DiscardUnknown()
- func (m *Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metrics) XXX_Merge(src proto.Message)
- func (m *Metrics) XXX_Size() int
- func (m *Metrics) XXX_Unmarshal(b []byte) error
- type Usage
- func (*Usage) Descriptor() ([]byte, []int)
- func (m *Usage) Marshal() (dAtA []byte, err error)
- func (m *Usage) MarshalTo(dAtA []byte) (int, error)
- func (m *Usage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Usage) ProtoMessage()
- func (m *Usage) Reset()
- func (m *Usage) String() string
- func (m *Usage) Unmarshal(dAtA []byte) error
- func (m *Usage) XSize() (n int)
- func (m *Usage) XXX_DiscardUnknown()
- func (m *Usage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Usage) XXX_Merge(src proto.Message)
- func (m *Usage) XXX_Size() int
- func (m *Usage) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct {
// counts such as requests, services, etc
Count map[string]uint64 `` /* 152-byte string literal not displayed */
}
func (*Metrics) Descriptor ¶
func (*Metrics) MarshalToSizedBuffer ¶
func (*Metrics) ProtoMessage ¶
func (*Metrics) ProtoMessage()
func (*Metrics) XXX_DiscardUnknown ¶
func (m *Metrics) XXX_DiscardUnknown()
func (*Metrics) XXX_Marshal ¶
func (*Metrics) XXX_Unmarshal ¶
type Usage ¶
type Usage struct {
// service name
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// version of service
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// unique service id
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// unix timestamp of report
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// window of report in seconds
Window uint64 `protobuf:"varint,5,opt,name=window,proto3" json:"window,omitempty"`
// usage metrics
Metrics *Metrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"`
}
func (*Usage) Descriptor ¶
func (*Usage) ProtoMessage ¶
func (*Usage) ProtoMessage()
func (*Usage) XXX_DiscardUnknown ¶
func (m *Usage) XXX_DiscardUnknown()
func (*Usage) XXX_Marshal ¶
func (*Usage) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.