Class TracesScrapeEndpoint
java.lang.Object
org.springframework.cloud.sleuth.autoconfig.actuate.TracesScrapeEndpoint
@Endpoint that outputs spans in a format that can be scraped by a
collector.- Since:
- 3.1.0
- Author:
- Marcin Grzejszczak
-
Constructor Summary
ConstructorsConstructorDescriptionTracesScrapeEndpoint(BufferingSpanReporter bufferingSpanReporter, FinishedSpanWriter finishedSpanWriter) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.endpoint.web.WebEndpointResponse<Object>spans(TextOutputFormat format) org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<Object>spansSnapshot(TextOutputFormat format)
-
Constructor Details
-
TracesScrapeEndpoint
public TracesScrapeEndpoint(BufferingSpanReporter bufferingSpanReporter, FinishedSpanWriter finishedSpanWriter)
-
-
Method Details
-
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)
-