pushv1

package
v1.36.11-2025012415382... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_push_v1_push_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PushRequest

type PushRequest struct {

	// series is a set raw pprof profiles and accompanying labels
	Series []*RawProfileSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"`
	// contains filtered or unexported fields
}

WriteRawRequest writes a pprof profile

func (*PushRequest) GetSeries

func (x *PushRequest) GetSeries() []*RawProfileSeries

func (*PushRequest) ProtoMessage

func (*PushRequest) ProtoMessage()

func (*PushRequest) ProtoReflect

func (x *PushRequest) ProtoReflect() protoreflect.Message

func (*PushRequest) Reset

func (x *PushRequest) Reset()

func (*PushRequest) SetSeries

func (x *PushRequest) SetSeries(v []*RawProfileSeries)

func (*PushRequest) String

func (x *PushRequest) String() string

type PushRequest_builder

type PushRequest_builder struct {

	// series is a set raw pprof profiles and accompanying labels
	Series []*RawProfileSeries
	// contains filtered or unexported fields
}

func (PushRequest_builder) Build

func (b0 PushRequest_builder) Build() *PushRequest

type PushResponse

type PushResponse struct {
	// contains filtered or unexported fields
}

func (*PushResponse) ProtoMessage

func (*PushResponse) ProtoMessage()

func (*PushResponse) ProtoReflect

func (x *PushResponse) ProtoReflect() protoreflect.Message

func (*PushResponse) Reset

func (x *PushResponse) Reset()

func (*PushResponse) String

func (x *PushResponse) String() string

type PushResponse_builder

type PushResponse_builder struct {
	// contains filtered or unexported fields
}

func (PushResponse_builder) Build

func (b0 PushResponse_builder) Build() *PushResponse

type RawProfileSeries

type RawProfileSeries struct {

	// LabelPair is the key value pairs to identify the corresponding profile
	Labels []*v1.LabelPair `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// samples are the set of profile bytes
	Samples []*RawSample `protobuf:"bytes,2,rep,name=samples,proto3" json:"samples,omitempty"`
	// contains filtered or unexported fields
}

RawProfileSeries represents the pprof profile and its associated labels

func (*RawProfileSeries) GetLabels

func (x *RawProfileSeries) GetLabels() []*v1.LabelPair

func (*RawProfileSeries) GetSamples

func (x *RawProfileSeries) GetSamples() []*RawSample

func (*RawProfileSeries) ProtoMessage

func (*RawProfileSeries) ProtoMessage()

func (*RawProfileSeries) ProtoReflect

func (x *RawProfileSeries) ProtoReflect() protoreflect.Message

func (*RawProfileSeries) Reset

func (x *RawProfileSeries) Reset()

func (*RawProfileSeries) SetLabels

func (x *RawProfileSeries) SetLabels(v []*v1.LabelPair)

func (*RawProfileSeries) SetSamples

func (x *RawProfileSeries) SetSamples(v []*RawSample)

func (*RawProfileSeries) String

func (x *RawProfileSeries) String() string

type RawProfileSeries_builder

type RawProfileSeries_builder struct {

	// LabelPair is the key value pairs to identify the corresponding profile
	Labels []*v1.LabelPair
	// samples are the set of profile bytes
	Samples []*RawSample
	// contains filtered or unexported fields
}

func (RawProfileSeries_builder) Build

type RawSample

type RawSample struct {

	// raw_profile is the set of bytes of the pprof profile
	RawProfile []byte `protobuf:"bytes,1,opt,name=raw_profile,json=rawProfile,proto3" json:"raw_profile,omitempty"`
	// unique ID of the profile
	ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

RawSample is the set of bytes that correspond to a pprof profile

func (*RawSample) GetID

func (x *RawSample) GetID() string

func (*RawSample) GetRawProfile

func (x *RawSample) GetRawProfile() []byte

func (*RawSample) ProtoMessage

func (*RawSample) ProtoMessage()

func (*RawSample) ProtoReflect

func (x *RawSample) ProtoReflect() protoreflect.Message

func (*RawSample) Reset

func (x *RawSample) Reset()

func (*RawSample) SetID

func (x *RawSample) SetID(v string)

func (*RawSample) SetRawProfile

func (x *RawSample) SetRawProfile(v []byte)

func (*RawSample) String

func (x *RawSample) String() string

type RawSample_builder

type RawSample_builder struct {

	// raw_profile is the set of bytes of the pprof profile
	RawProfile []byte
	// unique ID of the profile
	ID string
	// contains filtered or unexported fields
}

func (RawSample_builder) Build

func (b0 RawSample_builder) Build() *RawSample

Source Files

  • push.pb.go

Jump to

Keyboard shortcuts

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