simpletel

v20261130.1601.27-ccc0ac2
io.github.willnewby/simpletel Checked 1 day ago Published 2 days ago

Query your simpletel OpenTelemetry traces and account usage from a coding agent.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_traces

List this team's traces newest-first with filters, as the JSON document `simpletel get traces --format json` produces. Use it to find a failing or slow request, then pass the trace_id to get_trace.

ParameterTypeDescription
errors_onlybooleanonly traces with at least one error span
limitintegermaximum number of traces to return
min_durationstringminimum trace duration such as "250ms"
servicestringexact match on the root span's service.name
sincestringlookback window such as "1h" or "30m" (default "1h")

get_trace

Fetch one trace in full — spans, span events, and correlated log records — as the JSON document `simpletel get trace <id> --format json` produces.

ParameterTypeDescription
trace_id *string32-hex trace id, as returned by get_traces

get_signals

Show this team's Golden Signals over a window — throughput, error rate, latency percentiles, per-service breakdown, and saturation — as the JSON document `GET /api/v1/signals` produces.

ParameterTypeDescription
servicestringexact match on the resource service.name (omit for all services)
sincestringlookback window such as "1h" or "30m" (default: the server's 1h window)

get_logs

List this team's log records newest-first with filters, as the JSON document `simpletel get logs --format json` produces. Use it to see what a service logged, or pass a trace_id to see the log records correlated with one trace.

ParameterTypeDescription
limitintegermaximum number of log records to return
min_severitystringminimum severity as a name (trace|debug|info|warn|error|fatal) or an OTLP severity number
servicestringexact match on the resource service.name (omit for all services)
sincestringlookback window such as "1h" or "30m" (default: 1h)
trace_idstring32-hex trace id; only log records correlated to that trace

get_metrics

List this team's metric points newest-first with filters, as the JSON document `simpletel get metrics --format json` produces. Use it to inspect gauges, sums, histograms, exponential histograms, and summaries by service, metric name, and point type.

ParameterTypeDescription
data_typestringexact OTLP point type
limitintegermaximum number of metric points to return
namestringexact metric name
servicestringexact match on the resource service.name (omit for all services)
sincestringlookback window such as "1h" or "30m" (default: 1h)

verify

Run the `simpletel verify` onboarding check: poll until service <service> has a fresh trace carrying spans from a library instrumentation. Returns the rung report (trace rungs gate; logs/metrics lines are informational) and the exit status the CLI would use (0 verified, 1 deadline miss).

ParameterTypeDescription
service *stringservice.name expected to be sending fresh, library-instrumented traces
timeoutstringgive up after this long, such as "60s" (default "60s")

usage

Show the account's plan, month-to-date records, allowance, and spend cap as the JSON document `simpletel usage --format json` produces.