mirror of
https://github.com/google/nomulus
synced 2026-01-03 11:45:39 +00:00
Resolve some deprecation warnings
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136399461
This commit is contained in:
@@ -218,8 +218,7 @@ public class StackdriverWriter implements MetricWriter {
|
||||
* Registers a metric's {@link MetricDescriptor} with the Monitoring API.
|
||||
*
|
||||
* @param metric the metric to be registered.
|
||||
* @see <a href="Stackdriver MetricDescriptor
|
||||
* API">https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors</a>
|
||||
* @see <a href="https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors">Stackdriver MetricDescriptor API</a>
|
||||
*/
|
||||
@VisibleForTesting
|
||||
MetricDescriptor registerMetric(final google.registry.monitoring.metrics.Metric<?> metric)
|
||||
@@ -327,8 +326,8 @@ public class StackdriverWriter implements MetricWriter {
|
||||
* <p>This method will register the underlying {@link google.registry.monitoring.metrics.Metric}
|
||||
* as a Stackdriver {@link MetricDescriptor}.
|
||||
*
|
||||
* @see <a href="Stackdriver TimeSeries
|
||||
* API">https://cloud.google.com/monitoring/api/ref_v3/rest/v3/TimeSeries</a>
|
||||
* @see <a href="https://cloud.google.com/monitoring/api/ref_v3/rest/v3/TimeSeries">
|
||||
* Stackdriver TimeSeries API</a>
|
||||
*/
|
||||
@VisibleForTesting
|
||||
<V> TimeSeries getEncodedTimeSeries(google.registry.monitoring.metrics.MetricPoint<V> point)
|
||||
|
||||
Reference in New Issue
Block a user