google-nomulus/java/google/registry/monitoring/metrics
shikhman 91f8b6da38 Change to metrics to keep track of when the metric value was first set
This CL also adds IncrementableMetric#reset() methods to allow resetting the
value and start timestamp of IncrementableMetrics.

This is necessary because some backends, like Stackdriver, use non-monotonic
changes in cumulative metric values to detect timeseries restarts. Tracking and
re-setting the start timestamp allows users to track mostly monotonic metrics
which may have non-monotonic discontinuities.

See https://cloud.google.com/monitoring/api/ref_v3/rest/v3/TimeSeries#Point for
more details.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=130795229
2016-08-22 14:44:28 -04:00
..
AbstractMetric.java Add StackDriver implementation, in monitoring/metrics package 2016-08-15 17:12:35 -04:00
BUILD Improve StackdriverWriter code 2016-08-22 14:17:38 -04:00
Counter.java Change to metrics to keep track of when the metric value was first set 2016-08-22 14:44:28 -04:00
IncrementableMetric.java Change to metrics to keep track of when the metric value was first set 2016-08-22 14:44:28 -04:00
LabelDescriptor.java Add StackDriver implementation, in monitoring/metrics package 2016-08-15 17:12:35 -04:00
Metric.java Change to metrics to keep track of when the metric value was first set 2016-08-22 14:44:28 -04:00
MetricExporter.java Improve service handling and add unit tests for threading behavior in MetricExporter 2016-08-22 14:43:05 -04:00
MetricMetrics.java Add StackDriver implementation, in monitoring/metrics package 2016-08-15 17:12:35 -04:00
MetricPoint.java Change to metrics to keep track of when the metric value was first set 2016-08-22 14:44:28 -04:00
MetricRegistry.java Add StackDriver implementation, in monitoring/metrics package 2016-08-15 17:12:35 -04:00
MetricRegistryImpl.java Wire in MetricReporter into the backend servlet to publish metrics 2016-08-22 14:07:45 -04:00
MetricReporter.java Improve service handling and add unit tests for threading behavior in MetricExporter 2016-08-22 14:43:05 -04:00
MetricSchema.java Enforce very basic URL-like metric names 2016-08-22 14:11:58 -04:00
MetricWriter.java Add StackDriver implementation, in monitoring/metrics package 2016-08-15 17:12:35 -04:00
package-info.java Add StackDriver implementation, in monitoring/metrics package 2016-08-15 17:12:35 -04:00
SettableMetric.java Add StackDriver implementation, in monitoring/metrics package 2016-08-15 17:12:35 -04:00
StackdriverWriter.java Change to metrics to keep track of when the metric value was first set 2016-08-22 14:44:28 -04:00
StoredMetric.java Change to metrics to keep track of when the metric value was first set 2016-08-22 14:44:28 -04:00
VirtualMetric.java Change to metrics to keep track of when the metric value was first set 2016-08-22 14:44:28 -04:00