mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Resolve some deprecation warnings
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136399461
This commit is contained in:
parent
1f5a8d5542
commit
cbe6d2b520
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue