prometheus-community / json_exporter

A prometheus exporter which scrapes remote JSON by JSONPath
Apache License 2.0
638 stars 197 forks source link

Update example config.yml with valid status code examples #321

Closed vaslari closed 3 months ago

vaslari commented 3 months ago

Modified the valid_status_codes list to include both standard HTTP status codes and custom status codes. The new configuration now includes [200, 201, 202, 800, 801, 802].

This way is more explanatory and declarative at first sight.