mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 00:38:04 +01:00
Include environment/service/version as common metric tags.
This commit is contained in:
committed by
Jon Chambers
parent
5522376584
commit
6cbd57f19f
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user