"Count of ops delayed due to target object being degraded");
osd_plb.add_u64_counter(
- l_osd_op_r, "op_r", "Client read operations");
+ l_osd_op_r, "op_r", "Client read operations", nullptr, PerfCountersBuilder::PRIO_CRITICAL);
osd_plb.add_u64_counter(
- l_osd_op_r_outb, "op_r_out_bytes", "Client data read", NULL, PerfCountersBuilder::PRIO_USEFUL, unit_t(UNIT_BYTES));
+ l_osd_op_r_outb, "op_r_out_bytes", "Client data read", NULL, PerfCountersBuilder::PRIO_CRITICAL, unit_t(UNIT_BYTES));
osd_plb.add_time_avg(
l_osd_op_r_lat, "op_r_latency",
- "Latency of read operation (including queue time)");
+ "Latency of read operation (including queue time)",
+ nullptr, PerfCountersBuilder::PRIO_CRITICAL);
osd_plb.add_u64_counter_histogram(
l_osd_op_r_lat_outb_hist, "op_r_latency_out_bytes_histogram",
op_hist_x_axis_config, op_hist_y_axis_config,
l_osd_op_r_prepare_lat, "op_r_prepare_latency",
"Latency of read operations (excluding queue time and wait for finished)");
osd_plb.add_u64_counter(
- l_osd_op_w, "op_w", "Client write operations");
+ l_osd_op_w, "op_w", "Client write operations",
+ nullptr, PerfCountersBuilder::PRIO_CRITICAL);
osd_plb.add_u64_counter(
- l_osd_op_w_inb, "op_w_in_bytes", "Client data written");
+ l_osd_op_w_inb, "op_w_in_bytes", "Client data written",
+ nullptr, PerfCountersBuilder::PRIO_CRITICAL, unit_t(UNIT_BYTES));
osd_plb.add_time_avg(
l_osd_op_w_lat, "op_w_latency",
- "Latency of write operation (including queue time)");
+ "Latency of write operation (including queue time)",
+ nullptr, PerfCountersBuilder::PRIO_CRITICAL);
osd_plb.add_u64_counter_histogram(
l_osd_op_w_lat_inb_hist, "op_w_latency_in_bytes_histogram",
op_hist_x_axis_config, op_hist_y_axis_config,
osd_plb.add_u64_counter(
l_osd_rop, "recovery_ops",
"Started recovery operations",
- "rop", PerfCountersBuilder::PRIO_INTERESTING);
+ "rop", PerfCountersBuilder::PRIO_CRITICAL);
osd_plb.add_u64_counter(
l_osd_rbytes, "recovery_bytes",
"Total number of crc cache misses");
osd_plb.add_u64(l_osd_pg, "numpg", "Placement groups",
- "pgs", PerfCountersBuilder::PRIO_USEFUL);
+ "pgs", PerfCountersBuilder::PRIO_CRITICAL);
osd_plb.add_u64(
l_osd_pg_primary, "numpg_primary",
"Placement groups for which this osd is primary");
osd_plb.add_u64(
l_osd_stat_bytes, "stat_bytes", "OSD size", "size",
- PerfCountersBuilder::PRIO_USEFUL, unit_t(UNIT_BYTES));
+ PerfCountersBuilder::PRIO_CRITICAL, unit_t(UNIT_BYTES));
osd_plb.add_u64(
l_osd_stat_bytes_used, "stat_bytes_used", "Used space", "used",
- PerfCountersBuilder::PRIO_USEFUL, unit_t(UNIT_BYTES));
+ PerfCountersBuilder::PRIO_CRITICAL, unit_t(UNIT_BYTES));
osd_plb.add_u64(l_osd_stat_bytes_avail, "stat_bytes_avail", "Available space", NULL, 0, unit_t(UNIT_BYTES));
osd_plb.add_u64_counter(
pcb->set_prio_default(PerfCountersBuilder::PRIO_USEFUL);
pcb->add_u64_counter(l_rgw_req, "req", "Requests");
- pcb->add_u64_counter(l_rgw_failed_req, "failed_req", "Aborted requests");
+ pcb->add_u64_counter(l_rgw_failed_req, "failed_req", "Aborted requests", "", PerfCountersBuilder::PRIO_CRITICAL);
pcb->add_u64(l_rgw_qlen, "qlen", "Queue length");
pcb->add_u64(l_rgw_qactive, "qactive", "Active requests queue");
// description must match general rgw counters description above
lpcb->set_prio_default(PerfCountersBuilder::PRIO_USEFUL);
- lpcb->add_u64_counter(l_rgw_op_put_obj, "put_obj_ops", "Puts");
- lpcb->add_u64_counter(l_rgw_op_put_obj_b, "put_obj_bytes", "Size of puts");
- lpcb->add_time_avg(l_rgw_op_put_obj_lat, "put_obj_lat", "Put latency");
+ lpcb->add_u64_counter(l_rgw_op_put_obj, "put_obj_ops", "Puts", "", PerfCountersBuilder::PRIO_CRITICAL);
+ lpcb->add_u64_counter(l_rgw_op_put_obj_b, "put_obj_bytes", "Size of puts", "", PerfCountersBuilder::PRIO_CRITICAL, UNIT_BYTES);
+ lpcb->add_time_avg(l_rgw_op_put_obj_lat, "put_obj_lat", "Put latency", "", PerfCountersBuilder::PRIO_CRITICAL);
- lpcb->add_u64_counter(l_rgw_op_get_obj, "get_obj_ops", "Gets");
- lpcb->add_u64_counter(l_rgw_op_get_obj_b, "get_obj_bytes", "Size of gets");
- lpcb->add_time_avg(l_rgw_op_get_obj_lat, "get_obj_lat", "Get latency");
+ lpcb->add_u64_counter(l_rgw_op_get_obj, "get_obj_ops", "Gets", "", PerfCountersBuilder::PRIO_CRITICAL);
+ lpcb->add_u64_counter(l_rgw_op_get_obj_b, "get_obj_bytes", "Size of gets", "", PerfCountersBuilder::PRIO_CRITICAL, UNIT_BYTES);
+ lpcb->add_time_avg(l_rgw_op_get_obj_lat, "get_obj_lat", "Get latency", "", PerfCountersBuilder::PRIO_CRITICAL);
- lpcb->add_u64_counter(l_rgw_op_del_obj, "del_obj_ops", "Delete objects");
- lpcb->add_u64_counter(l_rgw_op_del_obj_b, "del_obj_bytes", "Size of delete objects");
- lpcb->add_time_avg(l_rgw_op_del_obj_lat, "del_obj_lat", "Delete object latency");
+ lpcb->add_u64_counter(l_rgw_op_del_obj, "del_obj_ops", "Delete objects", "", PerfCountersBuilder::PRIO_CRITICAL);
+ lpcb->add_u64_counter(l_rgw_op_del_obj_b, "del_obj_bytes", "Size of delete objects", "", PerfCountersBuilder::PRIO_CRITICAL, UNIT_BYTES);
+ lpcb->add_time_avg(l_rgw_op_del_obj_lat, "del_obj_lat", "Delete object latency", "", PerfCountersBuilder::PRIO_CRITICAL);
lpcb->add_u64_counter(l_rgw_op_del_bucket, "del_bucket_ops", "Delete Buckets");
lpcb->add_time_avg(l_rgw_op_del_bucket_lat, "del_bucket_lat", "Delete bucket latency");
- lpcb->add_u64_counter(l_rgw_op_copy_obj, "copy_obj_ops", "Copy objects");
- lpcb->add_u64_counter(l_rgw_op_copy_obj_b, "copy_obj_bytes", "Size of copy objects");
- lpcb->add_time_avg(l_rgw_op_copy_obj_lat, "copy_obj_lat", "Copy object latency");
+ lpcb->add_u64_counter(l_rgw_op_copy_obj, "copy_obj_ops", "Copy objects", "", PerfCountersBuilder::PRIO_CRITICAL);
+ lpcb->add_u64_counter(l_rgw_op_copy_obj_b, "copy_obj_bytes", "Size of copy objects", "", PerfCountersBuilder::PRIO_CRITICAL, UNIT_BYTES);
+ lpcb->add_time_avg(l_rgw_op_copy_obj_lat, "copy_obj_lat", "Copy object latency", "", PerfCountersBuilder::PRIO_CRITICAL);
- lpcb->add_u64_counter(l_rgw_op_list_obj, "list_obj_ops", "List objects");
- lpcb->add_time_avg(l_rgw_op_list_obj_lat, "list_obj_lat", "List objects latency");
+ lpcb->add_u64_counter(l_rgw_op_list_obj, "list_obj_ops", "List objects", "", PerfCountersBuilder::PRIO_CRITICAL);
+ lpcb->add_time_avg(l_rgw_op_list_obj_lat, "list_obj_lat", "List objects latency", "", PerfCountersBuilder::PRIO_CRITICAL);
- lpcb->add_u64_counter(l_rgw_op_list_buckets, "list_buckets_ops", "List buckets");
- lpcb->add_time_avg(l_rgw_op_list_buckets_lat, "list_buckets_lat", "List buckets latency");
+ lpcb->add_u64_counter(l_rgw_op_list_buckets, "list_buckets_ops", "List buckets", "", PerfCountersBuilder::PRIO_CRITICAL);
+ lpcb->add_time_avg(l_rgw_op_list_buckets_lat, "list_buckets_lat", "List buckets latency", "", PerfCountersBuilder::PRIO_CRITICAL);
}
void add_rgw_topic_counters(PerfCountersBuilder *lpcb) {
lpcb->set_prio_default(PerfCountersBuilder::PRIO_USEFUL);
- lpcb->add_u64(l_rgw_persistent_topic_len, "persistent_topic_len", "Persistent topic queue length");
- lpcb->add_u64(l_rgw_persistent_topic_size, "persistent_topic_size", "Persistent topic queue size");
+ lpcb->add_u64(l_rgw_persistent_topic_len, "persistent_topic_len", "Persistent topic queue length", "", PerfCountersBuilder::PRIO_CRITICAL);
+ lpcb->add_u64(l_rgw_persistent_topic_size, "persistent_topic_size", "Persistent topic queue size", "", PerfCountersBuilder::PRIO_CRITICAL);
}