We're experiencing the same issue in related issue #24 and probably #258 but with another field (user in this case).
Clients sending invalid json values showing up in any string field of the status json will break the exporter.
eg:
Sending: user: my\small\windows\value
Would trigger the following errors in the exporter:
Feb 15 01:02:18 prometheus-php-fpm[1451]: time="2023-02-15T01:02:18Z" level=error msg="invalid character 's' in string escape code"
Feb 15 01:02:18 prometheus-php-fpm[1451]: time="2023-02-15T01:02:18Z" level=error msg="Error scraping PHP-FPM: invalid character 's' in string escape code"
Hi all! :wave:
We're experiencing the same issue in related issue #24 and probably #258 but with another field (
user
in this case). Clients sending invalid json values showing up in any string field of the status json will break the exporter.eg:
Sending:
user: my\small\windows\value
Would trigger the following errors in the exporter: