memcached_ops value:DERIVE:0:U
memory value:GAUGE:0:281474976710656
multimeter value:GAUGE:U:U
-mutex mutex_miss:COUNTER:0:U
+mutex_operations value:DERIVE:0:U
mysql_commands value:DERIVE:0:U
mysql_handler value:DERIVE:0:U
mysql_locks value:DERIVE:0:U
za_submit_gauge ("cache_ratio", type_instance, ratio);
}
-static void za_submit_mutex_counts (derive_t mutex_miss)
-{
- value_t values[1];
-
- values[0].counter = mutex_miss;
-
- za_submit ("mutex", "counts", values, STATIC_ARRAY_SIZE(values));
-}
-
static void za_submit_deleted_counts (derive_t deleted)
{
value_t values[1];
za_submit_gauge ("cache_size", "arc", arc_size);
za_submit_gauge ("cache_size", "L2", l2_size);
- mutex_miss = get_kstat_value(ksp, "mutex_miss");
+ mutex_miss = get_kstat_value (ksp, "mutex_miss");
+ za_submit_derive ("mutex_operation", "miss", mutex_miss);
deleted = get_kstat_value(ksp, "deleted");
za_submit ("io_octets", "L2", l2_io, /* num values = */ 2);
- za_submit_mutex_counts (mutex_miss);
-
za_submit_deleted_counts (deleted);
za_submit_hash_counts (deleted);