Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package diagnosticspb is a generated protocol buffer package.
It is generated from these files:
cockroach/pkg/server/diagnosticspb/diagnostics.proto
It has these top-level messages:
DiagnosticReport NodeInfo StoreInfo
Index ¶
- Variables
 - type DiagnosticReport
 - func (*DiagnosticReport) Descriptor() ([]byte, []int)
 - func (m *DiagnosticReport) Marshal() (dAtA []byte, err error)
 - func (m *DiagnosticReport) MarshalTo(dAtA []byte) (int, error)
 - func (*DiagnosticReport) ProtoMessage()
 - func (m *DiagnosticReport) Reset()
 - func (m *DiagnosticReport) Size() (n int)
 - func (m *DiagnosticReport) String() string
 - func (m *DiagnosticReport) Unmarshal(dAtA []byte) error
 
- type NodeInfo
 - func (*NodeInfo) Descriptor() ([]byte, []int)
 - func (m *NodeInfo) Marshal() (dAtA []byte, err error)
 - func (m *NodeInfo) MarshalTo(dAtA []byte) (int, error)
 - func (*NodeInfo) ProtoMessage()
 - func (m *NodeInfo) Reset()
 - func (m *NodeInfo) Size() (n int)
 - func (m *NodeInfo) String() string
 - func (m *NodeInfo) Unmarshal(dAtA []byte) error
 
- type StoreInfo
 - func (*StoreInfo) Descriptor() ([]byte, []int)
 - func (m *StoreInfo) Marshal() (dAtA []byte, err error)
 - func (m *StoreInfo) MarshalTo(dAtA []byte) (int, error)
 - func (*StoreInfo) ProtoMessage()
 - func (m *StoreInfo) Reset()
 - func (m *StoreInfo) Size() (n int)
 - func (m *StoreInfo) String() string
 - func (m *StoreInfo) Unmarshal(dAtA []byte) error
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ( ErrInvalidLengthDiagnostics = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDiagnostics = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type DiagnosticReport ¶
type DiagnosticReport struct {
	Node                NodeInfo                                     `protobuf:"bytes,1,opt,name=node" json:"node"`
	Stores              []StoreInfo                                  `protobuf:"bytes,2,rep,name=stores" json:"stores"`
	Schema              []cockroach_sql_sqlbase1.TableDescriptor     `protobuf:"bytes,3,rep,name=schema" json:"schema"`
	SqlStats            []cockroach_sql.CollectedStatementStatistics `protobuf:"bytes,4,rep,name=sql_stats,json=sqlStats" json:"sql_stats"`
	UnimplementedErrors map[string]int64                             `` /* 200-byte string literal not displayed */
}
    func (*DiagnosticReport) Descriptor ¶
func (*DiagnosticReport) Descriptor() ([]byte, []int)
func (*DiagnosticReport) Marshal ¶
func (m *DiagnosticReport) Marshal() (dAtA []byte, err error)
func (*DiagnosticReport) ProtoMessage ¶
func (*DiagnosticReport) ProtoMessage()
func (*DiagnosticReport) Reset ¶
func (m *DiagnosticReport) Reset()
func (*DiagnosticReport) Size ¶
func (m *DiagnosticReport) Size() (n int)
func (*DiagnosticReport) String ¶
func (m *DiagnosticReport) String() string
func (*DiagnosticReport) Unmarshal ¶
func (m *DiagnosticReport) Unmarshal(dAtA []byte) error
type NodeInfo ¶
type NodeInfo struct {
	NodeID     github_com_cockroachdb_cockroach_pkg_roachpb.NodeID `` /* 141-byte string literal not displayed */
	Bytes      int64                                               `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
	KeyCount   int64                                               `protobuf:"varint,3,opt,name=key_count,json=keyCount,proto3" json:"key_count,omitempty"`
	RangeCount int64                                               `protobuf:"varint,4,opt,name=range_count,json=rangeCount,proto3" json:"range_count,omitempty"`
}
    func (*NodeInfo) Descriptor ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
type StoreInfo ¶
type StoreInfo struct {
	NodeID     github_com_cockroachdb_cockroach_pkg_roachpb.NodeID  `` /* 141-byte string literal not displayed */
	StoreID    github_com_cockroachdb_cockroach_pkg_roachpb.StoreID `` /* 145-byte string literal not displayed */
	Bytes      int64                                                `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
	KeyCount   int64                                                `protobuf:"varint,4,opt,name=key_count,json=keyCount,proto3" json:"key_count,omitempty"`
	RangeCount int64                                                `protobuf:"varint,5,opt,name=range_count,json=rangeCount,proto3" json:"range_count,omitempty"`
}
    func (*StoreInfo) Descriptor ¶
func (*StoreInfo) ProtoMessage ¶
func (*StoreInfo) ProtoMessage()
 Click to show internal directories. 
   Click to hide internal directories.