Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetTraceHandler ¶
type GetTraceHandler struct {
// contains filtered or unexported fields
}
func NewGetTraceHandler ¶
func NewGetTraceHandler(finder TraceFinder) *GetTraceHandler
func (*GetTraceHandler) Handle ¶
func (h *GetTraceHandler) Handle(c *fiber.Ctx) error
Handle godoc @Summary Get a playground trace @Description Returns the metrics Event captured for a playground request, keyed by the X-AG-Trace-Id returned in the proxy response. Traces expire after a short TTL. @Tags playground @Produce json @Security BearerAuth @Param trace_id path string true "Trace id (X-AG-Trace-Id from the proxy response)" @Success 200 {object} events.Event @Failure 401 {object} helpers.ErrorBody @Failure 404 {object} helpers.ErrorBody @Failure 500 {object} helpers.ErrorBody @Router /v1/playground/traces/{trace_id} [get]