gotools/internal/event/export/ocagent/wire/metrics.go

type ExportMetricsServiceRequest

type Metric

type MetricDescriptor

type MetricDescriptor_Type

const MetricDescriptor_UNSPECIFIED

const MetricDescriptor_GAUGE_INT64

const MetricDescriptor_GAUGE_DOUBLE

const MetricDescriptor_GAUGE_DISTRIBUTION

const MetricDescriptor_CUMULATIVE_INT64

const MetricDescriptor_CUMULATIVE_DOUBLE

const MetricDescriptor_CUMULATIVE_DISTRIBUTION

const MetricDescriptor_SUMMARY

type LabelKey

type TimeSeries

type LabelValue

type Point

type PointInt64Value

// MarshalJSON creates JSON formatted the same way as jsonpb so that the
// OpenCensus service can correctly determine the underlying value type.
// This custom MarshalJSON exists because,
// by default *Point is JSON marshalled as:
//
//	{"value": {"int64Value": 1}}
//
// but it should be marshalled as:
//
//	{"int64Value": 1}
func (p *Point) MarshalJSON() ([]byte, error) {}

type PointDoubleValue

type PointDistributionValue

type PointSummaryValue

type PointValue

func (PointInt64Value) labelPointValue()        {}

func (PointDoubleValue) labelPointValue()       {}

func (PointDistributionValue) labelPointValue() {}

func (PointSummaryValue) labelPointValue()      {}

type DistributionValue

type BucketOptionsExplicit

type BucketOptions

func (*BucketOptionsExplicit) labelBucketOptions() {}

var _

var _

type bucketOptionsExplicitAlias

// MarshalJSON creates JSON formatted the same way as jsonpb so that the
// OpenCensus service can correctly determine the underlying value type.
// This custom MarshalJSON exists because,
// by default BucketOptionsExplicit is JSON marshalled as:
//
//	{"bounds":[1,2,3]}
//
// but it should be marshalled as:
//
//	{"explicit":{"bounds":[1,2,3]}}
func (be *BucketOptionsExplicit) MarshalJSON() ([]byte, error) {}

type Bucket

type Exemplar

type SummaryValue

type Snapshot

type SnapshotValueAtPercentile