Add `host` to `DogstatsdConfiguration`

This commit is contained in:
Chris Eager 2024-01-22 14:18:15 -06:00 committed by Chris Eager
parent ffdb0db6c6
commit 55b9d84956
2 changed files with 10 additions and 0 deletions

View File

@ -280,6 +280,7 @@ cdn3StorageManager:
dogstatsd: dogstatsd:
environment: dev environment: dev
host: 127.0.0.1
unidentifiedDelivery: unidentifiedDelivery:
certificate: secret://unidentifiedDelivery.certificate certificate: secret://unidentifiedDelivery.certificate

View File

@ -22,6 +22,10 @@ public class DogstatsdConfiguration implements StatsdConfig {
@NotBlank @NotBlank
private String environment; private String environment;
@JsonProperty
@NotBlank
private String host;
@Override @Override
public Duration step() { public Duration step() {
return 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` // We have no Micrometer key/value pairs to report, so always return `null`
return null; return null;
} }
@Override
public String host() {
return host;
}
} }