Jeroen De Meerleer
98fa29d900
Refactor HTTP request handling and data extraction
...
- Improved handling of HTTP requests and extraction of response data.
2024-06-03 13:52:02 +02:00
Jeroen De Meerleer
d829ac06b0
Update URI check to include CLI request detection.
...
The code now checks if the request URI is '/metrics' or if the PHP script is running from the command line interface (CLI). This change allows for proper handling of CLI requests in addition to web requests.
2024-06-03 13:51:05 +02:00
Jeroen De Meerleer
1534574e97
Refactor HTTP handling, update Guzzle requests and Twig config.
...
- Refactored HTTP handling to use nested arrays for options
- Updated Guzzle requests based on new array structure
- Adjusted Twig cache configuration in the code
2024-06-03 13:50:56 +02:00
Jeroen De Meerleer
1dfddd64ba
Refactor Guzzle HTTP requests for flexibility and proxy support
...
Restructured Guzzle HTTP requests to allow for additional options like proxy support, enhancing flexibility in handling different types of requests.
2024-06-03 13:33:43 +02:00
Jeroen De Meerleer
bcb0d0b23d
Add handling for HTTP response time metric using GuzzleHttp.
2024-06-03 13:03:31 +02:00
Jeroen De Meerleer
226ec5c6a1
Update handling of value assignment when 'jsonelem' is not set.
...
- Adjusted code to assign $output directly to 'value' if 'jsonelem' is not set.
2024-06-03 13:03:14 +02:00
Jeroen De Meerleer
7c79ea3b6b
Added readme and licence
2024-06-03 11:40:06 +02:00
Jeroen De Meerleer
6052ca2371
Added example configurion
2024-06-03 11:39:52 +02:00
Jeroen De Meerleer
81e145c753
Added the first code
2024-06-03 11:31:15 +02:00
Jeroen De Meerleer
b503cb68b4
Initial commit
2024-06-03 11:22:43 +02:00