From e2b967214898a2f8a59b363f5d795d0ecb0e9ab4 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 7 Jan 2011 08:09:06 +0100 Subject: [PATCH] src/types.db: Clearly mark the legacy types. The legacy MySQL types are reintroduced because they are required by the v5 upgrade target. --- src/types.db | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/types.db b/src/types.db index 6d0b57a5..e6345ab6 100644 --- a/src/types.db +++ b/src/types.db @@ -4,11 +4,6 @@ apache_connections value:GAUGE:0:65535 apache_idle_workers value:GAUGE:0:65535 apache_requests value:DERIVE:0:U apache_scoreboard value:GAUGE:0:65535 -arc_counts demand_data:DERIVE:0:U, demand_metadata:DERIVE:0:U, prefetch_data:DERIVE:0:U, prefetch_metadata:DERIVE:0:U -arc_l2_bytes read:DERIVE:0:U, write:DERIVE:0:U -arc_l2_size value:GAUGE:0:U -arc_ratio value:GAUGE:0:U -arc_size current:GAUGE:0:U, target:GAUGE:0:U, minlimit:GAUGE:0:U, maxlimit:GAUGE:0:U ath_nodes value:GAUGE:0:65535 ath_stat value:DERIVE:0:U bitrate value:GAUGE:0:4294967295 @@ -179,3 +174,14 @@ voltage value:GAUGE:U:U vs_memory value:GAUGE:0:9223372036854775807 vs_processes value:GAUGE:0:65535 vs_threads value:GAUGE:0:65535 +# +# Legacy types +# (required for the v5 upgrade target) +# +arc_counts demand_data:COUNTER:0:U, demand_metadata:COUNTER:0:U, prefetch_data:COUNTER:0:U, prefetch_metadata:COUNTER:0:U +arc_l2_bytes read:COUNTER:0:U, write:COUNTER:0:U +arc_l2_size value:GAUGE:0:U +arc_ratio value:GAUGE:0:U +arc_size current:GAUGE:0:U, target:GAUGE:0:U, minlimit:GAUGE:0:U, maxlimit:GAUGE:0:U +mysql_qcache hits:COUNTER:0:U, inserts:COUNTER:0:U, not_cached:COUNTER:0:U, lowmem_prunes:COUNTER:0:U, queries_in_cache:GAUGE:0:U +mysql_threads running:GAUGE:0:U, connected:GAUGE:0:U, cached:GAUGE:0:U, created:COUNTER:0:U -- 2.30.2