# BaseInstrumentor

> **Class** in `langchain_azure_ai`

📖 [View in docs](https://reference.langchain.com/python/langchain-azure-ai/callbacks/tracers/auto_instrument/BaseInstrumentor)

Fallback base class when opentelemetry instrumentation is unavailable.

## Signature

```python
BaseInstrumentor()
```

## Methods

- [`instrument()`](https://reference.langchain.com/python/langchain-azure-ai/callbacks/tracers/auto_instrument/BaseInstrumentor/instrument)
- [`uninstrument()`](https://reference.langchain.com/python/langchain-azure-ai/callbacks/tracers/auto_instrument/BaseInstrumentor/uninstrument)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-azure/blob/7a6a664d617264df8dcb12fcfb1bacc09f21d504/libs/azure-ai/langchain_azure_ai/callbacks/tracers/auto_instrument.py#L29)