TimelessTracesDashboard.DataPlane.Client (timeless_traces_dashboard v0.3.18)

Copy Markdown View Source

Complete-response client for the native traces dashboard API.

The adapter owns no storage connection. It buffers one bounded HTTP response, decodes it once, validates every returned span, and publishes either the complete operation or one error.

Summary

Functions

search(filters, opts \\ [])

@spec search(keyword(), keyword()) ::
  {:ok, TimelessTraces.Result.t()} | {:error, term()}

stats(opts \\ [])

@spec stats(keyword()) :: {:ok, map()} | {:error, term()}

trace(trace_id, opts \\ [])

@spec trace(
  String.t(),
  keyword()
) :: {:ok, [TimelessTraces.Span.t()]} | {:error, term()}