core
package v1.77.0
Go to latest Published: Nov 17, 2025 License:Apache-2.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:5 Opens a new window with list of imports.
Imported by:11 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- Variables
- type Bucket
- type Histogram
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetCount() uint64
- func (x *Metric) GetHistogram() *Histogram
- func (x *Metric) GetName() string
- func (x *Metric) GetValue() isMetric_Value
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type Metric_Count
- type Metric_Histogram
- type Stats
Constants¶
This section is empty.
Variables¶
View Source
var File_grpc_core_stats_protoprotoreflect.FileDescriptorFunctions¶
This section is empty.
Types¶
typeBucket¶
type Bucket struct {Startfloat64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty"`Countuint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`// contains filtered or unexported fields} func (*Bucket)Descriptordeprecated
func (*Bucket)ProtoMessage¶
func (*Bucket) ProtoMessage()
func (*Bucket)ProtoReflect¶
func (x *Bucket) ProtoReflect()protoreflect.Message
typeHistogram¶
type Histogram struct {Buckets []*Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`// contains filtered or unexported fields} func (*Histogram)Descriptordeprecated
func (*Histogram)GetBuckets¶
func (*Histogram)ProtoMessage¶
func (*Histogram) ProtoMessage()
func (*Histogram)ProtoReflect¶
func (x *Histogram) ProtoReflect()protoreflect.Message
typeMetric¶
type Metric struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// Types that are valid to be assigned to Value:////*Metric_Count//*Metric_HistogramValue isMetric_Value `protobuf_oneof:"value"`// contains filtered or unexported fields} func (*Metric)Descriptordeprecated
func (*Metric)GetHistogram¶
func (*Metric)ProtoMessage¶
func (*Metric) ProtoMessage()
func (*Metric)ProtoReflect¶
func (x *Metric) ProtoReflect()protoreflect.Message
typeMetric_Count¶
type Metric_Count struct {Countuint64 `protobuf:"varint,10,opt,name=count,proto3,oneof"`}typeMetric_Histogram¶
type Metric_Histogram struct {Histogram *Histogram `protobuf:"bytes,11,opt,name=histogram,proto3,oneof"`}typeStats¶
type Stats struct {Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`// contains filtered or unexported fields} func (*Stats)Descriptordeprecated
func (*Stats)GetMetrics¶
func (*Stats)ProtoMessage¶
func (*Stats) ProtoMessage()
func (*Stats)ProtoReflect¶
func (x *Stats) ProtoReflect()protoreflect.Message
Click to show internal directories.
Click to hide internal directories.