Insider.Live.JSON (Insider v0.1.0)

Copy Markdown View Source

Insider.Live operations that each return one canonical JSON binary.

A success is {"ok":...} and a failure is {"error":...}. Object keys are sorted and the output has no insignificant whitespace, so it is stable for machine-readable transports such as a Tidewave project_eval result.

Tidewave project_eval shows how to load Insider into a Phoenix development server and call these functions.

Summary

Functions

Functions

alloc(options \\ %{})

@spec alloc(map()) :: binary()

See Insider.Live.alloc/1.

amend(session_id, options)

@spec amend(String.t(), map()) :: binary()

See Insider.Live.amend/2.

baseline(session_id, options \\ %{})

@spec baseline(String.t(), map()) :: binary()

See Insider.Live.baseline/2.

bin_leak(options \\ %{})

@spec bin_leak(map()) :: binary()

See Insider.Live.bin_leak/1.

capabilities()

@spec capabilities() :: binary()

See Insider.Live.capabilities/0.

changes(session_id, options \\ %{})

@spec changes(String.t(), map()) :: binary()

See Insider.Live.changes/2.

digest(session_id, options \\ %{})

@spec digest(String.t(), map()) :: binary()

See Insider.Live.digest/2.

discover(options \\ %{})

@spec discover(map()) :: binary()

See Insider.Live.discover/1.

events_since(session_id, cursor, options \\ %{})

@spec events_since(String.t(), non_neg_integer() | String.t(), map()) :: binary()

See Insider.Live.events_since/3.

handoff_record(session_id)

@spec handoff_record(String.t()) :: binary()

See Insider.Live.handoff_record/1.

ingest_spans(session_id, spans)

@spec ingest_spans(String.t(), [map()]) :: binary()

See Insider.Live.ingest_spans/2.

mark(session_id, options)

@spec mark(String.t(), map()) :: binary()

See Insider.Live.mark/2.

marks(session_id, options \\ %{})

@spec marks(String.t(), map()) :: binary()

See Insider.Live.marks/2.

mutations(session_id, options \\ %{})

@spec mutations(String.t(), map()) :: binary()

See Insider.Live.mutations/2.

ports(options \\ %{})

@spec ports(map()) :: binary()

See Insider.Live.ports/1.

process(options)

@spec process(map()) :: binary()

See Insider.Live.process/1.

renew(session_id)

@spec renew(String.t()) :: binary()

See Insider.Live.renew/1.

report(options)

@spec report(map()) :: binary()

See Insider.Live.report/1.

reports()

@spec reports() :: binary()

See Insider.Live.reports/0.

start(options)

@spec start(map()) :: binary()

See Insider.Live.start/1.

status(session_id)

@spec status(String.t()) :: binary()

See Insider.Live.status/1.

stop(session_id, options \\ %{})

@spec stop(String.t(), map()) :: binary()

See Insider.Live.stop/2.

subscribe(session_id, pid, options \\ %{})

@spec subscribe(String.t(), pid(), map()) :: binary()

See Insider.Live.subscribe/3.

timeline(session_id, options)

@spec timeline(String.t(), map()) :: binary()

See Insider.Live.timeline/2.

trace(session_id, trace_id, options \\ %{})

@spec trace(String.t(), String.t(), map()) :: binary()

See Insider.Live.trace/3.

trends(session_id, options \\ %{})

@spec trends(String.t(), map()) :: binary()

See Insider.Live.trends/2.

unsubscribe(session_id, pid)

@spec unsubscribe(String.t(), pid()) :: binary()

See Insider.Live.unsubscribe/2.

welcome(options \\ %{})

@spec welcome(map()) :: binary()

See Insider.Live.welcome/1.