Skip to content

[probes.http] Support creating metrics from HTTP (or any other) response - #841

Merged
manugarg merged 12 commits into
masterfrom
http_metrics
Sep 7, 2024
Merged

manugarg merged 12 commits into
masterfrom
http_metrics

Conversation

@manugarg

@manugarg manugarg commented Sep 1, 2024 •

Copy link
Copy Markdown
Contributor

This is a big change. It revamps how we create metrics from probe output, making it more generic and supporting more formats.

  • Add support for creating metrics from HTTP headers. For example, you can create a content_length metric with a small config change. You can use this to parse custom headers as well, that your target may export.
  • Add support for creating metrics from JSON output. This is very useful as JSON is a commonly used format on web today.

@manugarg

manugarg commented Sep 1, 2024

Copy link
Copy Markdown
Contributor Author

Attempt at implementing #356.

@manugarg
manugarg marked this pull request as draft September 1, 2024 01:57
@manugarg manugarg added this to the v0.13.8 milestone Sep 1, 2024
@manugarg
manugarg marked this pull request as ready for review September 1, 2024 14:20
@manugarg manugarg changed the title [probes.http] Start working on HTTP response metrics [probes.http] Support creating metrics from HTTP responses Sep 7, 2024
@manugarg manugarg changed the title [probes.http] Support creating metrics from HTTP responses [probes.http] Support creating metrics from HTTP (or any other) response Sep 7, 2024
@manugarg
manugarg merged commit 5a62448 into master Sep 7, 2024
@manugarg
manugarg deleted the http_metrics branch September 7, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant