Skip to content

http-metrics: Make latency export optional#467

Merged
olix0r merged 1 commit intomasterfrom
ver/http-metrics-optional-latencies
Mar 31, 2020
Merged

http-metrics: Make latency export optional#467
olix0r merged 1 commit intomasterfrom
ver/http-metrics-optional-latencies

Conversation

@olix0r
Copy link
Member

@olix0r olix0r commented Mar 31, 2020

We export raw histograms for all HTTP metrics layers; but in some cases
these values are never consumed. This change modifies the http metrics
Report type to support disabling export of latencies.

This feature is not used yet but will be used in a follow-up.


We can revisit how to skip recording as well, but in order to address linkerd/linkerd2#4215 expediently, I think addressing this only on the report-side is a good stopgap.

We export raw histograms for all HTTP metrics layers; but in some cases
these values are never consumed. This change modifies the http metrics
`Report` type to support disabling export of latencies.

This feature is not used yet but will be used in a follow-up.
@olix0r olix0r requested a review from a team March 31, 2020 18:34
Copy link
Member

@adleong adleong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this continue to record latency histograms, but simply skips rendering them in the metrics payload?

(edit: yes, this is answered in the summary. I am good at reading)

@olix0r
Copy link
Member Author

olix0r commented Mar 31, 2020

@adleong that's right. as i noted in the description, we can figure out if it make sense to go deeper with this, but in the name of expediency, I think this is the right change.

@olix0r olix0r requested a review from a team March 31, 2020 18:50
Copy link
Contributor

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 ⏱️ 📈 👍

@olix0r olix0r merged commit fd3a4ac into master Mar 31, 2020
@olix0r olix0r deleted the ver/http-metrics-optional-latencies branch March 31, 2020 20:45
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Mar 31, 2020
This release restores the `route_actual_response_total` metric, which is
needed for `linkerd routes -o wide`.

---

* Update test certificates (linkerd/linkerd2-proxy#460)
* Use strong_count instead of upgrade on weak Arcs in cache (linkerd/linkerd2-proxy#459)
* Wire authority override coming from discovery (linkerd/linkerd2-proxy#462)
* Update integration tests certs (linkerd/linkerd2-proxy#465)
* Add a `mock-orig-dst` feature flag (linkerd/linkerd2-proxy#466)
* http-metrics: Make latency export optional (linkerd/linkerd2-proxy#467)
* Restore the route_actual_response_total metric (linkerd/linkerd2-proxy#468)
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Mar 31, 2020
This release restores the `route_actual_response_total` metric, which is
needed for `linkerd routes -o wide`.

---

* Update test certificates (linkerd/linkerd2-proxy#460)
* Use strong_count instead of upgrade on weak Arcs in cache (linkerd/linkerd2-proxy#459)
* Wire authority override coming from discovery (linkerd/linkerd2-proxy#462)
* Update integration tests certs (linkerd/linkerd2-proxy#465)
* Add a `mock-orig-dst` feature flag (linkerd/linkerd2-proxy#466)
* http-metrics: Make latency export optional (linkerd/linkerd2-proxy#467)
* Restore the route_actual_response_total metric (linkerd/linkerd2-proxy#468)
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.

3 participants