com.github.dikhan.dropwizard.TraceHeadersApplicationConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-header-metric Show documentation
Show all versions of dropwizard-header-metric Show documentation
Create metrics and send it to the preferable reporter if request header matches any of the headers
configured to be measured.
The newest version!
package com.github.dikhan.dropwizard;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.dikhan.dropwizard.headermetric.TraceHeadersBundleConfiguration;
import io.dropwizard.Configuration;
public class TraceHeadersApplicationConfiguration extends Configuration {
@JsonProperty("traceHeaders")
private TraceHeadersBundleConfiguration traceHeadersBundleConfiguration;
public TraceHeadersBundleConfiguration getTraceHeadersBundleConfiguration() {
return traceHeadersBundleConfiguration;
}
public void setTraceHeadersBundleConfiguration(TraceHeadersBundleConfiguration traceHeadersBundleConfiguration) {
this.traceHeadersBundleConfiguration = traceHeadersBundleConfiguration;
}
}