mirror of
https://github.com/google/nomulus.git
synced 2025-05-01 20:47:52 +02:00
The metrics are collected in a new handler (BackendMetricsHandler), which gets outbound FullHttpRequest and inbound FullHttpResponse. All metrics collected here are backend metrics, i. e. metrics about connection between the proxy and GAE. They also corresponds to the metrics that we are correctly collection from the [] proxy, minus a few that are related to quota management, which are yet to be implemented. This CL also removed some unnecessary steps to write the frontend protocol name and client hash certificate into backend channel attributes. Instead, BackendMetricsHandler will read these information from the frontend channel attributes directly. This is because backend channel is established after frontend channel, and reading frontend channel attributes from backend handlers always works. On the other hand, there is no easy way to guarantee that the backend channel attributes are writable from frontend handlers, because the channel itself may not have been fully established. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174513334 |
||
---|---|---|
.. | ||
AbstractMetricSubject.java | ||
BUILD | ||
DistributionMetricSubject.java | ||
LongMetricSubject.java |