# OpenTelemetry R API

## Documentation for package ‘otel’ version 0.2.0

- DESCRIPTION file
- Package NEWS
- Package README

## Help Pages

as_attributes | R objects as OpenTelemetry attributes
counter_add | Increase an OpenTelemetry counter
default_tracer_name | Default tracer name (and meter and logger name) for an R package
end_span | End an OpenTelemetry span
Environment Variables | Environment variables to configure otel
extract_http_context | Extract a span context from HTTP headers received from a client
gauge_record | Record a value of an OpenTelemetry gauge
Getting Started | Getting Started
gettingstarted | Getting Started
get_active_span | Returns the active span, if any
get_active_span_context | Returns the active span context
get_default_logger_provider | Get the default logger provider
get_default_meter_provider | Get the default meter provider
get_default_tracer_provider | Get the default tracer provider
get_logger | Get a logger from the default logger provider
get_meter | Get a meter from the default meter provider
get_tracer | Get a tracer from the default tracer provider
histogram_record | Record a value of an OpenTelemetry histogram
invalid_span_id | OpenTelemetry tracing constants
invalid_trace_id | OpenTelemetry tracing constants
is_logging_enabled | Check whether OpenTelemetry logging is active
is_measuring_enabled | Check whether OpenTelemetry metrics collection is active
is_tracing_enabled | Check if tracing is active
local_active_span | Activate an OpenTelemetry span for an R scope
log | Log an OpenTelemetry log message
log_debug | Log an OpenTelemetry log message
log_error | Log an OpenTelemetry log message
log_fatal | Log an OpenTelemetry log message
log_info | Log an OpenTelemetry log message
log_severity_levels | OpenTelemetry log severity levels
log_trace | Log an OpenTelemetry log message
log_warn | Log an OpenTelemetry log message
meter_provider_noop | No-op Meter Provider
OTEL_ATTRIBUTE_COUNT_LIMIT | R objects as OpenTelemetry attributes
OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT | R objects as OpenTelemetry attributes
otel_counter | OpenTelemetry Counter Object
OTEL_ENV | Environment variables to configure otel
otel_gauge | OpenTelemetry Gauge Object
otel_histogram | OpenTelemetry Histogram Object
otel_logger | OpenTelemetry Logger Object
otel_logger_provider | OpenTelemetry Logger Provider Object
OTEL_LOGS_EXPORTER | Environment variables to configure otel
otel_meter | OpenTelemetry Meter Object
otel_meter_provider | OpenTelemetry meter provider objects
OTEL_METRICS_EXPORTER | Environment variables to configure otel
OTEL_R_EMIT_SCOPES | Environment variables to configure otel
OTEL_R_INSTRUMENT_PKGS | Zero Code Instrumentation
OTEL_R_LOGS_EXPORTER | Environment variables to configure otel
OTEL_R_METRICS_EXPORTER | Environment variables to configure otel
OTEL_R_SUPPRESS_SCOPES | Environment variables to configure otel
OTEL_R_TRACES_EXPORTER | Environment variables to configure otel
otel_span | OpenTelemetry Span Object
otel_span_context | An OpenTelemetry Span Context object
otel_tracer | OpenTelemetry Tracer Object
otel_tracer_name | Default tracer name (and meter and logger name) for an R package
otel_tracer_provider | OpenTelemetry Tracer Provider Object
OTEL_TRACES_EXPORTER | Environment variables to configure otel
otel_up_down_counter | OpenTelemetry Up-Down Counter Object
pack_http_context | Pack the currently active span context into standard HTTP OpenTelemetry headers
setup_default_logger_provider | Get the default logger provider
setup_default_meter_provider | Get the default meter provider
setup_default_tracer_provider | Get the default tracer provider
span_kinds | OpenTelemetry tracing constants
span_status_codes | OpenTelemetry tracing constants
start_local_active_span | Start and activate a span
start_span | Start an OpenTelemetry span.
tracer_provider_noop | No-op tracer provider
tracing-constants | OpenTelemetry tracing constants
up_down_counter_add | Increase or decrease an OpenTelemetry up-down counter
with_active_span | Evaluate R code with an active OpenTelemetry span
Zero Code Instrumentation | Zero Code Instrumentation