Include environment/service/version as common metric tags.

This commit is contained in:
Jon Chambers
2021-06-04 18:01:14 -04:00
committed by Jon Chambers
parent 5522376584
commit 6cbd57f19f
2 changed files with 21 additions and 7 deletions

View File

@@ -20,6 +20,10 @@ public class DatadogConfiguration {
@NotNull
private Duration step = Duration.ofSeconds(10);
@JsonProperty
@NotBlank
private String environment;
public String getApiKey() {
return apiKey;
}
@@ -27,4 +31,8 @@ public class DatadogConfiguration {
public Duration getStep() {
return step;
}
public String getEnvironment() {
return environment;
}
}