google-nomulus/java/google/registry/monitoring/metrics
jianglai a6f0ab1429 Collect proxy backend metrics
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
2017-11-07 17:43:25 -05:00
..
contrib Collect proxy backend metrics 2017-11-07 17:43:25 -05:00
stackdriver Remove @Inject annotation in StackDriverWriter 2017-10-04 16:16:45 -04:00
AbstractMetric.java Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
BUILD Refactor Stackdriver-over-REST specific code to a different package 2017-01-30 15:03:53 -05:00
Counter.java Record a version of EPP metrics with TLD for domain commands 2017-10-05 11:47:31 -04:00
CustomFitter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Distribution.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DistributionFitter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EventMetric.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
ExponentialFitter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FibonacciFitter.java Change FibonacciFitter to just be a utility method 2017-06-14 10:31:29 -04:00
ImmutableDistribution.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
IncrementableMetric.java Fix typo 2017-10-04 16:16:45 -04:00
LabelDescriptor.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
LinearFitter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Metric.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
MetricExporter.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
MetricMetrics.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
MetricPoint.java Add Truth subjects for incrementable and event metrics 2017-03-07 13:46:38 -05:00
MetricRegistry.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
MetricRegistryImpl.java Add a convenience method to clear all registered metrics 2017-11-07 17:34:36 -05:00
MetricReporter.java Remove unnecessary explicit generic type declarations 2017-11-07 17:11:29 -05:00
MetricSchema.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
MetricsUtils.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
MetricWriter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
MutableDistribution.java Allow EventSample.record to accept numSamples=0 2017-10-05 11:41:59 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
SettableMetric.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
StoredMetric.java Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
VirtualMetric.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00