> For the complete documentation index, see [llms.txt](https://archivedocs.stackstate.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://archivedocs.stackstate.com/5.1/stackpacks/integrations/opentelemetry/manual-instrumentation/prerequisites.md). Agents can also search and read this documentation through its [MCP server](https://archivedocs.stackstate.com/~gitbook/mcp).

# Prerequisites

StackState Self-hosted v5.1.x

To set up a OpenTelemetry manual instrumentations, you need to have:

* [StackState Agent](https://archivedocs.stackstate.com/5.1/setup/agent/about-stackstate-agent.md) v2.17 (or later)
* [Traces enabled](https://archivedocs.stackstate.com/5.1/setup/agent/advanced-agent-configuration.md#enable-traces) on StackState Agent. If traces aren't enabled on the Agent, OpenTelemetry won't generate any data.
* The [Agent StackPack](https://archivedocs.stackstate.com/5.1/stackpacks/integrations/agent.md) should be installed in StackState.
