You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for creating metrics from HTTP probe output #356
Activity
manugarg commentedon Sep 11, 2023
From the discussion on #508, I realized that we can probably go a step further and use HTTP headers for custom metrics as well. Something like:
manugarg commentedon Sep 15, 2023
We can go a step further and provide an option generate metrics from JSON when output is JSON.
manugarg commentedon Sep 10, 2024
This is now down. You can generate metrics from HTTP response headers, JSON, and plain old line based content.
For example, to generate
content_lengthmetric by adding something like the following to yourhttp_probeconfig stanza:manugarg commentedon Sep 10, 2024
You can do even crazier stuff with
json_metric. See examples here:https://cloudprober.org/docs/config/metrics/#cloudprober_metrics_payload_OutputMetricsOptions