mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Refactor Stackdriver-over-REST specific code to a different package
Downstream users who use gRPC rather than REST don't want to pull down rest-related dependencies. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145834701
This commit is contained in:
parent
bfc4841761
commit
3f9c53b850
10 changed files with 12 additions and 1127 deletions
|
@ -17,6 +17,7 @@ package google.registry.monitoring.metrics;
|
|||
import static com.google.common.base.Preconditions.checkArgument;
|
||||
|
||||
import com.google.auto.value.AutoValue;
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
|
||||
/** The description of a metric's schema. */
|
||||
|
@ -36,7 +37,8 @@ public abstract class MetricSchema {
|
|||
* code as a label. If labels are set, corresponding label values must be provided when values
|
||||
* are set. The set of labels may be empty.
|
||||
*/
|
||||
static MetricSchema create(
|
||||
@VisibleForTesting
|
||||
public static MetricSchema create(
|
||||
String name,
|
||||
String description,
|
||||
String valueDisplayName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue