A custom prometheus exportor
Go to file
Jeroen De Meerleer e004a1002e
Refactor handling of HTTP response data
- Added condition to check status code for response body
- Updated logic for determining presence of response
2024-06-04 07:06:40 +02:00
templates Refactor metric retrieval and display 2024-06-03 23:47:40 +02:00
.gitignore Added the first code 2024-06-03 19:48:39 +02:00
composer.json Added the first code 2024-06-03 19:48:39 +02:00
composer.lock Added the first code 2024-06-03 19:48:39 +02:00
config.example.php Update metric data retrieval configurations with additional details and proxy server setting. 2024-06-03 19:48:39 +02:00
index.php Refactor handling of HTTP response data 2024-06-04 07:06:40 +02:00
LICENCE.md Added readme and licence 2024-06-03 19:48:39 +02:00
README.md Added readme and licence 2024-06-03 19:48:39 +02:00

Custom Prometheus

Copyright (c) 2024- Jeroen De Meerleer me@jeroened.be

A script to add custom prometheus exporters. Output is received from external scripts and urls.

Licence

Copyright (c) 2024- Jeroen De Meerleer <me@jeroened.be>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.