Added example configurion
This commit is contained in:
parent
5d76b42c23
commit
418b170bc6
13
config.example.php
Normal file
13
config.example.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$config = [
|
||||
'app_demo_metric1' => [ // 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',
|
||||
],
|
||||
];
|
Loading…
Reference in New Issue
Block a user