Add host to DogstatsdConfiguration

This commit is contained in:
Chris Eager authored and Chris Eager committed 2024-01-22 15:59:52 -06:00
1 parent ffdb0db6c6
commit a971bd3f01
2 files changed
+10

No files matched your search

+1
View File
@@ -280,6 +280,7 @@ cdn3StorageManager:
dogstatsd:
environment: dev
host: 127.0.0.1
unidentifiedDelivery:
certificate: secret://unidentifiedDelivery.certificate
@@ -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;
}
}