View source: R/telemetry_ingest.R
| read_otel_json | R Documentation |
Reads OpenTelemetry Protocol (OTLP) JSON files containing span data from Shiny 1.12+ applications. Extracts spans from the nested OTLP structure and converts them to bidux event schema.
read_otel_json(path)
path |
Path to OTLP JSON file |
Data frame with bidux event schema (converted from spans)
## Not run:
events <- read_otel_json("otel_spans.json")
names(events)
# [1] "timestamp" "session_id" "event_type" "input_id" "value" "error_message"
# [7] "output_id" "navigation_id"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.