本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

630 lines
21KB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: metrics.proto
  3. package io_prometheus_client // import "github.com/prometheus/client_model/go"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. type MetricType int32
  17. const (
  18. MetricType_COUNTER MetricType = 0
  19. MetricType_GAUGE MetricType = 1
  20. MetricType_SUMMARY MetricType = 2
  21. MetricType_UNTYPED MetricType = 3
  22. MetricType_HISTOGRAM MetricType = 4
  23. )
  24. var MetricType_name = map[int32]string{
  25. 0: "COUNTER",
  26. 1: "GAUGE",
  27. 2: "SUMMARY",
  28. 3: "UNTYPED",
  29. 4: "HISTOGRAM",
  30. }
  31. var MetricType_value = map[string]int32{
  32. "COUNTER": 0,
  33. "GAUGE": 1,
  34. "SUMMARY": 2,
  35. "UNTYPED": 3,
  36. "HISTOGRAM": 4,
  37. }
  38. func (x MetricType) Enum() *MetricType {
  39. p := new(MetricType)
  40. *p = x
  41. return p
  42. }
  43. func (x MetricType) String() string {
  44. return proto.EnumName(MetricType_name, int32(x))
  45. }
  46. func (x *MetricType) UnmarshalJSON(data []byte) error {
  47. value, err := proto.UnmarshalJSONEnum(MetricType_value, data, "MetricType")
  48. if err != nil {
  49. return err
  50. }
  51. *x = MetricType(value)
  52. return nil
  53. }
  54. func (MetricType) EnumDescriptor() ([]byte, []int) {
  55. return fileDescriptor_metrics_c97c9a2b9560cb8f, []int{0}
  56. }
  57. type LabelPair struct {
  58. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  59. Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
  60. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  61. XXX_unrecognized []byte `json:"-"`
  62. XXX_sizecache int32 `json:"-"`
  63. }
  64. func (m *LabelPair) Reset() { *m = LabelPair{} }
  65. func (m *LabelPair) String() string { return proto.CompactTextString(m) }
  66. func (*LabelPair) ProtoMessage() {}
  67. func (*LabelPair) Descriptor() ([]byte, []int) {
  68. return fileDescriptor_metrics_c97c9a2b9560cb8f, []int{0}
  69. }
  70. func (m *LabelPair) XXX_Unmarshal(b []byte) error {
  71. return xxx_messageInfo_LabelPair.Unmarshal(m, b)
  72. }
  73. func (m *LabelPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  74. return xxx_messageInfo_LabelPair.Marshal(b, m, deterministic)
  75. }
  76. func (dst *LabelPair) XXX_Merge(src proto.Message) {
  77. xxx_messageInfo_LabelPair.Merge(dst, src)
  78. }
  79. func (m *LabelPair) XXX_Size() int {
  80. return xxx_messageInfo_LabelPair.Size(m)
  81. }
  82. func (m *LabelPair) XXX_DiscardUnknown() {
  83. xxx_messageInfo_LabelPair.DiscardUnknown(m)
  84. }
  85. var xxx_messageInfo_LabelPair proto.InternalMessageInfo
  86. func (m *LabelPair) GetName() string {
  87. if m != nil && m.Name != nil {
  88. return *m.Name
  89. }
  90. return ""
  91. }
  92. func (m *LabelPair) GetValue() string {
  93. if m != nil && m.Value != nil {
  94. return *m.Value
  95. }
  96. return ""
  97. }
  98. type Gauge struct {
  99. Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
  100. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  101. XXX_unrecognized []byte `json:"-"`
  102. XXX_sizecache int32 `json:"-"`
  103. }
  104. func (m *Gauge) Reset() { *m = Gauge{} }
  105. func (m *Gauge) String() string { return proto.CompactTextString(m) }
  106. func (*Gauge) ProtoMessage() {}
  107. func (*Gauge) Descriptor() ([]byte, []int) {
  108. return fileDescriptor_metrics_c97c9a2b9560cb8f, []int{1}
  109. }
  110. func (m *Gauge) XXX_Unmarshal(b []byte) error {
  111. return xxx_messageInfo_Gauge.Unmarshal(m, b)
  112. }
  113. func (m *Gauge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  114. return xxx_messageInfo_Gauge.Marshal(b, m, deterministic)
  115. }
  116. func (dst *Gauge) XXX_Merge(src proto.Message) {
  117. xxx_messageInfo_Gauge.Merge(dst, src)
  118. }
  119. func (m *Gauge) XXX_Size() int {
  120. return xxx_messageInfo_Gauge.Size(m)
  121. }
  122. func (m *Gauge) XXX_DiscardUnknown() {
  123. xxx_messageInfo_Gauge.DiscardUnknown(m)
  124. }
  125. var xxx_messageInfo_Gauge proto.InternalMessageInfo
  126. func (m *Gauge) GetValue() float64 {
  127. if m != nil && m.Value != nil {
  128. return *m.Value
  129. }
  130. return 0
  131. }
  132. type Counter struct {
  133. Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
  134. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  135. XXX_unrecognized []byte `json:"-"`
  136. XXX_sizecache int32 `json:"-"`
  137. }
  138. func (m *Counter) Reset() { *m = Counter{} }
  139. func (m *Counter) String() string { return proto.CompactTextString(m) }
  140. func (*Counter) ProtoMessage() {}
  141. func (*Counter) Descriptor() ([]byte, []int) {
  142. return fileDescriptor_metrics_c97c9a2b9560cb8f, []int{2}
  143. }
  144. func (m *Counter) XXX_Unmarshal(b []byte) error {
  145. return xxx_messageInfo_Counter.Unmarshal(m, b)
  146. }
  147. func (m *Counter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  148. return xxx_messageInfo_Counter.Marshal(b, m, deterministic)
  149. }
  150. func (dst *Counter) XXX_Merge(src proto.Message) {
  151. xxx_messageInfo_Counter.Merge(dst, src)
  152. }
  153. func (m *Counter) XXX_Size() int {
  154. return xxx_messageInfo_Counter.Size(m)
  155. }
  156. func (m *Counter) XXX_DiscardUnknown() {
  157. xxx_messageInfo_Counter.DiscardUnknown(m)
  158. }
  159. var xxx_messageInfo_Counter proto.InternalMessageInfo
  160. func (m *Counter) GetValue() float64 {
  161. if m != nil && m.Value != nil {
  162. return *m.Value
  163. }
  164. return 0
  165. }
  166. type Quantile struct {
  167. Quantile *float64 `protobuf:"fixed64,1,opt,name=quantile" json:"quantile,omitempty"`
  168. Value *float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"`
  169. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  170. XXX_unrecognized []byte `json:"-"`
  171. XXX_sizecache int32 `json:"-"`
  172. }
  173. func (m *Quantile) Reset() { *m = Quantile{} }
  174. func (m *Quantile) String() string { return proto.CompactTextString(m) }
  175. func (*Quantile) ProtoMessage() {}
  176. func (*Quantile) Descriptor() ([]byte, []int) {
  177. return fileDescriptor_metrics_c97c9a2b9560cb8f, []int{3}
  178. }
  179. func (m *Quantile) XXX_Unmarshal(b []byte) error {
  180. return xxx_messageInfo_Quantile.Unmarshal(m, b)
  181. }
  182. func (m *Quantile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  183. return xxx_messageInfo_Quantile.Marshal(b, m, deterministic)
  184. }
  185. func (dst *Quantile) XXX_Merge(src proto.Message) {
  186. xxx_messageInfo_Quantile.Merge(dst, src)
  187. }
  188. func (m *Quantile) XXX_Size() int {
  189. return xxx_messageInfo_Quantile.Size(m)
  190. }
  191. func (m *Quantile) XXX_DiscardUnknown() {
  192. xxx_messageInfo_Quantile.DiscardUnknown(m)
  193. }
  194. var xxx_messageInfo_Quantile proto.InternalMessageInfo
  195. func (m *Quantile) GetQuantile() float64 {
  196. if m != nil && m.Quantile != nil {
  197. return *m.Quantile
  198. }
  199. return 0
  200. }
  201. func (m *Quantile) GetValue() float64 {
  202. if m != nil && m.Value != nil {
  203. return *m.Value
  204. }
  205. return 0
  206. }
  207. type Summary struct {
  208. SampleCount *uint64 `protobuf:"varint,1,opt,name=sample_count,json=sampleCount" json:"sample_count,omitempty"`
  209. SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum,json=sampleSum" json:"sample_sum,omitempty"`
  210. Quantile []*Quantile `protobuf:"bytes,3,rep,name=quantile" json:"quantile,omitempty"`
  211. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  212. XXX_unrecognized []byte `json:"-"`
  213. XXX_sizecache int32 `json:"-"`
  214. }
  215. func (m *Summary) Reset() { *m = Summary{} }
  216. func (m *Summary) String() string { return proto.CompactTextString(m) }
  217. func (*Summary) ProtoMessage() {}
  218. func (*Summary) Descriptor() ([]byte, []int) {
  219. return fileDescriptor_metrics_c97c9a2b9560cb8f, []int{4}
  220. }
  221. func (m *Summary) XXX_Unmarshal(b []byte) error {
  222. return xxx_messageInfo_Summary.Unmarshal(m, b)
  223. }
  224. func (m *Summary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  225. return xxx_messageInfo_Summary.Marshal(b, m, deterministic)
  226. }
  227. func (dst *Summary) XXX_Merge(src proto.Message) {
  228. xxx_messageInfo_Summary.Merge(dst, src)
  229. }
  230. func (m *Summary) XXX_Size() int {
  231. return xxx_messageInfo_Summary.Size(m)
  232. }
  233. func (m *Summary) XXX_DiscardUnknown() {
  234. xxx_messageInfo_Summary.DiscardUnknown(m)
  235. }
  236. var xxx_messageInfo_Summary proto.InternalMessageInfo
  237. func (m *Summary) GetSampleCount() uint64 {
  238. if m != nil && m.SampleCount != nil {
  239. return *m.SampleCount
  240. }
  241. return 0
  242. }
  243. func (m *Summary) GetSampleSum() float64 {
  244. if m != nil && m.SampleSum != nil {
  245. return *m.SampleSum
  246. }
  247. return 0
  248. }
  249. func (m *Summary) GetQuantile() []*Quantile {
  250. if m != nil {
  251. return m.Quantile
  252. }
  253. return nil
  254. }
  255. type Untyped struct {
  256. Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"`
  257. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  258. XXX_unrecognized []byte `json:"-"`
  259. XXX_sizecache int32 `json:"-"`
  260. }
  261. func (m *Untyped) Reset() { *m = Untyped{} }
  262. func (m *Untyped) String() string { return proto.CompactTextString(m) }
  263. func (*Untyped) ProtoMessage() {}
  264. func (*Untyped) Descriptor() ([]byte, []int) {
  265. return fileDescriptor_metrics_c97c9a2b9560cb8f, []int{5}
  266. }
  267. func (m *Untyped) XXX_Unmarshal(b []byte) error {
  268. return xxx_messageInfo_Untyped.Unmarshal(m, b)
  269. }
  270. func (m *Untyped) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  271. return xxx_messageInfo_Untyped.Marshal(b, m, deterministic)
  272. }
  273. func (dst *Untyped) XXX_Merge(src proto.Message) {
  274. xxx_messageInfo_Untyped.Merge(dst, src)
  275. }
  276. func (m *Untyped) XXX_Size() int {
  277. return xxx_messageInfo_Untyped.Size(m)
  278. }
  279. func (m *Untyped) XXX_DiscardUnknown() {
  280. xxx_messageInfo_Untyped.DiscardUnknown(m)
  281. }
  282. var xxx_messageInfo_Untyped proto.InternalMessageInfo
  283. func (m *Untyped) GetValue() float64 {
  284. if m != nil && m.Value != nil {
  285. return *m.Value
  286. }
  287. return 0
  288. }
  289. type Histogram struct {
  290. SampleCount *uint64 `protobuf:"varint,1,opt,name=sample_count,json=sampleCount" json:"sample_count,omitempty"`
  291. SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum,json=sampleSum" json:"sample_sum,omitempty"`
  292. Bucket []*Bucket `protobuf:"bytes,3,rep,name=bucket" json:"bucket,omitempty"`
  293. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  294. XXX_unrecognized []byte `json:"-"`
  295. XXX_sizecache int32 `json:"-"`
  296. }
  297. func (m *Histogram) Reset() { *m = Histogram{} }
  298. func (m *Histogram) String() string { return proto.CompactTextString(m) }
  299. func (*Histogram) ProtoMessage() {}
  300. func (*Histogram) Descriptor() ([]byte, []int) {
  301. return fileDescriptor_metrics_c97c9a2b9560cb8f, []int{6}
  302. }
  303. func (m *Histogram) XXX_Unmarshal(b []byte) error {
  304. return xxx_messageInfo_Histogram.Unmarshal(m, b)
  305. }
  306. func (m *Histogram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  307. return xxx_messageInfo_Histogram.Marshal(b, m, deterministic)
  308. }
  309. func (dst *Histogram) XXX_Merge(src proto.Message) {
  310. xxx_messageInfo_Histogram.Merge(dst, src)
  311. }
  312. func (m *Histogram) XXX_Size() int {
  313. return xxx_messageInfo_Histogram.Size(m)
  314. }
  315. func (m *Histogram) XXX_DiscardUnknown() {
  316. xxx_messageInfo_Histogram.DiscardUnknown(m)
  317. }
  318. var xxx_messageInfo_Histogram proto.InternalMessageInfo
  319. func (m *Histogram) GetSampleCount() uint64 {
  320. if m != nil && m.SampleCount != nil {
  321. return *m.SampleCount
  322. }
  323. return 0
  324. }
  325. func (m *Histogram) GetSampleSum() float64 {
  326. if m != nil && m.SampleSum != nil {
  327. return *m.SampleSum
  328. }
  329. return 0
  330. }
  331. func (m *Histogram) GetBucket() []*Bucket {
  332. if m != nil {
  333. return m.Bucket
  334. }
  335. return nil
  336. }
  337. type Bucket struct {
  338. CumulativeCount *uint64 `protobuf:"varint,1,opt,name=cumulative_count,json=cumulativeCount" json:"cumulative_count,omitempty"`
  339. UpperBound *float64 `protobuf:"fixed64,2,opt,name=upper_bound,json=upperBound" json:"upper_bound,omitempty"`
  340. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  341. XXX_unrecognized []byte `json:"-"`
  342. XXX_sizecache int32 `json:"-"`
  343. }
  344. func (m *Bucket) Reset() { *m = Bucket{} }
  345. func (m *Bucket) String() string { return proto.CompactTextString(m) }
  346. func (*Bucket) ProtoMessage() {}
  347. func (*Bucket) Descriptor() ([]byte, []int) {
  348. return fileDescriptor_metrics_c97c9a2b9560cb8f, []int{7}
  349. }
  350. func (m *Bucket) XXX_Unmarshal(b []byte) error {
  351. return xxx_messageInfo_Bucket.Unmarshal(m, b)
  352. }
  353. func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  354. return xxx_messageInfo_Bucket.Marshal(b, m, deterministic)
  355. }
  356. func (dst *Bucket) XXX_Merge(src proto.Message) {
  357. xxx_messageInfo_Bucket.Merge(dst, src)
  358. }
  359. func (m *Bucket) XXX_Size() int {
  360. return xxx_messageInfo_Bucket.Size(m)
  361. }
  362. func (m *Bucket) XXX_DiscardUnknown() {
  363. xxx_messageInfo_Bucket.DiscardUnknown(m)
  364. }
  365. var xxx_messageInfo_Bucket proto.InternalMessageInfo
  366. func (m *Bucket) GetCumulativeCount() uint64 {
  367. if m != nil && m.CumulativeCount != nil {
  368. return *m.CumulativeCount
  369. }
  370. return 0
  371. }
  372. func (m *Bucket) GetUpperBound() float64 {
  373. if m != nil && m.UpperBound != nil {
  374. return *m.UpperBound
  375. }
  376. return 0
  377. }
  378. type Metric struct {
  379. Label []*LabelPair `protobuf:"bytes,1,rep,name=label" json:"label,omitempty"`
  380. Gauge *Gauge `protobuf:"bytes,2,opt,name=gauge" json:"gauge,omitempty"`
  381. Counter *Counter `protobuf:"bytes,3,opt,name=counter" json:"counter,omitempty"`
  382. Summary *Summary `protobuf:"bytes,4,opt,name=summary" json:"summary,omitempty"`
  383. Untyped *Untyped `protobuf:"bytes,5,opt,name=untyped" json:"untyped,omitempty"`
  384. Histogram *Histogram `protobuf:"bytes,7,opt,name=histogram" json:"histogram,omitempty"`
  385. TimestampMs *int64 `protobuf:"varint,6,opt,name=timestamp_ms,json=timestampMs" json:"timestamp_ms,omitempty"`
  386. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  387. XXX_unrecognized []byte `json:"-"`
  388. XXX_sizecache int32 `json:"-"`
  389. }
  390. func (m *Metric) Reset() { *m = Metric{} }
  391. func (m *Metric) String() string { return proto.CompactTextString(m) }
  392. func (*Metric) ProtoMessage() {}
  393. func (*Metric) Descriptor() ([]byte, []int) {
  394. return fileDescriptor_metrics_c97c9a2b9560cb8f, []int{8}
  395. }
  396. func (m *Metric) XXX_Unmarshal(b []byte) error {
  397. return xxx_messageInfo_Metric.Unmarshal(m, b)
  398. }
  399. func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  400. return xxx_messageInfo_Metric.Marshal(b, m, deterministic)
  401. }
  402. func (dst *Metric) XXX_Merge(src proto.Message) {
  403. xxx_messageInfo_Metric.Merge(dst, src)
  404. }
  405. func (m *Metric) XXX_Size() int {
  406. return xxx_messageInfo_Metric.Size(m)
  407. }
  408. func (m *Metric) XXX_DiscardUnknown() {
  409. xxx_messageInfo_Metric.DiscardUnknown(m)
  410. }
  411. var xxx_messageInfo_Metric proto.InternalMessageInfo
  412. func (m *Metric) GetLabel() []*LabelPair {
  413. if m != nil {
  414. return m.Label
  415. }
  416. return nil
  417. }
  418. func (m *Metric) GetGauge() *Gauge {
  419. if m != nil {
  420. return m.Gauge
  421. }
  422. return nil
  423. }
  424. func (m *Metric) GetCounter() *Counter {
  425. if m != nil {
  426. return m.Counter
  427. }
  428. return nil
  429. }
  430. func (m *Metric) GetSummary() *Summary {
  431. if m != nil {
  432. return m.Summary
  433. }
  434. return nil
  435. }
  436. func (m *Metric) GetUntyped() *Untyped {
  437. if m != nil {
  438. return m.Untyped
  439. }
  440. return nil
  441. }
  442. func (m *Metric) GetHistogram() *Histogram {
  443. if m != nil {
  444. return m.Histogram
  445. }
  446. return nil
  447. }
  448. func (m *Metric) GetTimestampMs() int64 {
  449. if m != nil && m.TimestampMs != nil {
  450. return *m.TimestampMs
  451. }
  452. return 0
  453. }
  454. type MetricFamily struct {
  455. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  456. Help *string `protobuf:"bytes,2,opt,name=help" json:"help,omitempty"`
  457. Type *MetricType `protobuf:"varint,3,opt,name=type,enum=io.prometheus.client.MetricType" json:"type,omitempty"`
  458. Metric []*Metric `protobuf:"bytes,4,rep,name=metric" json:"metric,omitempty"`
  459. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  460. XXX_unrecognized []byte `json:"-"`
  461. XXX_sizecache int32 `json:"-"`
  462. }
  463. func (m *MetricFamily) Reset() { *m = MetricFamily{} }
  464. func (m *MetricFamily) String() string { return proto.CompactTextString(m) }
  465. func (*MetricFamily) ProtoMessage() {}
  466. func (*MetricFamily) Descriptor() ([]byte, []int) {
  467. return fileDescriptor_metrics_c97c9a2b9560cb8f, []int{9}
  468. }
  469. func (m *MetricFamily) XXX_Unmarshal(b []byte) error {
  470. return xxx_messageInfo_MetricFamily.Unmarshal(m, b)
  471. }
  472. func (m *MetricFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  473. return xxx_messageInfo_MetricFamily.Marshal(b, m, deterministic)
  474. }
  475. func (dst *MetricFamily) XXX_Merge(src proto.Message) {
  476. xxx_messageInfo_MetricFamily.Merge(dst, src)
  477. }
  478. func (m *MetricFamily) XXX_Size() int {
  479. return xxx_messageInfo_MetricFamily.Size(m)
  480. }
  481. func (m *MetricFamily) XXX_DiscardUnknown() {
  482. xxx_messageInfo_MetricFamily.DiscardUnknown(m)
  483. }
  484. var xxx_messageInfo_MetricFamily proto.InternalMessageInfo
  485. func (m *MetricFamily) GetName() string {
  486. if m != nil && m.Name != nil {
  487. return *m.Name
  488. }
  489. return ""
  490. }
  491. func (m *MetricFamily) GetHelp() string {
  492. if m != nil && m.Help != nil {
  493. return *m.Help
  494. }
  495. return ""
  496. }
  497. func (m *MetricFamily) GetType() MetricType {
  498. if m != nil && m.Type != nil {
  499. return *m.Type
  500. }
  501. return MetricType_COUNTER
  502. }
  503. func (m *MetricFamily) GetMetric() []*Metric {
  504. if m != nil {
  505. return m.Metric
  506. }
  507. return nil
  508. }
  509. func init() {
  510. proto.RegisterType((*LabelPair)(nil), "io.prometheus.client.LabelPair")
  511. proto.RegisterType((*Gauge)(nil), "io.prometheus.client.Gauge")
  512. proto.RegisterType((*Counter)(nil), "io.prometheus.client.Counter")
  513. proto.RegisterType((*Quantile)(nil), "io.prometheus.client.Quantile")
  514. proto.RegisterType((*Summary)(nil), "io.prometheus.client.Summary")
  515. proto.RegisterType((*Untyped)(nil), "io.prometheus.client.Untyped")
  516. proto.RegisterType((*Histogram)(nil), "io.prometheus.client.Histogram")
  517. proto.RegisterType((*Bucket)(nil), "io.prometheus.client.Bucket")
  518. proto.RegisterType((*Metric)(nil), "io.prometheus.client.Metric")
  519. proto.RegisterType((*MetricFamily)(nil), "io.prometheus.client.MetricFamily")
  520. proto.RegisterEnum("io.prometheus.client.MetricType", MetricType_name, MetricType_value)
  521. }
  522. func init() { proto.RegisterFile("metrics.proto", fileDescriptor_metrics_c97c9a2b9560cb8f) }
  523. var fileDescriptor_metrics_c97c9a2b9560cb8f = []byte{
  524. // 591 bytes of a gzipped FileDescriptorProto
  525. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x4f, 0xdb, 0x4e,
  526. 0x14, 0xfc, 0x99, 0xd8, 0x09, 0x7e, 0x86, 0x5f, 0xad, 0x15, 0x07, 0xab, 0x2d, 0x25, 0xcd, 0x89,
  527. 0xf6, 0x10, 0x54, 0x04, 0xaa, 0x44, 0xdb, 0x03, 0x50, 0x1a, 0x2a, 0xd5, 0x40, 0x37, 0xc9, 0x81,
  528. 0x5e, 0xac, 0x8d, 0x59, 0x25, 0x56, 0xbd, 0xb6, 0x6b, 0xef, 0x22, 0xe5, 0xdc, 0x43, 0xbf, 0x47,
  529. 0xbf, 0x68, 0xab, 0xfd, 0xe3, 0x18, 0x24, 0xc3, 0xa9, 0xb7, 0xb7, 0xf3, 0x66, 0xde, 0x8e, 0x77,
  530. 0xc7, 0x0b, 0x9b, 0x8c, 0xf2, 0x32, 0x89, 0xab, 0x61, 0x51, 0xe6, 0x3c, 0x47, 0x5b, 0x49, 0x2e,
  531. 0x2b, 0x46, 0xf9, 0x82, 0x8a, 0x6a, 0x18, 0xa7, 0x09, 0xcd, 0xf8, 0xe0, 0x10, 0xdc, 0x2f, 0x64,
  532. 0x46, 0xd3, 0x2b, 0x92, 0x94, 0x08, 0x81, 0x9d, 0x11, 0x46, 0x03, 0xab, 0x6f, 0xed, 0xba, 0x58,
  533. 0xd5, 0x68, 0x0b, 0x9c, 0x5b, 0x92, 0x0a, 0x1a, 0xac, 0x29, 0x50, 0x2f, 0x06, 0xdb, 0xe0, 0x8c,
  534. 0x88, 0x98, 0xdf, 0x69, 0x4b, 0x8d, 0x55, 0xb7, 0x77, 0xa0, 0x77, 0x9a, 0x8b, 0x8c, 0xd3, 0xf2,
  535. 0x01, 0xc2, 0x7b, 0x58, 0xff, 0x2a, 0x48, 0xc6, 0x93, 0x94, 0xa2, 0xa7, 0xb0, 0xfe, 0xc3, 0xd4,
  536. 0x86, 0xb4, 0x5a, 0xdf, 0xdf, 0x7d, 0xa5, 0xfe, 0x65, 0x41, 0x6f, 0x2c, 0x18, 0x23, 0xe5, 0x12,
  537. 0xbd, 0x84, 0x8d, 0x8a, 0xb0, 0x22, 0xa5, 0x51, 0x2c, 0x77, 0x54, 0x13, 0x6c, 0xec, 0x69, 0x4c,
  538. 0x99, 0x40, 0xdb, 0x00, 0x86, 0x52, 0x09, 0x66, 0x26, 0xb9, 0x1a, 0x19, 0x0b, 0x86, 0x8e, 0xee,
  539. 0xec, 0xdf, 0xe9, 0x77, 0x76, 0xbd, 0xfd, 0x17, 0xc3, 0xb6, 0xb3, 0x1a, 0xd6, 0x8e, 0x1b, 0x7f,
  540. 0xf2, 0x43, 0xa7, 0x19, 0x5f, 0x16, 0xf4, 0xe6, 0x81, 0x0f, 0xfd, 0x69, 0x81, 0x7b, 0x9e, 0x54,
  541. 0x3c, 0x9f, 0x97, 0x84, 0xfd, 0x03, 0xb3, 0x07, 0xd0, 0x9d, 0x89, 0xf8, 0x3b, 0xe5, 0xc6, 0xea,
  542. 0xf3, 0x76, 0xab, 0x27, 0x8a, 0x83, 0x0d, 0x77, 0x30, 0x81, 0xae, 0x46, 0xd0, 0x2b, 0xf0, 0x63,
  543. 0xc1, 0x44, 0x4a, 0x78, 0x72, 0x7b, 0xdf, 0xc5, 0x93, 0x06, 0xd7, 0x4e, 0x76, 0xc0, 0x13, 0x45,
  544. 0x41, 0xcb, 0x68, 0x96, 0x8b, 0xec, 0xc6, 0x58, 0x01, 0x05, 0x9d, 0x48, 0x64, 0xf0, 0x67, 0x0d,
  545. 0xba, 0xa1, 0xca, 0x18, 0x3a, 0x04, 0x27, 0x95, 0x31, 0x0a, 0x2c, 0xe5, 0x6a, 0xa7, 0xdd, 0xd5,
  546. 0x2a, 0x69, 0x58, 0xb3, 0xd1, 0x1b, 0x70, 0xe6, 0x32, 0x46, 0x6a, 0xb8, 0xb7, 0xff, 0xac, 0x5d,
  547. 0xa6, 0x92, 0x86, 0x35, 0x13, 0xbd, 0x85, 0x5e, 0xac, 0xa3, 0x15, 0x74, 0x94, 0x68, 0xbb, 0x5d,
  548. 0x64, 0xf2, 0x87, 0x6b, 0xb6, 0x14, 0x56, 0x3a, 0x33, 0x81, 0xfd, 0x98, 0xd0, 0x04, 0x0b, 0xd7,
  549. 0x6c, 0x29, 0x14, 0xfa, 0x8e, 0x03, 0xe7, 0x31, 0xa1, 0x09, 0x02, 0xae, 0xd9, 0xe8, 0x03, 0xb8,
  550. 0x8b, 0xfa, 0xea, 0x83, 0x9e, 0x92, 0x3e, 0x70, 0x30, 0xab, 0x84, 0xe0, 0x46, 0x21, 0xc3, 0xc2,
  551. 0x13, 0x46, 0x2b, 0x4e, 0x58, 0x11, 0xb1, 0x2a, 0xe8, 0xf6, 0xad, 0xdd, 0x0e, 0xf6, 0x56, 0x58,
  552. 0x58, 0x0d, 0x7e, 0x5b, 0xb0, 0xa1, 0x6f, 0xe0, 0x13, 0x61, 0x49, 0xba, 0x6c, 0xfd, 0x83, 0x11,
  553. 0xd8, 0x0b, 0x9a, 0x16, 0xe6, 0x07, 0x56, 0x35, 0x3a, 0x00, 0x5b, 0x7a, 0x54, 0x47, 0xf8, 0xff,
  554. 0x7e, 0xbf, 0xdd, 0x95, 0x9e, 0x3c, 0x59, 0x16, 0x14, 0x2b, 0xb6, 0x0c, 0x9f, 0x7e, 0x53, 0x02,
  555. 0xfb, 0xb1, 0xf0, 0x69, 0x1d, 0x36, 0xdc, 0xd7, 0x21, 0x40, 0x33, 0x09, 0x79, 0xd0, 0x3b, 0xbd,
  556. 0x9c, 0x5e, 0x4c, 0xce, 0xb0, 0xff, 0x1f, 0x72, 0xc1, 0x19, 0x1d, 0x4f, 0x47, 0x67, 0xbe, 0x25,
  557. 0xf1, 0xf1, 0x34, 0x0c, 0x8f, 0xf1, 0xb5, 0xbf, 0x26, 0x17, 0xd3, 0x8b, 0xc9, 0xf5, 0xd5, 0xd9,
  558. 0x47, 0xbf, 0x83, 0x36, 0xc1, 0x3d, 0xff, 0x3c, 0x9e, 0x5c, 0x8e, 0xf0, 0x71, 0xe8, 0xdb, 0x27,
  559. 0x18, 0x5a, 0x5f, 0xb2, 0x6f, 0x47, 0xf3, 0x84, 0x2f, 0xc4, 0x6c, 0x18, 0xe7, 0x6c, 0xaf, 0xe9,
  560. 0xee, 0xe9, 0x6e, 0xc4, 0xf2, 0x1b, 0x9a, 0xee, 0xcd, 0xf3, 0x77, 0x49, 0x1e, 0x35, 0xdd, 0x48,
  561. 0x77, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x45, 0x21, 0x7f, 0x64, 0x2b, 0x05, 0x00, 0x00,
  562. }
上海开阖软件有限公司 沪ICP备12045867号-1