-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstatus.proto
865 lines (774 loc) · 22.2 KB
/
status.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
syntax = "proto3";
option go_package = "github.com/clyso/ceph-api/api/ceph;pb";
package ceph;
import "google/protobuf/empty.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
service Status {
// command: ceph status
rpc GetCephStatus (google.protobuf.Empty) returns (GetCephStatusResponse) {}
// command: ceph mon dump
rpc GetCephMonDump (google.protobuf.Empty) returns (CephMonDumpResponse) {}
// command: ceph osd dump
rpc GetCephOsdDump (google.protobuf.Empty) returns (GetCephOsdDumpResponse) {}
// command: ceph pg dump
rpc GetCephPgDump (google.protobuf.Empty) returns (GetCephPgDumpResponse) {}
// command: ceph report
rpc GetCephReport (google.protobuf.Empty) returns (google.protobuf.Struct) {}
}
message GetCephStatusResponse {
string fsid = 1;
CephStatusHealth health = 2;
int32 election_epoch = 3;
repeated int32 quorum = 4;
repeated string quorum_names = 5;
int32 quorum_age = 6;
CephStatusMonMap monmap = 7;
CephStatusOSDMap osdmap = 8;
CephStatusPGMap pgmap = 9;
CephStatusFSMap fsmap = 10;
CephStatusMgrMap mgrmap = 11;
CephStatusServiceMap servicemap = 12;
google.protobuf.Struct progress_events = 13;
}
message CephMonDumpResponse {
int32 epoch = 1;
string fsid = 2;
google.protobuf.Timestamp modified = 3;
google.protobuf.Timestamp created = 4;
int32 min_mon_release = 5;
string min_mon_release_name = 6;
int32 election_strategy = 7;
string disallowed_leaders = 8;
bool stretch_mode = 9;
string tiebreaker_mon = 10;
string removed_ranks = 11;
CephMonDumpFeatures features = 12;
repeated CephMonDumpMonInfo mons = 13;
repeated int32 quorum = 14;
}
message CephMonDumpFeatures {
repeated string persistent = 1;
repeated string optional = 2;
}
message CephMonDumpMonInfo {
int32 rank = 1;
string name = 2;
CephMonDumpAddrVec public_addrs = 3;
string addr = 4;
string public_addr = 5;
int32 priority = 6;
int32 weight = 7;
string crush_location = 8;
}
message CephMonDumpAddrVec {
repeated CephMonDumpAddress addrvec = 1;
}
message CephMonDumpAddress {
string type = 1;
string addr = 2;
int32 nonce = 3;
}
message CephStatusHealth {
string status = 1;
map<string, google.protobuf.Struct> checks = 2;
repeated google.protobuf.Value mutes = 3;
}
message CephStatusMonMap {
int32 epoch = 1;
string min_mon_release_name = 2;
int32 num_mons = 3;
}
message CephStatusOSDMap {
int32 epoch = 1;
int32 num_osds = 2;
int32 num_up_osds = 3;
int64 osd_up_since = 4;
int32 num_in_osds = 5;
int64 osd_in_since = 6;
int32 num_remapped_pgs = 7;
}
message CephStatusPGMap {
repeated CephStatusPGState pgs_by_state = 1;
int32 num_pgs = 2;
int32 num_pools = 3;
int32 num_objects = 4;
int64 data_bytes = 5;
int64 bytes_used = 6;
int64 bytes_avail = 7;
int64 bytes_total = 8;
}
message CephStatusPGState {
string state_name = 1;
int32 count = 2;
}
message CephStatusFSMap {
int32 epoch = 1;
repeated google.protobuf.Value by_rank = 2;
int32 up_standby = 3;
}
message CephStatusMgrMap {
bool available = 1;
int32 num_standbys = 2;
repeated string modules = 3;
map<string, string> services = 4;
}
message CephStatusServiceMap {
int32 epoch = 1;
string modified = 2;
map<string, CephStatusService> services = 3;
}
message CephStatusService {
map<string, google.protobuf.Value> daemons = 1;
string summary = 2;
}
// OSD DUMP
message GetCephOsdDumpResponse {
int32 epoch = 1;
string fsid = 2;
google.protobuf.Timestamp created = 3;
google.protobuf.Timestamp modified = 4;
google.protobuf.Timestamp last_up_change = 5;
google.protobuf.Timestamp last_in_change = 6;
string flags = 7;
int32 flags_num = 8;
repeated string flags_set = 9;
int32 crush_version = 10;
double full_ratio = 11;
double backfillfull_ratio = 12;
double nearfull_ratio = 13;
string cluster_snapshot = 14;
int32 pool_max = 15;
int32 max_osd = 16;
string require_min_compat_client = 17;
string min_compat_client = 18;
string require_osd_release = 19;
bool allow_crimson = 20;
repeated OsdDumpPool pools = 21;
repeated OsdDumpOsdInfo osds = 22;
repeated OsdDumpOsdXInfo osd_xinfo = 23;
repeated google.protobuf.Value pg_upmap = 24;
repeated google.protobuf.Value pg_upmap_items = 25;
repeated google.protobuf.Value pg_upmap_primaries = 26;
repeated google.protobuf.Value pg_temp = 27;
repeated google.protobuf.Value primary_temp = 28;
map<string, google.protobuf.Timestamp> blocklist = 29;
google.protobuf.Struct range_blocklist = 30;
map<string, OsdDumpErasureCodeProfile> erasure_code_profiles = 31;
repeated google.protobuf.Value removed_snaps_queue = 32;
repeated google.protobuf.Value new_removed_snaps = 33;
repeated google.protobuf.Value new_purged_snaps = 34;
google.protobuf.Struct crush_node_flags = 35;
google.protobuf.Struct device_class_flags = 36;
OsdDumpStretchMode stretch_mode = 37;
}
message OsdDumpPool {
int32 pool = 1;
string pool_name = 2;
google.protobuf.Timestamp create_time = 3;
int64 flags = 4;
string flags_names = 5;
int32 type = 6;
int32 size = 7;
int32 min_size = 8;
int32 crush_rule = 9;
int32 peering_crush_bucket_count = 10;
int32 peering_crush_bucket_target = 11;
int32 peering_crush_bucket_barrier = 12;
int32 peering_crush_bucket_mandatory_member = 13;
int32 object_hash = 14;
string pg_autoscale_mode = 15;
int32 pg_num = 16;
int32 pg_placement_num = 17;
int32 pg_placement_num_target = 18;
int32 pg_num_target = 19;
int32 pg_num_pending = 20;
OsdDumpLastPgMergeMeta last_pg_merge_meta = 21;
string last_change = 22;
string last_force_op_resend = 23;
string last_force_op_resend_prenautilus = 24;
string last_force_op_resend_preluminous = 25;
uint64 auid = 26;
string snap_mode = 27;
uint64 snap_seq = 28;
uint64 snap_epoch = 29;
repeated google.protobuf.Value pool_snaps = 30;
string removed_snaps = 31;
uint64 quota_max_bytes = 32;
uint64 quota_max_objects = 33;
repeated int32 tiers = 34;
int32 tier_of = 35;
int32 read_tier = 36;
int32 write_tier = 37;
string cache_mode = 38;
uint64 target_max_bytes = 39;
uint64 target_max_objects = 40;
uint64 cache_target_dirty_ratio_micro = 41;
uint64 cache_target_dirty_high_ratio_micro = 42;
uint64 cache_target_full_ratio_micro = 43;
uint64 cache_min_flush_age = 44;
uint64 cache_min_evict_age = 45;
string erasure_code_profile = 46;
OsdDumpHitSetParams hit_set_params = 47;
uint64 hit_set_period = 48;
uint64 hit_set_count = 49;
bool use_gmt_hitset = 50;
uint64 min_read_recency_for_promote = 51;
uint64 min_write_recency_for_promote = 52;
uint64 hit_set_grade_decay_rate = 53;
uint64 hit_set_search_last_n = 54;
repeated google.protobuf.Value grade_table = 55;
uint64 stripe_width = 56;
uint64 expected_num_objects = 57;
bool fast_read = 58;
google.protobuf.Struct options = 59;
google.protobuf.Struct application_metadata = 60;
OsdDumpReadBalance read_balance = 61;
}
message OsdDumpLastPgMergeMeta {
string source_pgid = 1;
int32 ready_epoch = 2;
int32 last_epoch_started = 3;
int32 last_epoch_clean = 4;
string source_version = 5;
string target_version = 6;
}
message OsdDumpHitSetParams {
string type = 1;
}
message OsdDumpReadBalance {
double score_acting = 1;
double score_stable = 2;
double optimal_score = 3;
double raw_score_acting = 4;
double raw_score_stable = 5;
double primary_affinity_weighted = 6;
double average_primary_affinity = 7;
double average_primary_affinity_weighted = 8;
}
message OsdDumpOsdInfo {
int32 osd = 1;
string uuid = 2;
int32 up = 3;
int32 in = 4;
double weight = 5;
double primary_affinity = 6;
int32 last_clean_begin = 7;
int32 last_clean_end = 8;
int32 up_from = 9;
int32 up_thru = 10;
int32 down_at = 11;
int32 lost_at = 12;
OsdDumpPublicAddrs public_addrs = 13;
OsdDumpClusterAddrs cluster_addrs = 14;
OsdDumpHeartbeatAddrs heartbeat_back_addrs = 15;
OsdDumpHeartbeatAddrs heartbeat_front_addrs = 16;
string public_addr = 17;
string cluster_addr = 18;
string heartbeat_back_addr = 19;
string heartbeat_front_addr = 20;
repeated string state = 21;
}
message OsdDumpPublicAddrs {
repeated OsdDumpAddrVec addrvec = 1;
}
message OsdDumpClusterAddrs {
repeated OsdDumpAddrVec addrvec = 1;
}
message OsdDumpHeartbeatAddrs {
repeated OsdDumpAddrVec addrvec = 1;
}
message OsdDumpAddrVec {
string type = 1;
string addr = 2;
uint64 nonce = 3;
}
message OsdDumpOsdXInfo {
int32 osd = 1;
google.protobuf.Timestamp down_stamp = 2;
double laggy_probability = 3;
double laggy_interval = 4;
uint64 features = 5;
double old_weight = 6;
google.protobuf.Timestamp last_purged_snaps_scrub = 7;
int32 dead_epoch = 8;
}
message OsdDumpErasureCodeProfile {
string k = 1;
string m = 2;
string plugin = 3;
string technique = 4;
}
message OsdDumpStretchMode {
bool stretch_mode_enabled = 1;
int32 stretch_bucket_count = 2;
int32 degraded_stretch_mode = 3;
int32 recovering_stretch_mode = 4;
int32 stretch_mode_bucket = 5;
}
// PG DUMP
message GetCephPgDumpResponse {
bool pg_ready = 1;
PGMap pg_map = 2;
}
message PGMap {
int64 version = 1;
google.protobuf.Timestamp stamp = 2;
int64 last_osdmap_epoch = 3;
int64 last_pg_scan = 4;
PGStatsSum pg_stats_sum = 5;
OSDStatsSum osd_stats_sum = 6;
PGStatsDelta pg_stats_delta = 7;
repeated PGStat pg_stats = 8;
repeated PoolStats pool_stats = 9;
repeated OsdStats osd_stats = 10;
repeated PoolStatFs pool_statfs = 11;
}
message PGStatsSum {
PGStatsSum_StatSum stat_sum = 1;
PGStatsSum_StoreStats store_stats = 2;
int64 log_size = 3;
int64 ondisk_log_size = 4;
int64 up = 5;
int64 acting = 6;
int64 num_store_stats = 7;
message PGStatsSum_StatSum {
int64 num_bytes = 1;
int64 num_objects = 2;
int64 num_object_clones = 3;
int64 num_object_copies = 4;
int64 num_objects_missing_on_primary = 5;
int64 num_objects_missing = 6;
int64 num_objects_degraded = 7;
int64 num_objects_misplaced = 8;
int64 num_objects_unfound = 9;
int64 num_objects_dirty = 10;
int64 num_whiteouts = 11;
int64 num_read = 12;
int64 num_read_kb = 13;
int64 num_write = 14;
int64 num_write_kb = 15;
int64 num_scrub_errors = 16;
int64 num_shallow_scrub_errors = 17;
int64 num_deep_scrub_errors = 18;
int64 num_objects_recovered = 19;
int64 num_bytes_recovered = 20;
int64 num_keys_recovered = 21;
int64 num_objects_omap = 22;
int64 num_objects_hit_set_archive = 23;
int64 num_bytes_hit_set_archive = 24;
int64 num_flush = 25;
int64 num_flush_kb = 26;
int64 num_evict = 27;
int64 num_evict_kb = 28;
int64 num_promote = 29;
int64 num_flush_mode_high = 30;
int64 num_flush_mode_low = 31;
int64 num_evict_mode_some = 32;
int64 num_evict_mode_full = 33;
int64 num_objects_pinned = 34;
int64 num_legacy_snapsets = 35;
int64 num_large_omap_objects = 36;
int64 num_objects_manifest = 37;
int64 num_omap_bytes = 38;
int64 num_omap_keys = 39;
int64 num_objects_repaired = 40;
}
message PGStatsSum_StoreStats {
int64 total = 1;
int64 available = 2;
int64 internally_reserved = 3;
int64 allocated = 4;
int64 data_stored = 5;
int64 data_compressed = 6;
int64 data_compressed_allocated = 7;
int64 data_compressed_original = 8;
int64 omap_allocated = 9;
int64 internal_metadata = 10;
}
}
message OSDStatsSum {
int64 up_from = 1;
int64 seq = 2;
int64 num_pgs = 3;
int64 num_osds = 4;
int64 num_per_pool_osds = 5;
int64 num_per_pool_omap_osds = 6;
int64 kb = 7;
int64 kb_used = 8;
int64 kb_used_data = 9;
int64 kb_used_omap = 10;
int64 kb_used_meta = 11;
int64 kb_avail = 12;
StatFs statfs = 13;
repeated int64 hb_peers = 14;
int64 snap_trim_queue_len = 15;
int64 num_snap_trimming = 16;
int64 num_shards_repaired = 17;
OpQueueAgeHist op_queue_age_hist = 18;
PerfStat perf_stat = 19;
repeated string alerts = 20;
repeated NetworkPingTime network_ping_times = 21;
message StatFs {
int64 total = 1;
int64 available = 2;
int64 internally_reserved = 3;
int64 allocated = 4;
int64 data_stored = 5;
int64 data_compressed = 6;
int64 data_compressed_allocated = 7;
int64 data_compressed_original = 8;
int64 omap_allocated = 9;
int64 internal_metadata = 10;
}
message OpQueueAgeHist {
repeated int64 histogram = 1;
int64 upper_bound = 2;
}
message PerfStat {
int64 commit_latency_ms = 1;
int64 apply_latency_ms = 2;
int64 commit_latency_ns = 3;
int64 apply_latency_ns = 4;
}
message NetworkPingTime {
int64 osd = 1;
google.protobuf.Timestamp last_update = 2;
repeated Interface interfaces = 3;
message Interface {
string interface_name = 1;
Average average = 2;
Min min = 3;
Max max = 4;
double last = 5;
message Average {
double min1 = 1;
double min5 = 2;
double min15 = 3;
}
message Min {
double min1 = 1;
double min5 = 2;
double min15 = 3;
}
message Max {
double min1 = 1;
double min5 = 2;
double min15 = 3;
}
}
}
}
message PGStatsDelta {
PGStatsDelta_StatSum stat_sum = 1;
PGStatsDelta_StoreStats store_stats = 2;
int64 log_size = 3;
int64 ondisk_log_size = 4;
int64 up = 5;
int64 acting = 6;
int64 num_store_stats = 7;
string stamp_delta = 8;
message PGStatsDelta_StatSum {
int64 num_bytes = 1;
int64 num_objects = 2;
int64 num_object_clones = 3;
int64 num_object_copies = 4;
int64 num_objects_missing_on_primary = 5;
int64 num_objects_missing = 6;
int64 num_objects_degraded = 7;
int64 num_objects_misplaced = 8;
int64 num_objects_unfound = 9;
int64 num_objects_dirty = 10;
int64 num_whiteouts = 11;
int64 num_read = 12;
int64 num_read_kb = 13;
int64 num_write = 14;
int64 num_write_kb = 15;
int64 num_scrub_errors = 16;
int64 num_shallow_scrub_errors = 17;
int64 num_deep_scrub_errors = 18;
int64 num_objects_recovered = 19;
int64 num_bytes_recovered = 20;
int64 num_keys_recovered = 21;
int64 num_objects_omap = 22;
int64 num_objects_hit_set_archive = 23;
int64 num_bytes_hit_set_archive = 24;
int64 num_flush = 25;
int64 num_flush_kb = 26;
int64 num_evict = 27;
int64 num_evict_kb = 28;
int64 num_promote = 29;
int64 num_flush_mode_high = 30;
int64 num_flush_mode_low = 31;
int64 num_evict_mode_some = 32;
int64 num_evict_mode_full = 33;
int64 num_objects_pinned = 34;
int64 num_legacy_snapsets = 35;
int64 num_large_omap_objects = 36;
int64 num_objects_manifest = 37;
int64 num_omap_bytes = 38;
int64 num_omap_keys = 39;
int64 num_objects_repaired = 40;
}
message PGStatsDelta_StoreStats {
int64 total = 1;
int64 available = 2;
int64 internally_reserved = 3;
int64 allocated = 4;
int64 data_stored = 5;
int64 data_compressed = 6;
int64 data_compressed_allocated = 7;
int64 data_compressed_original = 8;
int64 omap_allocated = 9;
int64 internal_metadata = 10;
}
}
message PGStat {
string pgid = 1;
string version = 2;
int64 reported_seq = 3;
int64 reported_epoch = 4;
string state = 5;
google.protobuf.Timestamp last_fresh = 6;
google.protobuf.Timestamp last_change = 7;
google.protobuf.Timestamp last_active = 8;
google.protobuf.Timestamp last_peered = 9;
google.protobuf.Timestamp last_clean = 10;
google.protobuf.Timestamp last_became_active = 11;
google.protobuf.Timestamp last_became_peered = 12;
google.protobuf.Timestamp last_unstale = 13;
google.protobuf.Timestamp last_undegraded = 14;
google.protobuf.Timestamp last_fullsized = 15;
int64 mapping_epoch = 16;
string log_start = 17;
string ondisk_log_start = 18;
int64 created = 19;
int64 last_epoch_clean = 20;
string parent = 21;
int64 parent_split_bits = 22;
string last_scrub = 23;
google.protobuf.Timestamp last_scrub_stamp = 24;
string last_deep_scrub = 25;
google.protobuf.Timestamp last_deep_scrub_stamp = 26;
google.protobuf.Timestamp last_clean_scrub_stamp = 27;
int64 objects_scrubbed = 28;
int64 log_size = 29;
int64 log_dups_size = 30;
int64 ondisk_log_size = 31;
bool stats_invalid = 32;
bool dirty_stats_invalid = 33;
bool omap_stats_invalid = 34;
bool hitset_stats_invalid = 35;
bool hitset_bytes_stats_invalid = 36;
bool pin_stats_invalid = 37;
bool manifest_stats_invalid = 38;
int64 snaptrimq_len = 39;
int64 last_scrub_duration = 40;
string scrub_schedule = 41;
double scrub_duration = 42;
int64 objects_trimmed = 43;
double snaptrim_duration = 44;
PGStat_StatSum stat_sum = 45;
repeated int64 up = 46;
repeated int64 acting = 47;
repeated int64 avail_no_missing = 48;
repeated int64 object_location_counts = 49;
repeated int64 blocked_by = 50;
int64 up_primary = 51;
int64 acting_primary = 52;
repeated int64 purged_snaps = 53;
message PGStat_StatSum {
int64 num_bytes = 1;
int64 num_objects = 2;
int64 num_object_clones = 3;
int64 num_object_copies = 4;
int64 num_objects_missing_on_primary = 5;
int64 num_objects_missing = 6;
int64 num_objects_degraded = 7;
int64 num_objects_misplaced = 8;
int64 num_objects_unfound = 9;
int64 num_objects_dirty = 10;
int64 num_whiteouts = 11;
int64 num_read = 12;
int64 num_read_kb = 13;
int64 num_write = 14;
int64 num_write_kb = 15;
int64 num_scrub_errors = 16;
int64 num_shallow_scrub_errors = 17;
int64 num_deep_scrub_errors = 18;
int64 num_objects_recovered = 19;
int64 num_bytes_recovered = 20;
int64 num_keys_recovered = 21;
int64 num_objects_omap = 22;
int64 num_objects_hit_set_archive = 23;
int64 num_bytes_hit_set_archive = 24;
int64 num_flush = 25;
int64 num_flush_kb = 26;
int64 num_evict = 27;
int64 num_evict_kb = 28;
int64 num_promote = 29;
int64 num_flush_mode_high = 30;
int64 num_flush_mode_low = 31;
int64 num_evict_mode_some = 32;
int64 num_evict_mode_full = 33;
int64 num_objects_pinned = 34;
int64 num_legacy_snapsets = 35;
int64 num_large_omap_objects = 36;
int64 num_objects_manifest = 37;
int64 num_omap_bytes = 38;
int64 num_omap_keys = 39;
int64 num_objects_repaired = 40;
}
}
message PoolStats {
int64 poolid = 1;
int64 num_pg = 2;
PoolStats_StatSum stat_sum = 3;
PoolStats_StoreStats store_stats = 4;
int64 log_size = 5;
int64 ondisk_log_size = 6;
int64 up = 7;
int64 acting = 8;
int64 num_store_stats = 9;
message PoolStats_StatSum {
int64 num_bytes = 1;
int64 num_objects = 2;
int64 num_object_clones = 3;
int64 num_object_copies = 4;
int64 num_objects_missing_on_primary = 5;
int64 num_objects_missing = 6;
int64 num_objects_degraded = 7;
int64 num_objects_misplaced = 8;
int64 num_objects_unfound = 9;
int64 num_objects_dirty = 10;
int64 num_whiteouts = 11;
int64 num_read = 12;
int64 num_read_kb = 13;
int64 num_write = 14;
int64 num_write_kb = 15;
int64 num_scrub_errors = 16;
int64 num_shallow_scrub_errors = 17;
int64 num_deep_scrub_errors = 18;
int64 num_objects_recovered = 19;
int64 num_bytes_recovered = 20;
int64 num_keys_recovered = 21;
int64 num_objects_omap = 22;
int64 num_objects_hit_set_archive = 23;
int64 num_bytes_hit_set_archive = 24;
int64 num_flush = 25;
int64 num_flush_kb = 26;
int64 num_evict = 27;
int64 num_evict_kb = 28;
int64 num_promote = 29;
int64 num_flush_mode_high = 30;
int64 num_flush_mode_low = 31;
int64 num_evict_mode_some = 32;
int64 num_evict_mode_full = 33;
int64 num_objects_pinned = 34;
int64 num_legacy_snapsets = 35;
int64 num_large_omap_objects = 36;
int64 num_objects_manifest = 37;
int64 num_omap_bytes = 38;
int64 num_omap_keys = 39;
int64 num_objects_repaired = 40;
}
message PoolStats_StoreStats {
int64 total = 1;
int64 available = 2;
int64 internally_reserved = 3;
int64 allocated = 4;
int64 data_stored = 5;
int64 data_compressed = 6;
int64 data_compressed_allocated = 7;
int64 data_compressed_original = 8;
int64 omap_allocated = 9;
int64 internal_metadata = 10;
}
}
message OsdStats {
int64 osd = 1;
int64 up_from = 2;
int64 seq = 3;
int64 num_pgs = 4;
int64 num_osds = 5;
int64 num_per_pool_osds = 6;
int64 num_per_pool_omap_osds = 7;
int64 kb = 8;
int64 kb_used = 9;
int64 kb_used_data = 10;
int64 kb_used_omap = 11;
int64 kb_used_meta = 12;
int64 kb_avail = 13;
StatFs statfs = 14;
repeated int64 hb_peers = 15;
int64 snap_trim_queue_len = 16;
int64 num_snap_trimming = 17;
int64 num_shards_repaired = 18;
OpQueueAgeHist op_queue_age_hist = 19;
PerfStat perf_stat = 20;
repeated string alerts = 21;
repeated NetworkPingTime network_ping_times = 22;
message StatFs {
int64 total = 1;
int64 available = 2;
int64 internally_reserved = 3;
int64 allocated = 4;
int64 data_stored = 5;
int64 data_compressed = 6;
int64 data_compressed_allocated = 7;
int64 data_compressed_original = 8;
int64 omap_allocated = 9;
int64 internal_metadata = 10;
}
message OpQueueAgeHist {
repeated int64 histogram = 1;
int64 upper_bound = 2;
}
message PerfStat {
int64 commit_latency_ms = 1;
int64 apply_latency_ms = 2;
int64 commit_latency_ns = 3;
int64 apply_latency_ns = 4;
}
message NetworkPingTime {
int64 osd = 1;
string last_update = 2;
repeated Interface interfaces = 3;
message Interface {
string interface_name = 1;
Average average = 2;
Min min = 3;
Max max = 4;
double last = 5;
message Average {
double min1 = 1;
double min5 = 2;
double min15 = 3;
}
message Min {
double min1 = 1;
double min5 = 2;
double min15 = 3;
}
message Max {
double min1 = 1;
double min5 = 2;
double min15 = 3;
}
}
}
}
message PoolStatFs {
int64 poolid = 1;
int64 osd = 2;
int64 total = 3;
int64 available = 4;
int64 internally_reserved = 5;
int64 allocated = 6;
int64 data_stored = 7;
int64 data_compressed = 8;
int64 data_compressed_allocated = 9;
int64 data_compressed_original = 10;
int64 omap_allocated = 11;
int64 internal_metadata = 12;
}