Class TracesScrapeEndpoint
- java.lang.Object
-
- org.springframework.cloud.sleuth.autoconfig.actuate.TracesScrapeEndpoint
-
@WebEndpoint(id="traces") public class TracesScrapeEndpoint extends Object
@Endpointthat outputs spans in a format that can be scraped by a collector.- Since:
- 3.1.0
- Author:
- Marcin Grzejszczak
-
-
Constructor Summary
Constructors Constructor Description TracesScrapeEndpoint(BufferingSpanReporter bufferingSpanReporter, FinishedSpanWriter finishedSpanWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<Object>spans(TextOutputFormat format)org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<Object>spansSnapshot(TextOutputFormat format)
-
-
-
Constructor Detail
-
TracesScrapeEndpoint
public TracesScrapeEndpoint(BufferingSpanReporter bufferingSpanReporter, FinishedSpanWriter finishedSpanWriter)
-
-
Method Detail
-
spansSnapshot
@ReadOperation(producesFrom=TextOutputFormat.class) public org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<Object> spansSnapshot(TextOutputFormat format)
-
spans
@WriteOperation(producesFrom=TextOutputFormat.class) public org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<Object> spans(TextOutputFormat format)
-
-