From 6052ca23711769fd500132eba41c140921ac8b07 Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Mon, 3 Jun 2024 11:39:52 +0200 Subject: [PATCH] Added example configurion --- config.example.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 config.example.php diff --git a/config.example.php b/config.example.php new file mode 100644 index 0000000..535fbc3 --- /dev/null +++ b/config.example.php @@ -0,0 +1,13 @@ + [ // Key is being used a prometheus key + 'help' => 'Help text for metric', + 'command' => 'The command to be run', + 'jsonelem' => '0.metric', // The json element where the metric is found (Dot notated) + ], + 'app_demo_metric2' => [ + 'help' => 'Help text for metric', + 'httpurl' => 'http://example.com', // The url to get collected for the metric + 'jsonelem' => '0.metric', + ], +]; \ No newline at end of file