metrics.proto

Package: io.prometheus.client

Copyright 2013 Prometheus Team Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Types:

Enums:
- [MetricType](#metrictype)
Source File: github.com/solo-io/solo-kit/api/external/metrics.proto

LabelPair

"name": string
"value": string

Field Type Description
name string
value string

Gauge

"value": float

Field Type Description
value float

Counter

"value": float

Field Type Description
value float

Quantile

"quantile": float
"value": float

Field Type Description
quantile float
value float

Summary

"sampleCount": int
"sampleSum": float
"quantile": []io.prometheus.client.Quantile

Field Type Description
sampleCount int
sampleSum float
quantile []io.prometheus.client.Quantile

Untyped

"value": float

Field Type Description
value float

Histogram

"sampleCount": int
"sampleSum": float
"bucket": []io.prometheus.client.Bucket

Field Type Description
sampleCount int
sampleSum float
bucket []io.prometheus.client.Bucket

Bucket

"cumulativeCount": int
"upperBound": float

Field Type Description
cumulativeCount int
upperBound float

Metric

"label": []io.prometheus.client.LabelPair
"gauge": .io.prometheus.client.Gauge
"counter": .io.prometheus.client.Counter
"summary": .io.prometheus.client.Summary
"untyped": .io.prometheus.client.Untyped
"histogram": .io.prometheus.client.Histogram
"timestampMs": int

Field Type Description
label []io.prometheus.client.LabelPair
gauge .io.prometheus.client.Gauge
counter .io.prometheus.client.Counter
summary .io.prometheus.client.Summary
untyped .io.prometheus.client.Untyped
histogram .io.prometheus.client.Histogram
timestampMs int

MetricFamily

"name": string
"help": string
"type": .io.prometheus.client.MetricType
"metric": []io.prometheus.client.Metric

Field Type Description
name string
help string
type .io.prometheus.client.MetricType
metric []io.prometheus.client.Metric

MetricType

Description:

Name Description
COUNTER
GAUGE
SUMMARY
UNTYPED
HISTOGRAM