Commit Diff


commit - 234f6a5ae752165729a40ff12448387f12d57ae8
commit + 64c44899f96ed7d0340507b1d3f310b198f04b39
blob - 7ce02769dc850a2f922a30887b7724c6ce55b5c3
blob + 9bad03daa9c5ffc138b9b6010f770679b586abf6
--- src/metrics.rs
+++ src/metrics.rs
@@ -39,16 +39,16 @@ static DESCRIPTORS: &[u8] = concat!(
     "# HELP s6_service_status Status of the service.\n",
     "# TYPE s6_service_pid gauge\n",
     "# HELP s6_service_pid Process id of the service.\n",
-    "# TYPE s6_service_exit_code stateset\n",
-    "# HELP s6_service_exit_code Exit code of the service.\n",
-    "# TYPE s6_service_signal_number stateset\n",
-    "# HELP s6_service_signal_number Signal number of the service.\n",
     "# TYPE s6_service_up_down_since_seconds gauge\n",
     "# HELP s6_service_up_down_since_seconds Since the service was up or down.\n",
     "# UNIT s6_service_up_down_since_seconds seconds\n",
     "# TYPE s6_service_ready_since_seconds gauge\n",
     "# HELP s6_service_ready_since_seconds Since the service was ready.\n",
     "# UNIT s6_service_ready_since_seconds seconds\n",
+    "# TYPE s6_service_exit_code stateset\n",
+    "# HELP s6_service_exit_code Exit code of the service.\n",
+    "# TYPE s6_service_signal_number stateset\n",
+    "# HELP s6_service_signal_number Signal number of the service.\n",
 )
 .as_bytes();