Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kuma-dp) pass query parameters through the metrics hijacker #2124

Merged
merged 1 commit into from
Jun 9, 2021
Merged

fix(kuma-dp) pass query parameters through the metrics hijacker #2124

merged 1 commit into from
Jun 9, 2021

Conversation

jpeach
Copy link
Contributor

@jpeach jpeach commented Jun 8, 2021

Summary

The Envoy Prometheus endpoint supports passing a filtering regex in
the query parameters to limit the set of metrics that are returned.
This feature lets a metrics scraper scrape different sets of metrics
at different intervals.

Full changelog

  • Pass query parameters through the DP metrics endpoint so that metrics scrapers can sample subsets of the available metrics.

Issues resolved

Updates #1755.

Documentation

N/A

Testing

  • Unit tests
  • E2E tests
  • Manual testing on Universal
  • Manual testing on Kubernetes

The Envoy Prometheus endpoint supports passing a filtering regex in
the query parameters to limit the set of metrics that are returned.
This feature lets a metrics scraper scrape different sets of metrics
at different intervals.

This updates #1755.

Signed-off-by: James Peach <james.peach@konghq.com>
@jpeach jpeach requested a review from a team as a code owner June 8, 2021 09:11
@jpeach jpeach merged commit 61a3567 into kumahq:master Jun 9, 2021
@jpeach jpeach deleted the fix/pass-metrics-query-params branch June 9, 2021 22: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.

None yet

2 participants