# openinference-instrumentation-openllmetry

**Python · Instrumentation**

OpenInference OpenLLMetry Instrumentation

- **Module**: `openinference.instrumentation.openllmetry`
- **Version**: 0.1.32
- **Python**: >=3.10, <3.16

[PyPI](https://pypi.org/project/openinference-instrumentation-openllmetry/) · [README](https://github.com/Arize-ai/openinference/blob/main/python/instrumentation/openinference-instrumentation-openllmetry/README.md) · [Source](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-openllmetry)

## Install

```sh
pip install openinference-instrumentation-openllmetry
```

## `openinference.instrumentation.openllmetry`

### `OpenInferenceSpanProcessor`

_class_ · [Source](https://github.com/Arize-ai/openinference/blob/main/python/instrumentation/openinference-instrumentation-openllmetry/src/openinference/instrumentation/openllmetry/_span_processor.py#L431-L596)

```python
class OpenInferenceSpanProcessor(SpanProcessor)
```

SpanProcessor that converts OpenLLMetry spans to OpenInference attributes.

#### `on_end`

_method_ · [Source](https://github.com/Arize-ai/openinference/blob/main/python/instrumentation/openinference-instrumentation-openllmetry/src/openinference/instrumentation/openllmetry/_span_processor.py#L467-L596)

```python
def on_end(span: Any) -> None
```
