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 55b9d84956
2 files changed
+10

No files matched your search

@@ -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;
}
}