> ## Documentation Index
> Fetch the complete documentation index at: https://www.traceloop.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# LLM Observability with Instana and OpenLLMetry

<Frame>
  <img src="https://mintcdn.com/enrolla/-xQ9K52hAYrcQGvz/img/integrations/instana.png?fit=max&auto=format&n=-xQ9K52hAYrcQGvz&q=85&s=440da9f390600f83897496beb1ed360f" width="2984" height="2224" data-path="img/integrations/instana.png" />
</Frame>

With Instana, you can export directly to an Instana Agent in your cluster.

The Instana Agent will report back the tracing and metrics to the Instana Backend and display them on the Instana UI.

If you are running your Instana Agent on a VM or physical machine, do the following to config:

Edit the agent config file `configuration.yaml` under the `/opt/instana/agent/etc/instana` folder.

```
cd /opt/instana/agent/etc/instana
vi configuration.yaml
```

Add the following to the file:

```
com.instana.plugin.opentelemetry:
  enabled: true
  grpc:
    enabled: true
```

Restart the Instana agent:

```
systemctl restart instana-agent.service
```

If you are running Instana Agent on OpenShift or Kubernetes, do the following to config:

In Instana Configmap, add the following content:

```yaml theme={null}
com.instana.plugin.opentelemetry:
  enabled: true
  grpc:
    enabled: true
```

For Instana Daemonset, add the following:

```yaml theme={null}
- mountPath: /opt/instana/agent/etc/instana/configuration-opentelemetry.yaml
  name: configuration
  subPath: configuration-opentelemetry.yaml
```

The Instana agent should be ready for OpenTelemetry data at port 4317.

Then, set this env var, and you're done!

```bash theme={null}
TRACELOOP_BASE_URL=<instana-agent-hostname>:4317
```

Instana now supports MCP Observability. The following span attributes are available for MCP traces :
mcp.method.name
mcp.request.argument
mcp.request.id
mcp.response.value
mcp.session.init\_options

Here is the MCP traces from Instana UI:

<Frame>
  <img src="https://mintcdn.com/enrolla/-xQ9K52hAYrcQGvz/img/integrations/mcpTraces.png?fit=max&auto=format&n=-xQ9K52hAYrcQGvz&q=85&s=0da4830bf137b6a563e3e52cc93ee8c7" width="2898" height="1662" data-path="img/integrations/mcpTraces.png" />
</Frame>
