@ConfigurationProperties(value="spring.zipkin") public class ZipkinProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ZipkinProperties.Compression
When enabled, spans are gzipped before sent to the zipkin server
|
static class |
ZipkinProperties.Locator |
static class |
ZipkinProperties.Service
When set will override the default
spring.application.name value of the service id |
| Constructor and Description |
|---|
ZipkinProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUrl() |
ZipkinProperties.Compression |
getCompression() |
int |
getFlushInterval() |
ZipkinProperties.Locator |
getLocator() |
ZipkinProperties.Service |
getService() |
boolean |
isEnabled() |
void |
setBaseUrl(String baseUrl) |
void |
setCompression(ZipkinProperties.Compression compression) |
void |
setEnabled(boolean enabled) |
void |
setFlushInterval(int flushInterval) |
void |
setLocator(ZipkinProperties.Locator locator) |
void |
setService(ZipkinProperties.Service service) |
public ZipkinProperties.Locator getLocator()
public String getBaseUrl()
public boolean isEnabled()
public int getFlushInterval()
public ZipkinProperties.Compression getCompression()
public ZipkinProperties.Service getService()
public void setBaseUrl(String baseUrl)
public void setEnabled(boolean enabled)
public void setFlushInterval(int flushInterval)
public void setCompression(ZipkinProperties.Compression compression)
public void setService(ZipkinProperties.Service service)
public void setLocator(ZipkinProperties.Locator locator)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.