flamegraphpb

package
Version: v0.0.0-...-dcd0f7d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2018 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Overview

Package flamegraphpb is a generated protocol buffer package.

It is generated from these files:

flamegraphpb.proto

It has these top-level messages:

ProtocolVersionResponse
FlameGraphFlat
FlameGraph
FlameGraphNode
FlatMetricInfo
MetricInfo
MultiMetricStats

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFlamegraphpb = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFlamegraphpb   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterFlamegraphV1Server

func RegisterFlamegraphV1Server(s *grpc.Server, srv FlamegraphV1Server)

Types

type FlameGraph

type FlameGraph struct {
	Timestamp int64           `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Cluster   string          `protobuf:"bytes,2,opt,name=Cluster,proto3" json:"Cluster,omitempty"`
	Server    string          `protobuf:"bytes,3,opt,name=Server,proto3" json:"Server,omitempty"`
	Tree      *FlameGraphNode `protobuf:"bytes,4,opt,name=Tree" json:"Tree,omitempty"`
}

func (*FlameGraph) Descriptor

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

func (*FlameGraph) Equal

func (this *FlameGraph) Equal(that interface{}) bool

func (*FlameGraph) GetCluster

func (m *FlameGraph) GetCluster() string

func (*FlameGraph) GetServer

func (m *FlameGraph) GetServer() string

func (*FlameGraph) GetTimestamp

func (m *FlameGraph) GetTimestamp() int64

func (*FlameGraph) GetTree

func (m *FlameGraph) GetTree() *FlameGraphNode

func (*FlameGraph) GoString

func (this *FlameGraph) GoString() string

func (*FlameGraph) Marshal

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

func (*FlameGraph) MarshalTo

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

func (*FlameGraph) ProtoMessage

func (*FlameGraph) ProtoMessage()

func (*FlameGraph) Reset

func (m *FlameGraph) Reset()

func (*FlameGraph) Size

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

func (*FlameGraph) String

func (this *FlameGraph) String() string

func (*FlameGraph) Unmarshal

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

type FlameGraphFlat

type FlameGraphFlat struct {
	Timestamp   int64   `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Cluster     string  `protobuf:"bytes,2,opt,name=Cluster,proto3" json:"Cluster,omitempty"`
	Server      string  `protobuf:"bytes,3,opt,name=Server,proto3" json:"Server,omitempty"`
	Id          int64   `protobuf:"varint,4,opt,name=Id,proto3" json:"Id,omitempty"`
	Name        string  `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"`
	Total       int64   `protobuf:"varint,6,opt,name=Total,proto3" json:"Total,omitempty"`
	Value       int64   `protobuf:"varint,7,opt,name=Value,proto3" json:"Value,omitempty"`
	ParentID    int64   `protobuf:"varint,8,opt,name=ParentID,proto3" json:"ParentID,omitempty"`
	ChildrenIds []int64 `protobuf:"varint,9,rep,packed,name=ChildrenIds" json:"ChildrenIds,omitempty"`
	Level       int64   `protobuf:"varint,10,opt,name=Level,proto3" json:"Level,omitempty"`
	ModTime     int64   `protobuf:"varint,11,opt,name=ModTime,proto3" json:"ModTime,omitempty"`
}

func (*FlameGraphFlat) Descriptor

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

func (*FlameGraphFlat) Equal

func (this *FlameGraphFlat) Equal(that interface{}) bool

func (*FlameGraphFlat) GetChildrenIds

func (m *FlameGraphFlat) GetChildrenIds() []int64

func (*FlameGraphFlat) GetCluster

func (m *FlameGraphFlat) GetCluster() string

func (*FlameGraphFlat) GetId

func (m *FlameGraphFlat) GetId() int64

func (*FlameGraphFlat) GetLevel

func (m *FlameGraphFlat) GetLevel() int64

func (*FlameGraphFlat) GetModTime

func (m *FlameGraphFlat) GetModTime() int64

func (*FlameGraphFlat) GetName

func (m *FlameGraphFlat) GetName() string

func (*FlameGraphFlat) GetParentID

func (m *FlameGraphFlat) GetParentID() int64

func (*FlameGraphFlat) GetServer

func (m *FlameGraphFlat) GetServer() string

func (*FlameGraphFlat) GetTimestamp

func (m *FlameGraphFlat) GetTimestamp() int64

func (*FlameGraphFlat) GetTotal

func (m *FlameGraphFlat) GetTotal() int64

func (*FlameGraphFlat) GetValue

func (m *FlameGraphFlat) GetValue() int64

func (*FlameGraphFlat) GoString

func (this *FlameGraphFlat) GoString() string

func (*FlameGraphFlat) Marshal

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

func (*FlameGraphFlat) MarshalTo

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

func (*FlameGraphFlat) ProtoMessage

func (*FlameGraphFlat) ProtoMessage()

func (*FlameGraphFlat) Reset

func (m *FlameGraphFlat) Reset()

func (*FlameGraphFlat) Size

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

func (*FlameGraphFlat) String

func (this *FlameGraphFlat) String() string

func (*FlameGraphFlat) Unmarshal

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

type FlameGraphNode

type FlameGraphNode struct {
	Id          int64             `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Name        string            `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Total       int64             `protobuf:"varint,3,opt,name=Total,proto3" json:"Total,omitempty"`
	Value       int64             `protobuf:"varint,4,opt,name=Value,proto3" json:"Value,omitempty"`
	ModTime     int64             `protobuf:"varint,5,opt,name=ModTime,proto3" json:"ModTime,omitempty"`
	RdTime      int64             `protobuf:"varint,6,opt,name=RdTime,proto3" json:"RdTime,omitempty"`
	ATime       int64             `protobuf:"varint,7,opt,name=ATime,proto3" json:"ATime,omitempty"`
	Count       int64             `protobuf:"varint,8,opt,name=Count,proto3" json:"Count,omitempty"`
	Children    []*FlameGraphNode `protobuf:"bytes,9,rep,name=Children" json:"Children,omitempty"`
	ChildrenIds []int64           `protobuf:"varint,10,rep,packed,name=ChildrenIds" json:"ChildrenIds,omitempty"`
	ParentID    int64             `protobuf:"varint,11,opt,name=ParentID,proto3" json:"ParentID,omitempty"`
}

func (*FlameGraphNode) Descriptor

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

func (*FlameGraphNode) Equal

func (this *FlameGraphNode) Equal(that interface{}) bool

func (*FlameGraphNode) GetATime

func (m *FlameGraphNode) GetATime() int64

func (*FlameGraphNode) GetChildren

func (m *FlameGraphNode) GetChildren() []*FlameGraphNode

func (*FlameGraphNode) GetChildrenIds

func (m *FlameGraphNode) GetChildrenIds() []int64

func (*FlameGraphNode) GetCount

func (m *FlameGraphNode) GetCount() int64

func (*FlameGraphNode) GetId

func (m *FlameGraphNode) GetId() int64

func (*FlameGraphNode) GetModTime

func (m *FlameGraphNode) GetModTime() int64

func (*FlameGraphNode) GetName

func (m *FlameGraphNode) GetName() string

func (*FlameGraphNode) GetParentID

func (m *FlameGraphNode) GetParentID() int64

func (*FlameGraphNode) GetRdTime

func (m *FlameGraphNode) GetRdTime() int64

func (*FlameGraphNode) GetTotal

func (m *FlameGraphNode) GetTotal() int64

func (*FlameGraphNode) GetValue

func (m *FlameGraphNode) GetValue() int64

func (*FlameGraphNode) GoString

func (this *FlameGraphNode) GoString() string

func (*FlameGraphNode) Marshal

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

func (*FlameGraphNode) MarshalTo

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

func (*FlameGraphNode) ProtoMessage

func (*FlameGraphNode) ProtoMessage()

func (*FlameGraphNode) Reset

func (m *FlameGraphNode) Reset()

func (*FlameGraphNode) Size

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

func (*FlameGraphNode) String

func (this *FlameGraphNode) String() string

func (*FlameGraphNode) Unmarshal

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

type FlamegraphV1Client

type FlamegraphV1Client interface {
	GetVersion(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*ProtocolVersionResponse, error)
	SendFlamegraph(ctx context.Context, in *FlameGraph, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
	SendMetricsStats(ctx context.Context, opts ...grpc.CallOption) (FlamegraphV1_SendMetricsStatsClient, error)
	SendFlatFlamegraph(ctx context.Context, opts ...grpc.CallOption) (FlamegraphV1_SendFlatFlamegraphClient, error)
}

func NewFlamegraphV1Client

func NewFlamegraphV1Client(cc *grpc.ClientConn) FlamegraphV1Client

type FlamegraphV1_SendFlatFlamegraphClient

type FlamegraphV1_SendFlatFlamegraphClient interface {
	Send(*FlameGraphFlat) error
	CloseAndRecv() (*google_protobuf1.Empty, error)
	grpc.ClientStream
}

type FlamegraphV1_SendFlatFlamegraphServer

type FlamegraphV1_SendFlatFlamegraphServer interface {
	SendAndClose(*google_protobuf1.Empty) error
	Recv() (*FlameGraphFlat, error)
	grpc.ServerStream
}

type FlamegraphV1_SendMetricsStatsClient

type FlamegraphV1_SendMetricsStatsClient interface {
	Send(*FlatMetricInfo) error
	CloseAndRecv() (*google_protobuf1.Empty, error)
	grpc.ClientStream
}

type FlamegraphV1_SendMetricsStatsServer

type FlamegraphV1_SendMetricsStatsServer interface {
	SendAndClose(*google_protobuf1.Empty) error
	Recv() (*FlatMetricInfo, error)
	grpc.ServerStream
}

type FlatMetricInfo

type FlatMetricInfo struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Cluster   string `protobuf:"bytes,2,opt,name=Cluster,proto3" json:"Cluster,omitempty"`
	Server    string `protobuf:"bytes,3,opt,name=Server,proto3" json:"Server,omitempty"`
	Path      string `protobuf:"bytes,4,opt,name=Path,proto3" json:"Path,omitempty"`
	ModTime   int64  `protobuf:"varint,5,opt,name=ModTime,proto3" json:"ModTime,omitempty"`
	ATime     int64  `protobuf:"varint,6,opt,name=ATime,proto3" json:"ATime,omitempty"`
	RdTime    int64  `protobuf:"varint,7,opt,name=RdTime,proto3" json:"RdTime,omitempty"`
	Size_     int64  `protobuf:"varint,8,opt,name=Size,proto3" json:"Size,omitempty"`
	Count     int64  `protobuf:"varint,9,opt,name=Count,proto3" json:"Count,omitempty"`
}

func (*FlatMetricInfo) Descriptor

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

func (*FlatMetricInfo) Equal

func (this *FlatMetricInfo) Equal(that interface{}) bool

func (*FlatMetricInfo) GetATime

func (m *FlatMetricInfo) GetATime() int64

func (*FlatMetricInfo) GetCluster

func (m *FlatMetricInfo) GetCluster() string

func (*FlatMetricInfo) GetCount

func (m *FlatMetricInfo) GetCount() int64

func (*FlatMetricInfo) GetModTime

func (m *FlatMetricInfo) GetModTime() int64

func (*FlatMetricInfo) GetPath

func (m *FlatMetricInfo) GetPath() string

func (*FlatMetricInfo) GetRdTime

func (m *FlatMetricInfo) GetRdTime() int64

func (*FlatMetricInfo) GetServer

func (m *FlatMetricInfo) GetServer() string

func (*FlatMetricInfo) GetSize_

func (m *FlatMetricInfo) GetSize_() int64

func (*FlatMetricInfo) GetTimestamp

func (m *FlatMetricInfo) GetTimestamp() int64

func (*FlatMetricInfo) GoString

func (this *FlatMetricInfo) GoString() string

func (*FlatMetricInfo) Marshal

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

func (*FlatMetricInfo) MarshalTo

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

func (*FlatMetricInfo) ProtoMessage

func (*FlatMetricInfo) ProtoMessage()

func (*FlatMetricInfo) Reset

func (m *FlatMetricInfo) Reset()

func (*FlatMetricInfo) Size

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

func (*FlatMetricInfo) String

func (this *FlatMetricInfo) String() string

func (*FlatMetricInfo) Unmarshal

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

type MetricInfo

type MetricInfo struct {
	Path    string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
	ModTime int64  `protobuf:"varint,2,opt,name=ModTime,proto3" json:"ModTime,omitempty"`
	ATime   int64  `protobuf:"varint,3,opt,name=ATime,proto3" json:"ATime,omitempty"`
	RdTime  int64  `protobuf:"varint,4,opt,name=RdTime,proto3" json:"RdTime,omitempty"`
	Size_   int64  `protobuf:"varint,5,opt,name=Size,proto3" json:"Size,omitempty"`
	Count   int64  `protobuf:"varint,6,opt,name=Count,proto3" json:"Count,omitempty"`
}

func (*MetricInfo) Descriptor

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

func (*MetricInfo) Equal

func (this *MetricInfo) Equal(that interface{}) bool

func (*MetricInfo) GetATime

func (m *MetricInfo) GetATime() int64

func (*MetricInfo) GetCount

func (m *MetricInfo) GetCount() int64

func (*MetricInfo) GetModTime

func (m *MetricInfo) GetModTime() int64

func (*MetricInfo) GetPath

func (m *MetricInfo) GetPath() string

func (*MetricInfo) GetRdTime

func (m *MetricInfo) GetRdTime() int64

func (*MetricInfo) GetSize_

func (m *MetricInfo) GetSize_() int64

func (*MetricInfo) GoString

func (this *MetricInfo) GoString() string

func (*MetricInfo) Marshal

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

func (*MetricInfo) MarshalTo

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

func (*MetricInfo) ProtoMessage

func (*MetricInfo) ProtoMessage()

func (*MetricInfo) Reset

func (m *MetricInfo) Reset()

func (*MetricInfo) Size

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

func (*MetricInfo) String

func (this *MetricInfo) String() string

func (*MetricInfo) Unmarshal

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

type MultiMetricStats

type MultiMetricStats struct {
	Timestamp int64        `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Cluster   string       `protobuf:"bytes,2,opt,name=Cluster,proto3" json:"Cluster,omitempty"`
	Server    string       `protobuf:"bytes,3,opt,name=Server,proto3" json:"Server,omitempty"`
	Metrics   []MetricInfo `protobuf:"bytes,4,rep,name=metrics" json:"metrics"`
}

func (*MultiMetricStats) Descriptor

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

func (*MultiMetricStats) Equal

func (this *MultiMetricStats) Equal(that interface{}) bool

func (*MultiMetricStats) GetCluster

func (m *MultiMetricStats) GetCluster() string

func (*MultiMetricStats) GetMetrics

func (m *MultiMetricStats) GetMetrics() []MetricInfo

func (*MultiMetricStats) GetServer

func (m *MultiMetricStats) GetServer() string

func (*MultiMetricStats) GetTimestamp

func (m *MultiMetricStats) GetTimestamp() int64

func (*MultiMetricStats) GoString

func (this *MultiMetricStats) GoString() string

func (*MultiMetricStats) Marshal

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

func (*MultiMetricStats) MarshalTo

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

func (*MultiMetricStats) ProtoMessage

func (*MultiMetricStats) ProtoMessage()

func (*MultiMetricStats) Reset

func (m *MultiMetricStats) Reset()

func (*MultiMetricStats) Size

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

func (*MultiMetricStats) String

func (this *MultiMetricStats) String() string

func (*MultiMetricStats) Unmarshal

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

type ProtocolVersionResponse

type ProtocolVersionResponse struct {
	Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
}

func (*ProtocolVersionResponse) Descriptor

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

func (*ProtocolVersionResponse) Equal

func (this *ProtocolVersionResponse) Equal(that interface{}) bool

func (*ProtocolVersionResponse) GetVersion

func (m *ProtocolVersionResponse) GetVersion() int64

func (*ProtocolVersionResponse) GoString

func (this *ProtocolVersionResponse) GoString() string

func (*ProtocolVersionResponse) Marshal

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

func (*ProtocolVersionResponse) MarshalTo

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

func (*ProtocolVersionResponse) ProtoMessage

func (*ProtocolVersionResponse) ProtoMessage()

func (*ProtocolVersionResponse) Reset

func (m *ProtocolVersionResponse) Reset()

func (*ProtocolVersionResponse) Size

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

func (*ProtocolVersionResponse) String

func (this *ProtocolVersionResponse) String() string

func (*ProtocolVersionResponse) Unmarshal

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL