From 5b445c57fea12d68b2f5f45e41d9cbbd5adda26c Mon Sep 17 00:00:00 2001 From: Benjamin Naecker Date: Wed, 10 Jul 2024 23:34:53 +0000 Subject: [PATCH] Moves Maghemite lower-half timeseries to TOML --- oximeter/oximeter/schema/mg-lower.toml | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 oximeter/oximeter/schema/mg-lower.toml diff --git a/oximeter/oximeter/schema/mg-lower.toml b/oximeter/oximeter/schema/mg-lower.toml new file mode 100644 index 0000000000..bcdbbc0d02 --- /dev/null +++ b/oximeter/oximeter/schema/mg-lower.toml @@ -0,0 +1,40 @@ +format_version = 1 + +[target] +name = "mg_lower" +description = """\ +The lower-half of the Oxide Maghemite routing daemon, \ +which syncs routing information to an underlying routing platform, \ +such as a switch ASIC. The routing information may be programmed \ +directly from the control plane, or learned through routing protocols \ +exchanging information with peers.\ +""" +authz_scope = "fleet" +versions = [ + { version = 1, fields = [ "hostname", "rack_id", "sled_id" ] }, +] + +[[metrics]] +name = "routes_blocked_by_link_state" +description = """\ +The current number of routes that cannot be used \ +because the link through which they should be available \ +is not in a usable state\ +""" +units = "count" +datum_type = "u64" +versions = [ + { added_in = 1, fields = [ ] } +] + +[fields.hostname] +type = "string" +description = "The hostname of the machine running the router" + +[fields.rack_id] +type = "uuid" +description = "ID of the rack running the router" + +[fields.sled_id] +type = "uuid" +description = "ID of the sled running the router"