@Test public void testFromEnv() { System.setProperty(Configuration.JAEGER_SERVICE_NAME, "Test"); assertNotNull(Configuration.fromEnv().getTracer()); }
public static Configuration fromEnv() { return Configuration.fromEnv(getProperty(JAEGER_SERVICE_NAME)); }
Configuration { public static Configuration fromEnv() { return Configuration.fromEnv(getProperty(JAEGER_SERVICE_NAME)); } }
Configuration { public static Configuration fromEnv() { return Configuration.fromEnv(getProperty(JAEGER_SERVICE_NAME)); } Configuration(String serviceName); }
Configuration { public static Configuration fromEnv() { return Configuration.fromEnv(getProperty(JAEGER_SERVICE_NAME)); } Configuration(String serviceName); static Configuration fromEnv(); static Configuration fromEnv(String serviceName); JaegerTracer.Builder getTracerBuilder(); synchronized JaegerTracer getTracer(); synchronized void closeTracer(); Configuration withMetricsFactory(MetricsFactory metricsFactory); Configuration withServiceName(String serviceName); Configuration withReporter(ReporterConfiguration reporterConfig); Configuration withSampler(SamplerConfiguration samplerConfig); Configuration withCodec(CodecConfiguration codecConfig); Configuration withTraceId128Bit(boolean useTraceId128Bit); Configuration withTracerTags(Map<String, String> tracerTags); String getServiceName(); ReporterConfiguration getReporter(); SamplerConfiguration getSampler(); CodecConfiguration getCodec(); MetricsFactory getMetricsFactory(); Map<String, String> getTracerTags(); }
Configuration { public static Configuration fromEnv() { return Configuration.fromEnv(getProperty(JAEGER_SERVICE_NAME)); } Configuration(String serviceName); static Configuration fromEnv(); static Configuration fromEnv(String serviceName); JaegerTracer.Builder getTracerBuilder(); synchronized JaegerTracer getTracer(); synchronized void closeTracer(); Configuration withMetricsFactory(MetricsFactory metricsFactory); Configuration withServiceName(String serviceName); Configuration withReporter(ReporterConfiguration reporterConfig); Configuration withSampler(SamplerConfiguration samplerConfig); Configuration withCodec(CodecConfiguration codecConfig); Configuration withTraceId128Bit(boolean useTraceId128Bit); Configuration withTracerTags(Map<String, String> tracerTags); String getServiceName(); ReporterConfiguration getReporter(); SamplerConfiguration getSampler(); CodecConfiguration getCodec(); MetricsFactory getMetricsFactory(); Map<String, String> getTracerTags(); static final String JAEGER_PREFIX; static final String JAEGER_ENDPOINT; static final String JAEGER_AUTH_TOKEN; static final String JAEGER_USER; static final String JAEGER_PASSWORD; static final String JAEGER_AGENT_HOST; static final String JAEGER_AGENT_PORT; static final String JAEGER_REPORTER_LOG_SPANS; static final String JAEGER_REPORTER_MAX_QUEUE_SIZE; static final String JAEGER_REPORTER_FLUSH_INTERVAL; static final String JAEGER_SAMPLER_TYPE; static final String JAEGER_SAMPLER_PARAM; static final String JAEGER_SAMPLER_MANAGER_HOST_PORT; static final String JAEGER_SERVICE_NAME; static final String JAEGER_TAGS; static final String JAEGER_PROPAGATION; static final String JAEGER_SENDER_FACTORY; static final String JAEGER_TRACEID_128BIT; }