cockroach: github.com/cockroachdb/cockroach/pkg/server/diagnosticspb Index | Files

package diagnosticspb

import "github.com/cockroachdb/cockroach/pkg/server/diagnosticspb"

Index

Package Files

diagnostics.pb.go

Variables

var (
    ErrInvalidLengthDiagnostics = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowDiagnostics   = fmt.Errorf("proto: integer overflow")
)

type CPUInfo Uses

type CPUInfo struct {
    Numcpu   int32    `protobuf:"varint,1,opt,name=numcpu,proto3" json:"numcpu,omitempty"`
    Sockets  int32    `protobuf:"varint,2,opt,name=sockets,proto3" json:"sockets,omitempty"`
    Cores    int32    `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"`
    Model    string   `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
    Mhz      float32  `protobuf:"fixed32,5,opt,name=mhz,proto3" json:"mhz,omitempty"`
    Features []string `protobuf:"bytes,6,rep,name=features,proto3" json:"features,omitempty"`
}

func (*CPUInfo) Descriptor Uses

func (*CPUInfo) Descriptor() ([]byte, []int)

func (*CPUInfo) Marshal Uses

func (m *CPUInfo) Marshal() (dAtA []byte, err error)

func (*CPUInfo) MarshalTo Uses

func (m *CPUInfo) MarshalTo(dAtA []byte) (int, error)

func (*CPUInfo) ProtoMessage Uses

func (*CPUInfo) ProtoMessage()

func (*CPUInfo) Reset Uses

func (m *CPUInfo) Reset()

func (*CPUInfo) Size Uses

func (m *CPUInfo) Size() (n int)

func (*CPUInfo) String Uses

func (m *CPUInfo) String() string

func (*CPUInfo) Unmarshal Uses

func (m *CPUInfo) Unmarshal(dAtA []byte) error

func (*CPUInfo) XXX_DiscardUnknown Uses

func (m *CPUInfo) XXX_DiscardUnknown()

func (*CPUInfo) XXX_Marshal Uses

func (m *CPUInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CPUInfo) XXX_Merge Uses

func (dst *CPUInfo) XXX_Merge(src proto.Message)

func (*CPUInfo) XXX_Size Uses

func (m *CPUInfo) XXX_Size() int

func (*CPUInfo) XXX_Unmarshal Uses

func (m *CPUInfo) XXX_Unmarshal(b []byte) error

type DiagnosticReport Uses

type DiagnosticReport struct {
    Node                      NodeInfo                               `protobuf:"bytes,1,opt,name=node,proto3" json:"node"`
    Stores                    []StoreInfo                            `protobuf:"bytes,2,rep,name=stores,proto3" json:"stores"`
    Schema                    []sqlbase.TableDescriptor              `protobuf:"bytes,3,rep,name=schema,proto3" json:"schema"`
    SqlStats                  []roachpb.CollectedStatementStatistics `protobuf:"bytes,4,rep,name=sql_stats,json=sqlStats,proto3" json:"sql_stats"`
    AlteredSettings           map[string]string                      `protobuf:"bytes,6,rep,name=altered_settings,json=alteredSettings,proto3" json:"altered_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    ZoneConfigs               map[int64]config.ZoneConfig            `protobuf:"bytes,8,rep,name=zone_configs,json=zoneConfigs,proto3" json:"zone_configs" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    FeatureUsage              map[string]int32                       `protobuf:"bytes,9,rep,name=feature_usage,json=featureUsage,proto3" json:"feature_usage" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    LegacyUnimplementedErrors map[string]int64                       `protobuf:"bytes,5,rep,name=legacy_unimplemented_errors,json=legacyUnimplementedErrors,proto3" json:"legacy_unimplemented_errors,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    LegacyErrorCounts         map[string]int64                       `protobuf:"bytes,7,rep,name=legacy_error_counts,json=legacyErrorCounts,proto3" json:"legacy_error_counts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
}

func (*DiagnosticReport) Descriptor Uses

func (*DiagnosticReport) Descriptor() ([]byte, []int)

func (*DiagnosticReport) Marshal Uses

func (m *DiagnosticReport) Marshal() (dAtA []byte, err error)

func (*DiagnosticReport) MarshalTo Uses

func (m *DiagnosticReport) MarshalTo(dAtA []byte) (int, error)

func (*DiagnosticReport) ProtoMessage Uses

func (*DiagnosticReport) ProtoMessage()

func (*DiagnosticReport) Reset Uses

func (m *DiagnosticReport) Reset()

func (*DiagnosticReport) Size Uses

func (m *DiagnosticReport) Size() (n int)

func (*DiagnosticReport) String Uses

func (m *DiagnosticReport) String() string

func (*DiagnosticReport) Unmarshal Uses

func (m *DiagnosticReport) Unmarshal(dAtA []byte) error

func (*DiagnosticReport) XXX_DiscardUnknown Uses

func (m *DiagnosticReport) XXX_DiscardUnknown()

func (*DiagnosticReport) XXX_Marshal Uses

func (m *DiagnosticReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiagnosticReport) XXX_Merge Uses

func (dst *DiagnosticReport) XXX_Merge(src proto.Message)

func (*DiagnosticReport) XXX_Size Uses

func (m *DiagnosticReport) XXX_Size() int

func (*DiagnosticReport) XXX_Unmarshal Uses

func (m *DiagnosticReport) XXX_Unmarshal(b []byte) error

type HardwareInfo Uses

type HardwareInfo struct {
    Virtualization string  `protobuf:"bytes,1,opt,name=virtualization,proto3" json:"virtualization,omitempty"`
    Cpu            CPUInfo `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu"`
    Mem            MemInfo `protobuf:"bytes,3,opt,name=mem,proto3" json:"mem"`
    Loadavg15      float32 `protobuf:"fixed32,4,opt,name=loadavg15,proto3" json:"loadavg15,omitempty"`
    Provider       string  `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
    InstanceClass  string  `protobuf:"bytes,6,opt,name=instance_class,json=instanceClass,proto3" json:"instance_class,omitempty"`
}

func (*HardwareInfo) Descriptor Uses

func (*HardwareInfo) Descriptor() ([]byte, []int)

func (*HardwareInfo) Marshal Uses

func (m *HardwareInfo) Marshal() (dAtA []byte, err error)

func (*HardwareInfo) MarshalTo Uses

func (m *HardwareInfo) MarshalTo(dAtA []byte) (int, error)

func (*HardwareInfo) ProtoMessage Uses

func (*HardwareInfo) ProtoMessage()

func (*HardwareInfo) Reset Uses

func (m *HardwareInfo) Reset()

func (*HardwareInfo) Size Uses

func (m *HardwareInfo) Size() (n int)

func (*HardwareInfo) String Uses

func (m *HardwareInfo) String() string

func (*HardwareInfo) Unmarshal Uses

func (m *HardwareInfo) Unmarshal(dAtA []byte) error

func (*HardwareInfo) XXX_DiscardUnknown Uses

func (m *HardwareInfo) XXX_DiscardUnknown()

func (*HardwareInfo) XXX_Marshal Uses

func (m *HardwareInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HardwareInfo) XXX_Merge Uses

func (dst *HardwareInfo) XXX_Merge(src proto.Message)

func (*HardwareInfo) XXX_Size Uses

func (m *HardwareInfo) XXX_Size() int

func (*HardwareInfo) XXX_Unmarshal Uses

func (m *HardwareInfo) XXX_Unmarshal(b []byte) error

type MemInfo Uses

type MemInfo struct {
    Total     uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
    Available uint64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
}

func (*MemInfo) Descriptor Uses

func (*MemInfo) Descriptor() ([]byte, []int)

func (*MemInfo) Marshal Uses

func (m *MemInfo) Marshal() (dAtA []byte, err error)

func (*MemInfo) MarshalTo Uses

func (m *MemInfo) MarshalTo(dAtA []byte) (int, error)

func (*MemInfo) ProtoMessage Uses

func (*MemInfo) ProtoMessage()

func (*MemInfo) Reset Uses

func (m *MemInfo) Reset()

func (*MemInfo) Size Uses

func (m *MemInfo) Size() (n int)

func (*MemInfo) String Uses

func (m *MemInfo) String() string

func (*MemInfo) Unmarshal Uses

func (m *MemInfo) Unmarshal(dAtA []byte) error

func (*MemInfo) XXX_DiscardUnknown Uses

func (m *MemInfo) XXX_DiscardUnknown()

func (*MemInfo) XXX_Marshal Uses

func (m *MemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemInfo) XXX_Merge Uses

func (dst *MemInfo) XXX_Merge(src proto.Message)

func (*MemInfo) XXX_Size Uses

func (m *MemInfo) XXX_Size() int

func (*MemInfo) XXX_Unmarshal Uses

func (m *MemInfo) XXX_Unmarshal(b []byte) error

type NodeInfo Uses

type NodeInfo struct {
    NodeID      github_com_cockroachdb_cockroach_pkg_roachpb.NodeID `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3,casttype=github.com/cockroachdb/cockroach/pkg/roachpb.NodeID" json:"node_id,omitempty"`
    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"`
    Locality    roachpb.Locality                                    `protobuf:"bytes,5,opt,name=locality,proto3" json:"locality"`
    Hardware    HardwareInfo                                        `protobuf:"bytes,6,opt,name=hardware,proto3" json:"hardware"`
    Os          OSInfo                                              `protobuf:"bytes,7,opt,name=os,proto3" json:"os"`
    Build       build.Info                                          `protobuf:"bytes,8,opt,name=build,proto3" json:"build"`
    Uptime      int64                                               `protobuf:"varint,9,opt,name=uptime,proto3" json:"uptime,omitempty"`
    LicenseType string                                              `protobuf:"bytes,10,opt,name=license_type,json=licenseType,proto3" json:"license_type,omitempty"`
    Topology    TopologyInfo                                        `protobuf:"bytes,11,opt,name=topology,proto3" json:"topology"`
}

func (*NodeInfo) Descriptor Uses

func (*NodeInfo) Descriptor() ([]byte, []int)

func (*NodeInfo) Marshal Uses

func (m *NodeInfo) Marshal() (dAtA []byte, err error)

func (*NodeInfo) MarshalTo Uses

func (m *NodeInfo) MarshalTo(dAtA []byte) (int, error)

func (*NodeInfo) ProtoMessage Uses

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) Reset Uses

func (m *NodeInfo) Reset()

func (*NodeInfo) Size Uses

func (m *NodeInfo) Size() (n int)

func (*NodeInfo) String Uses

func (m *NodeInfo) String() string

func (*NodeInfo) Unmarshal Uses

func (m *NodeInfo) Unmarshal(dAtA []byte) error

func (*NodeInfo) XXX_DiscardUnknown Uses

func (m *NodeInfo) XXX_DiscardUnknown()

func (*NodeInfo) XXX_Marshal Uses

func (m *NodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeInfo) XXX_Merge Uses

func (dst *NodeInfo) XXX_Merge(src proto.Message)

func (*NodeInfo) XXX_Size Uses

func (m *NodeInfo) XXX_Size() int

func (*NodeInfo) XXX_Unmarshal Uses

func (m *NodeInfo) XXX_Unmarshal(b []byte) error

type OSInfo Uses

type OSInfo struct {
    Family   string `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"`
    Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
    Version  string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
}

func (*OSInfo) Descriptor Uses

func (*OSInfo) Descriptor() ([]byte, []int)

func (*OSInfo) Marshal Uses

func (m *OSInfo) Marshal() (dAtA []byte, err error)

func (*OSInfo) MarshalTo Uses

func (m *OSInfo) MarshalTo(dAtA []byte) (int, error)

func (*OSInfo) ProtoMessage Uses

func (*OSInfo) ProtoMessage()

func (*OSInfo) Reset Uses

func (m *OSInfo) Reset()

func (*OSInfo) Size Uses

func (m *OSInfo) Size() (n int)

func (*OSInfo) String Uses

func (m *OSInfo) String() string

func (*OSInfo) Unmarshal Uses

func (m *OSInfo) Unmarshal(dAtA []byte) error

func (*OSInfo) XXX_DiscardUnknown Uses

func (m *OSInfo) XXX_DiscardUnknown()

func (*OSInfo) XXX_Marshal Uses

func (m *OSInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OSInfo) XXX_Merge Uses

func (dst *OSInfo) XXX_Merge(src proto.Message)

func (*OSInfo) XXX_Size Uses

func (m *OSInfo) XXX_Size() int

func (*OSInfo) XXX_Unmarshal Uses

func (m *OSInfo) XXX_Unmarshal(b []byte) error

type StoreInfo Uses

type StoreInfo struct {
    NodeID              github_com_cockroachdb_cockroach_pkg_roachpb.NodeID  `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3,casttype=github.com/cockroachdb/cockroach/pkg/roachpb.NodeID" json:"node_id,omitempty"`
    StoreID             github_com_cockroachdb_cockroach_pkg_roachpb.StoreID `protobuf:"varint,2,opt,name=store_id,json=storeId,proto3,casttype=github.com/cockroachdb/cockroach/pkg/roachpb.StoreID" json:"store_id,omitempty"`
    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"`
    Capacity            int64                                                `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
    Available           int64                                                `protobuf:"varint,7,opt,name=available,proto3" json:"available,omitempty"`
    Used                int64                                                `protobuf:"varint,8,opt,name=used,proto3" json:"used,omitempty"`
    EncryptionAlgorithm int64                                                `protobuf:"varint,9,opt,name=encryption_algorithm,json=encryptionAlgorithm,proto3" json:"encryption_algorithm,omitempty"`
}

func (*StoreInfo) Descriptor Uses

func (*StoreInfo) Descriptor() ([]byte, []int)

func (*StoreInfo) Marshal Uses

func (m *StoreInfo) Marshal() (dAtA []byte, err error)

func (*StoreInfo) MarshalTo Uses

func (m *StoreInfo) MarshalTo(dAtA []byte) (int, error)

func (*StoreInfo) ProtoMessage Uses

func (*StoreInfo) ProtoMessage()

func (*StoreInfo) Reset Uses

func (m *StoreInfo) Reset()

func (*StoreInfo) Size Uses

func (m *StoreInfo) Size() (n int)

func (*StoreInfo) String Uses

func (m *StoreInfo) String() string

func (*StoreInfo) Unmarshal Uses

func (m *StoreInfo) Unmarshal(dAtA []byte) error

func (*StoreInfo) XXX_DiscardUnknown Uses

func (m *StoreInfo) XXX_DiscardUnknown()

func (*StoreInfo) XXX_Marshal Uses

func (m *StoreInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoreInfo) XXX_Merge Uses

func (dst *StoreInfo) XXX_Merge(src proto.Message)

func (*StoreInfo) XXX_Size Uses

func (m *StoreInfo) XXX_Size() int

func (*StoreInfo) XXX_Unmarshal Uses

func (m *StoreInfo) XXX_Unmarshal(b []byte) error

type TopologyInfo Uses

type TopologyInfo struct {
    Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
    Region   string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
}

func (*TopologyInfo) Descriptor Uses

func (*TopologyInfo) Descriptor() ([]byte, []int)

func (*TopologyInfo) Marshal Uses

func (m *TopologyInfo) Marshal() (dAtA []byte, err error)

func (*TopologyInfo) MarshalTo Uses

func (m *TopologyInfo) MarshalTo(dAtA []byte) (int, error)

func (*TopologyInfo) ProtoMessage Uses

func (*TopologyInfo) ProtoMessage()

func (*TopologyInfo) Reset Uses

func (m *TopologyInfo) Reset()

func (*TopologyInfo) Size Uses

func (m *TopologyInfo) Size() (n int)

func (*TopologyInfo) String Uses

func (m *TopologyInfo) String() string

func (*TopologyInfo) Unmarshal Uses

func (m *TopologyInfo) Unmarshal(dAtA []byte) error

func (*TopologyInfo) XXX_DiscardUnknown Uses

func (m *TopologyInfo) XXX_DiscardUnknown()

func (*TopologyInfo) XXX_Marshal Uses

func (m *TopologyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TopologyInfo) XXX_Merge Uses

func (dst *TopologyInfo) XXX_Merge(src proto.Message)

func (*TopologyInfo) XXX_Size Uses

func (m *TopologyInfo) XXX_Size() int

func (*TopologyInfo) XXX_Unmarshal Uses

func (m *TopologyInfo) XXX_Unmarshal(b []byte) error

Package diagnosticspb imports 10 packages (graph) and is imported by 6 packages. Updated 2019-11-11. Refresh now. Tools for package owners.