Skip to main content

Install rotel-sdk

The rotel-sdk python package provides type hints for the processor SDK and is intended for use in your IDE of choice. The rotel-sdk should integrate seamlessly with pyright and other Python language servers for type checking and auto-completion.

The best way to get started is to create a new development environment for writing your processors and install rotel-sdk

mkdir /tmp/rotel_processors_example; cd /tmp/rotel_processors_example
python -m venv ./.venv
source ./.venv/bin/activate
pip install rotel-sdk --pre

Modules and Classes Provided

ModuleClasses
rotel_sdk.open_telemetry.common.v1AnyValue, ArrayValue, InstrumentationScope, KeyValue, KeyValueList,
rotel_sdk.open_telemetry.resource.v1Resource
rotel_sdk.open_telemetry.trace.v1ResourceSpans, ScopeSpans, Span, Event, Link, Status
rotel_sdk.open_telemetry.logs.v1ResourceLogs, ScopeLogs, LogRecord
rotel_sdk.open_telemetry.metrics.v1ResourceMetrics, ScopeMetrics, Metric, MetricData, Gauge, Sum, Histogram, ExponentialHistogram, Summary, ExponentialHistogramBuckets, NumberDataPoint, HistogramDataPoint, ExponentialHistogramDataPoint, SummaryDataPoint, ValueAtQuantile, Exemplar, AggregationTemporality, NumberDataPointValue, ExemplarValue