Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
suppress-tracing.md971 B
# Suppress Tracing ## How to turn off tracing Tracing can be paused temporarily or disabled permanently. ### Pause tracing using context manager If there is a section of your code for which tracing is not desired, e.g. the document chunking process, it can be put inside the `suppress_tracing` context manager as shown below. ```python from openinference.instrumentation import suppress_tracing with suppress_tracing(): # Code running inside this block doesn't generate traces. # For example, running LLM evals here won't generate additional traces. ... # Tracing will resume outside the block. ... ``` ### Uninstrument the auto-instrumentors permanently Calling `.uninstrument()` on the auto-instrumentors will remove tracing permanently. Below is the examples for LangChain, LlamaIndex and OpenAI, respectively. ```python LangChainInstrumentor().uninstrument() LlamaIndexInstrumentor().uninstrument() OpenAIInstrumentor().uninstrument() # etc. ```

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arize-ai/phoenix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server