mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 12:06:47 +00:00
Add host to DogstatsdConfiguration
This commit is contained in:
1 parent
ffdb0db6c6
commit
55b9d84956
2 files changed
+10
No files matched your search
@@ -280,6 +280,7 @@ cdn3StorageManager:
|
||||
|
||||
dogstatsd:
|
||||
environment: dev
|
||||
host: 127.0.0.1
|
||||
|
||||
unidentifiedDelivery:
|
||||
certificate: secret://unidentifiedDelivery.certificate
|
||||
|
||||
+9
@@ -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