mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
change enum names to fit buf build recommend enum naming and lint rules
Signed-off-by: Callum Styan <callumstyan@gmail.com>
This commit is contained in:
parent
b67a61ac89
commit
6ae6207a7f
|
@ -27,36 +27,36 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|||
type Metadata_MetricType int32
|
||||
|
||||
const (
|
||||
Metadata_UNKNOWN Metadata_MetricType = 0
|
||||
Metadata_COUNTER Metadata_MetricType = 1
|
||||
Metadata_GAUGE Metadata_MetricType = 2
|
||||
Metadata_HISTOGRAM Metadata_MetricType = 3
|
||||
Metadata_GAUGEHISTOGRAM Metadata_MetricType = 4
|
||||
Metadata_SUMMARY Metadata_MetricType = 5
|
||||
Metadata_INFO Metadata_MetricType = 6
|
||||
Metadata_STATESET Metadata_MetricType = 7
|
||||
Metadata_METRIC_TYPE_UNSPECIFIED Metadata_MetricType = 0
|
||||
Metadata_METRIC_TYPE_COUNTER Metadata_MetricType = 1
|
||||
Metadata_METRIC_TYPE_GAUGE Metadata_MetricType = 2
|
||||
Metadata_METRIC_TYPE_HISTOGRAM Metadata_MetricType = 3
|
||||
Metadata_METRIC_TYPE_GAUGEHISTOGRAM Metadata_MetricType = 4
|
||||
Metadata_METRIC_TYPE_SUMMARY Metadata_MetricType = 5
|
||||
Metadata_METRIC_TYPE_INFO Metadata_MetricType = 6
|
||||
Metadata_METRIC_TYPE_STATESET Metadata_MetricType = 7
|
||||
)
|
||||
|
||||
var Metadata_MetricType_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "COUNTER",
|
||||
2: "GAUGE",
|
||||
3: "HISTOGRAM",
|
||||
4: "GAUGEHISTOGRAM",
|
||||
5: "SUMMARY",
|
||||
6: "INFO",
|
||||
7: "STATESET",
|
||||
0: "METRIC_TYPE_UNSPECIFIED",
|
||||
1: "METRIC_TYPE_COUNTER",
|
||||
2: "METRIC_TYPE_GAUGE",
|
||||
3: "METRIC_TYPE_HISTOGRAM",
|
||||
4: "METRIC_TYPE_GAUGEHISTOGRAM",
|
||||
5: "METRIC_TYPE_SUMMARY",
|
||||
6: "METRIC_TYPE_INFO",
|
||||
7: "METRIC_TYPE_STATESET",
|
||||
}
|
||||
|
||||
var Metadata_MetricType_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"COUNTER": 1,
|
||||
"GAUGE": 2,
|
||||
"HISTOGRAM": 3,
|
||||
"GAUGEHISTOGRAM": 4,
|
||||
"SUMMARY": 5,
|
||||
"INFO": 6,
|
||||
"STATESET": 7,
|
||||
"METRIC_TYPE_UNSPECIFIED": 0,
|
||||
"METRIC_TYPE_COUNTER": 1,
|
||||
"METRIC_TYPE_GAUGE": 2,
|
||||
"METRIC_TYPE_HISTOGRAM": 3,
|
||||
"METRIC_TYPE_GAUGEHISTOGRAM": 4,
|
||||
"METRIC_TYPE_SUMMARY": 5,
|
||||
"METRIC_TYPE_INFO": 6,
|
||||
"METRIC_TYPE_STATESET": 7,
|
||||
}
|
||||
|
||||
func (x Metadata_MetricType) String() string {
|
||||
|
@ -70,24 +70,24 @@ func (Metadata_MetricType) EnumDescriptor() ([]byte, []int) {
|
|||
type Histogram_ResetHint int32
|
||||
|
||||
const (
|
||||
Histogram_UNKNOWN Histogram_ResetHint = 0
|
||||
Histogram_YES Histogram_ResetHint = 1
|
||||
Histogram_NO Histogram_ResetHint = 2
|
||||
Histogram_GAUGE Histogram_ResetHint = 3
|
||||
Histogram_RESET_HINT_UNSPECIFIED Histogram_ResetHint = 0
|
||||
Histogram_RESET_HINT_YES Histogram_ResetHint = 1
|
||||
Histogram_RESET_HINT_NO Histogram_ResetHint = 2
|
||||
Histogram_RESET_HINT_GAUGE Histogram_ResetHint = 3
|
||||
)
|
||||
|
||||
var Histogram_ResetHint_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "YES",
|
||||
2: "NO",
|
||||
3: "GAUGE",
|
||||
0: "RESET_HINT_UNSPECIFIED",
|
||||
1: "RESET_HINT_YES",
|
||||
2: "RESET_HINT_NO",
|
||||
3: "RESET_HINT_GAUGE",
|
||||
}
|
||||
|
||||
var Histogram_ResetHint_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"YES": 1,
|
||||
"NO": 2,
|
||||
"GAUGE": 3,
|
||||
"RESET_HINT_UNSPECIFIED": 0,
|
||||
"RESET_HINT_YES": 1,
|
||||
"RESET_HINT_NO": 2,
|
||||
"RESET_HINT_GAUGE": 3,
|
||||
}
|
||||
|
||||
func (x Histogram_ResetHint) String() string {
|
||||
|
@ -416,7 +416,7 @@ func (m *Metadata) GetType() Metadata_MetricType {
|
|||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return Metadata_UNKNOWN
|
||||
return Metadata_METRIC_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *Metadata) GetHelpRef() uint32 {
|
||||
|
@ -653,7 +653,7 @@ func (m *Histogram) GetResetHint() Histogram_ResetHint {
|
|||
if m != nil {
|
||||
return m.ResetHint
|
||||
}
|
||||
return Histogram_UNKNOWN
|
||||
return Histogram_RESET_HINT_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *Histogram) GetTimestamp() int64 {
|
||||
|
@ -748,59 +748,62 @@ func init() {
|
|||
func init() { proto.RegisterFile("write/v2/types.proto", fileDescriptor_4919b8b88a093366) }
|
||||
|
||||
var fileDescriptor_4919b8b88a093366 = []byte{
|
||||
// 831 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0xdd, 0x6e, 0xe3, 0x44,
|
||||
0x14, 0xee, 0xc4, 0x49, 0x6c, 0x9f, 0xfc, 0xac, 0x3b, 0x14, 0x64, 0x10, 0xdb, 0x0d, 0x91, 0x80,
|
||||
0x08, 0xa4, 0x14, 0xc2, 0x0a, 0x09, 0xd4, 0x9b, 0x64, 0xc9, 0x36, 0x15, 0x6a, 0x22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0x0b, 0x79, 0x2a, 0x51, 0x14, 0x29,
|
||||
0x69, 0xf8, 0x5b, 0xb0, 0xd9, 0x6f, 0x2c, 0x4a, 0x43, 0x9a, 0x71, 0xd7, 0x50, 0x1a, 0xac, 0x35,
|
||||
0xd3, 0x22, 0x55, 0xa8, 0x34, 0x15, 0x7f, 0x07, 0xb0, 0x0b, 0xb8, 0x48, 0xb6, 0x19, 0x8d, 0xb8,
|
||||
0x5b, 0x57, 0xc2, 0xf7, 0xb4, 0x70, 0x56, 0xe6, 0xca, 0xa6, 0x34, 0x19, 0x3f, 0x07, 0x2b, 0x62,
|
||||
0x82, 0xae, 0xa9, 0xa0, 0x6e, 0xa3, 0x87, 0x1e, 0x56, 0xbc, 0x2a, 0x32, 0x85, 0xae, 0x62, 0xe2,
|
||||
0x2f, 0xe1, 0x78, 0x95, 0x31, 0x2a, 0xd8, 0x7a, 0xa9, 0x06, 0x24, 0x68, 0x94, 0xba, 0xcd, 0x1e,
|
||||
0x1a, 0x18, 0xc4, 0x29, 0x12, 0x7e, 0x89, 0xf7, 0x97, 0x60, 0x95, 0xd6, 0xdf, 0x3d, 0xb4, 0x13,
|
||||
0x68, 0x1c, 0x68, 0xb8, 0x67, 0x6e, 0xad, 0x87, 0x06, 0x88, 0xe4, 0x01, 0xfe, 0x18, 0x6c, 0x5d,
|
||||
0xc7, 0x50, 0x75, 0x34, 0xd0, 0x3f, 0x87, 0x66, 0x3e, 0x4f, 0xad, 0x46, 0x6f, 0x55, 0xd7, 0x1e,
|
||||
0xab, 0xff, 0x45, 0x60, 0x95, 0x8d, 0xe2, 0xaf, 0xa1, 0x2e, 0x17, 0x4f, 0xe9, 0xbb, 0xa3, 0xa7,
|
||||
0xff, 0x1f, 0x85, 0x3c, 0x64, 0xc1, 0xca, 0xbf, 0x4d, 0x19, 0x51, 0x54, 0xfc, 0x21, 0x58, 0x3b,
|
||||
0x16, 0xa6, 0xb2, 0x21, 0x65, 0xad, 0x43, 0x4c, 0x19, 0x13, 0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0x70, 0xad, 0x56, 0x0e, 0x91, 0x8e, 0x44, 0xfd, 0x12,
|
||||
0xc4, 0x9f, 0x15, 0x34, 0xed, 0xab, 0xa9, 0x7c, 0x21, 0xd2, 0x96, 0xf8, 0x8b, 0xd2, 0xdb, 0x17,
|
||||
0xe0, 0xdc, 0xe3, 0xe5, 0x06, 0x4d, 0x65, 0x10, 0x91, 0x6e, 0xc5, 0xcc, 0x4d, 0x8e, 0xa1, 0x1b,
|
||||
0xb3, 0x2d, 0x15, 0xc1, 0x81, 0x2d, 0x79, 0x4a, 0x63, 0xee, 0x5a, 0x8f, 0x1f, 0xff, 0x64, 0xbf,
|
||||
0xfa, 0x99, 0x09, 0x2f, 0xa5, 0x71, 0xb1, 0xef, 0x9d, 0x52, 0x21, 0x31, 0x8e, 0x3f, 0x87, 0x27,
|
||||
0xd5, 0x15, 0x6b, 0x16, 0x0a, 0xca, 0x5d, 0xbb, 0x67, 0x0c, 0x30, 0xa9, 0x6e, 0xfe, 0x41, 0xa1,
|
||||
0x0f, 0x88, 0xca, 0x1b, 0x77, 0xa1, 0x67, 0x0c, 0x90, 0x26, 0x2a, 0x63, 0x5c, 0x9a, 0x4a, 0x13,
|
||||
0x1e, 0xdc, 0x33, 0xd5, 0x7a, 0xb7, 0xa9, 0x52, 0x51, 0x99, 0xaa, 0xae, 0x28, 0x4c, 0xb5, 0x73,
|
||||
0x53, 0x25, 0xac, 0x4d, 0x55, 0xc4, 0xc2, 0x54, 0x27, 0x37, 0x55, 0xc2, 0x85, 0xa9, 0x73, 0x80,
|
||||
0x8c, 0x71, 0x26, 0x96, 0x3b, 0x39, 0xf9, 0xee, 0xe3, 0x87, 0x50, 0x6d, 0xce, 0x90, 0x48, 0xd6,
|
||||
0x2c, 0x88, 0x05, 0xb1, 0xb3, 0xf2, 0xf8, 0xf0, 0xad, 0x3d, 0x79, 0xfc, 0xd6, 0x9e, 0x83, 0x5d,
|
||||
0xa9, 0x1e, 0x2e, 0xbd, 0x09, 0xc6, 0xeb, 0xa9, 0xe7, 0x20, 0xdc, 0x84, 0xda, 0x7c, 0xe1, 0xd4,
|
||||
0xf4, 0xe2, 0x1b, 0x13, 0x13, 0x1a, 0xca, 0xf1, 0xa4, 0x0d, 0xa0, 0x3f, 0x78, 0xff, 0x1c, 0x40,
|
||||
0x4f, 0x47, 0xee, 0x5c, 0xb2, 0xd9, 0x70, 0x96, 0x2f, 0xf1, 0x31, 0x29, 0x22, 0x89, 0x87, 0x2c,
|
||||
0xde, 0x8a, 0x9d, 0xda, 0xdd, 0x0e, 0x29, 0xa2, 0xc9, 0xfb, 0x6f, 0xee, 0x4e, 0xd1, 0x5f, 0x77,
|
||||
0xa7, 0xe8, 0x9f, 0xbb, 0x53, 0xf4, 0x93, 0xa9, 0xfa, 0x3b, 0x8c, 0x6e, 0x9a, 0xea, 0x8f, 0xf2,
|
||||
0xcd, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x13, 0xc8, 0xac, 0x89, 0x06, 0x00, 0x00,
|
||||
// 875 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0x5b, 0x6f, 0x1b, 0x45,
|
||||
0x14, 0xce, 0x78, 0x7d, 0x3d, 0x89, 0xdd, 0xf5, 0xd4, 0x69, 0xb7, 0x81, 0xa6, 0xc6, 0x12, 0x60,
|
||||
0x81, 0xe4, 0x80, 0x41, 0x48, 0xa0, 0xbc, 0xd8, 0xe9, 0x26, 0xf6, 0x83, 0x9d, 0x6a, 0x76, 0x23,
|
||||
0x14, 0x5e, 0x56, 0x1b, 0x7b, 0x6c, 0xaf, 0xd8, 0x1b, 0x3b, 0x63, 0x43, 0xf8, 0x5f, 0xfc, 0x87,
|
||||
0x3e, 0x22, 0xf1, 0x0c, 0x42, 0xf9, 0x0f, 0xbc, 0xa3, 0x99, 0xbd, 0xc6, 0x55, 0xd5, 0xb7, 0x3d,
|
||||
0xdf, 0x65, 0xce, 0x37, 0x27, 0x67, 0x62, 0xe8, 0xfc, 0x1a, 0x39, 0x9c, 0x9e, 0xed, 0x86, 0x67,
|
||||
0xfc, 0x3e, 0xa4, 0x6c, 0x10, 0x46, 0x01, 0x0f, 0x70, 0x5d, 0xa2, 0x83, 0xdd, 0xf0, 0xa4, 0xb3,
|
||||
0x0e, 0xd6, 0x81, 0x04, 0xcf, 0xc4, 0x57, 0xcc, 0xf7, 0x96, 0x70, 0xf4, 0xa3, 0x50, 0x10, 0xfa,
|
||||
0xcb, 0x96, 0x32, 0x8e, 0x35, 0xa8, 0xb1, 0x7b, 0xef, 0x2e, 0x70, 0x99, 0x86, 0xba, 0x4a, 0xbf,
|
||||
0x41, 0xd2, 0x12, 0xff, 0x00, 0xc0, 0x1d, 0x8f, 0x32, 0x1a, 0x39, 0x94, 0x69, 0xa5, 0xae, 0xd2,
|
||||
0x3f, 0x1c, 0x76, 0x06, 0xe9, 0xf1, 0x03, 0xd3, 0xf1, 0xa8, 0x21, 0xb9, 0x71, 0xf9, 0xed, 0x3f,
|
||||
0xaf, 0x0e, 0x48, 0x41, 0xdd, 0xfb, 0xa3, 0x04, 0x90, 0x0b, 0xf0, 0x2b, 0x38, 0x74, 0xed, 0x3b,
|
||||
0xea, 0x32, 0x2b, 0xa2, 0xab, 0xb8, 0x51, 0x93, 0x40, 0x0c, 0x11, 0xba, 0x62, 0xf8, 0x2b, 0xa8,
|
||||
0x31, 0xdb, 0x0b, 0xdd, 0xac, 0x91, 0x9a, 0x37, 0x32, 0x24, 0x91, 0x34, 0x49, 0x65, 0xf8, 0x3b,
|
||||
0x68, 0xd0, 0xdf, 0xa8, 0x17, 0xba, 0x76, 0xc4, 0x34, 0x45, 0x7a, 0x70, 0xee, 0xd1, 0x13, 0x2a,
|
||||
0x71, 0xe5, 0x52, 0xfc, 0x3d, 0xc0, 0xc6, 0x61, 0x3c, 0x58, 0x47, 0xb6, 0xc7, 0xb4, 0xb2, 0x34,
|
||||
0x3e, 0xcd, 0x8d, 0x93, 0x94, 0x4b, 0x2f, 0x95, 0x8b, 0xf1, 0xb7, 0x50, 0xf7, 0x28, 0xb7, 0x97,
|
||||
0x36, 0xb7, 0xb5, 0x4a, 0x17, 0x3d, 0xee, 0x38, 0x4b, 0x98, 0xc4, 0x97, 0x29, 0xf1, 0x97, 0xd0,
|
||||
0x5e, 0x44, 0xd4, 0xe6, 0x74, 0x69, 0xc9, 0x01, 0x71, 0xdb, 0x0b, 0xb5, 0x6a, 0x17, 0xf5, 0x15,
|
||||
0xa2, 0x26, 0x84, 0x99, 0xe2, 0x3d, 0x0b, 0xea, 0x69, 0xf4, 0x0f, 0x0f, 0xad, 0x03, 0x95, 0x9d,
|
||||
0xed, 0x6e, 0xa9, 0x56, 0xea, 0xa2, 0x3e, 0x22, 0x71, 0x81, 0x3f, 0x86, 0x46, 0xde, 0x47, 0x91,
|
||||
0x7d, 0x72, 0xa0, 0x77, 0x0e, 0xd5, 0x78, 0x9e, 0xb9, 0x1b, 0xbd, 0xd7, 0x5d, 0xda, 0x77, 0xff,
|
||||
0x55, 0x82, 0x7a, 0x7a, 0x51, 0xfc, 0x35, 0x94, 0xc5, 0xe2, 0x49, 0x7f, 0x6b, 0xf8, 0xf2, 0xdd,
|
||||
0x51, 0x88, 0x8f, 0xc8, 0x59, 0x98, 0xf7, 0x21, 0x25, 0x52, 0x8a, 0x5f, 0x40, 0x7d, 0x43, 0xdd,
|
||||
0x50, 0x5c, 0x48, 0x46, 0x6b, 0x92, 0x9a, 0xa8, 0x09, 0x5d, 0x09, 0x6a, 0xeb, 0x3b, 0x5c, 0x52,
|
||||
0xe5, 0x98, 0x12, 0x35, 0xa1, 0xab, 0xde, 0xdf, 0x08, 0x20, 0x3f, 0x0a, 0x7f, 0x04, 0xcf, 0x67,
|
||||
0xba, 0x49, 0xa6, 0x17, 0x96, 0x79, 0xfb, 0x46, 0xb7, 0x6e, 0xe6, 0xc6, 0x1b, 0xfd, 0x62, 0x7a,
|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0xba, 0xa1, 0x22,
|
||||
0xdc, 0x86, 0x66, 0x01, 0x9b, 0x5f, 0xab, 0x25, 0xb1, 0xfa, 0x05, 0x28, 0x7e, 0x64, 0xca, 0xb8,
|
||||
0x06, 0x15, 0x79, 0xc3, 0xf1, 0x11, 0x40, 0xbe, 0x20, 0xbd, 0x73, 0x80, 0x7c, 0x9a, 0x62, 0x47,
|
||||
0x83, 0xd5, 0x8a, 0xd1, 0x78, 0xe9, 0xdb, 0x24, 0xa9, 0x04, 0xee, 0x52, 0x7f, 0xcd, 0x37, 0x72,
|
||||
0xd7, 0x9b, 0x24, 0xa9, 0xc6, 0xc7, 0x6f, 0x1f, 0x4e, 0xd1, 0x9f, 0x0f, 0xa7, 0xe8, 0xdf, 0x87,
|
||||
0x53, 0xf4, 0x53, 0x4d, 0xce, 0x63, 0x37, 0xbc, 0xab, 0xca, 0x9f, 0xb9, 0x6f, 0xfe, 0x0f, 0x00,
|
||||
0x00, 0xff, 0xff, 0x68, 0x88, 0x14, 0xcb, 0x1e, 0x07, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (m *WriteRequest) Marshal() (dAtA []byte, err error) {
|
||||
|
|
|
@ -61,14 +61,14 @@ message Sample {
|
|||
|
||||
message Metadata {
|
||||
enum MetricType {
|
||||
UNKNOWN = 0;
|
||||
COUNTER = 1;
|
||||
GAUGE = 2;
|
||||
HISTOGRAM = 3;
|
||||
GAUGEHISTOGRAM = 4;
|
||||
SUMMARY = 5;
|
||||
INFO = 6;
|
||||
STATESET = 7;
|
||||
METRIC_TYPE_UNSPECIFIED = 0;
|
||||
METRIC_TYPE_COUNTER = 1;
|
||||
METRIC_TYPE_GAUGE = 2;
|
||||
METRIC_TYPE_HISTOGRAM = 3;
|
||||
METRIC_TYPE_GAUGEHISTOGRAM = 4;
|
||||
METRIC_TYPE_SUMMARY = 5;
|
||||
METRIC_TYPE_INFO = 6;
|
||||
METRIC_TYPE_STATESET = 7;
|
||||
}
|
||||
MetricType type = 1;
|
||||
uint32 help_ref = 3;
|
||||
|
@ -83,10 +83,10 @@ message Metadata {
|
|||
// integer histogram as well as a float histogram.
|
||||
message Histogram {
|
||||
enum ResetHint {
|
||||
UNKNOWN = 0; // Need to test for a counter reset explicitly.
|
||||
YES = 1; // This is the 1st histogram after a counter reset.
|
||||
NO = 2; // There was no counter reset between this and the previous Histogram.
|
||||
GAUGE = 3; // This is a gauge histogram where counter resets don't happen.
|
||||
RESET_HINT_UNSPECIFIED = 0; // Need to test for a counter reset explicitly.
|
||||
RESET_HINT_YES = 1; // This is the 1st histogram after a counter reset.
|
||||
RESET_HINT_NO = 2; // There was no counter reset between this and the previous Histogram.
|
||||
RESET_HINT_GAUGE = 3; // This is a gauge histogram where counter resets don't happen.
|
||||
}
|
||||
|
||||
oneof count { // Count of observations in the histogram.
|
||||
|
|
Loading…
Reference in a new issue