@WebEndpoint(id="traces") public class TracesScrapeEndpoint extends Object
@Endpoint that outputs spans in a format that can be scraped by a
collector.| Constructor and Description |
|---|
TracesScrapeEndpoint(BufferingSpanReporter bufferingSpanReporter,
FinishedSpanWriter finishedSpanWriter) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<Object> |
spans(TextOutputFormat format) |
org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<Object> |
spansSnapshot(TextOutputFormat format) |
public TracesScrapeEndpoint(BufferingSpanReporter bufferingSpanReporter, FinishedSpanWriter finishedSpanWriter)
@ReadOperation(producesFrom=TextOutputFormat.class) public org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<Object> spansSnapshot(TextOutputFormat format)
@WriteOperation(producesFrom=TextOutputFormat.class) public org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<Object> spans(TextOutputFormat format)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.