mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 14:08:01 +01:00
Add host to DogstatsdConfiguration
This commit is contained in:
@@ -22,6 +22,10 @@ public class DogstatsdConfiguration implements StatsdConfig {
|
||||
@NotBlank
|
||||
private String environment;
|
||||
|
||||
@JsonProperty
|
||||
@NotBlank
|
||||
private String host;
|
||||
|
||||
@Override
|
||||
public Duration step() {
|
||||
return step;
|
||||
@@ -41,4 +45,9 @@ public class DogstatsdConfiguration implements StatsdConfig {
|
||||
// We have no Micrometer key/value pairs to report, so always return `null`
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String host() {
|
||||
return host;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user