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

# VictoriaTraces

> Connect your VictoriaTraces with NOFire AI

Connect VictoriaTraces to NOFire AI so NOFire can search your traces when it looks into a problem. NOFire queries VictoriaTraces on demand through its Jaeger query API. It does not copy your traces.

## What NOFire reads

* Traces, searched by service, operation, duration and time window.
* The list of services, and the operations of each service.

NOFire sends only read requests. It does not look up a trace by its ID.

## Prerequisites

* The URL of VictoriaTraces, at its root, without `/select/jaeger`:
  * Single node: the server itself, for example `http://victoriatraces.example.com:10428`.
  * Cluster: vtselect, for example `http://vtselect.example.com:10471`. Use the port you set with `-httpListenAddr`.
  * Behind vmauth: the vmauth route that leads to VictoriaTraces or vtselect.
* A read-only bearer token, if vmauth or another proxy with auth sits in front.

## Connect directly

Use this when NOFire can reach VictoriaTraces over the internet.

1. Open [Connections](https://my.nofire.ai/dashboard/connections) and click **Connect** on **VictoriaTraces**.
2. Fill in the form:
   * **Name**: a name you choose, for example `production`.
   * **URL**: the URL from the prerequisites, for example `http://victoriatraces.example.com:10428`. Use http or https, with no user name, password, query string or fragment in it.
   * **Bearer token** (optional): the token for vmauth or your proxy.
3. Open **Advanced** only if you need it:
   * **Allow a private endpoint**: check it when the URL resolves to a private address. Your account needs private network access for this.
   * **Read through an MCP server**: see [Read through an MCP server](#read-through-an-mcp-server-optional).
4. Click **Connect**. NOFire tests the connection first and saves it only if the test passes.

## Read through an MCP server (optional)

By default NOFire reads the URL. If you run mcp-victoriatraces, the VictoriaTraces MCP server, and want NOFire to read through it, turn on **Read through an MCP server** under **Advanced**. Two fields appear:

* **MCP server URL**: required while the switch is on, for example `https://mcp-victoriatraces.example.com/mcp`.
* **MCP token** (optional): the token for the MCP server.

With the switch on, NOFire searches traces through the MCP server, and the **URL** becomes optional. If you fill it in anyway, NOFire stores it so you can turn the switch off later.

VictoriaTraces cannot go through Edge yet. NOFire must be able to reach the URL, or the MCP server, from the internet.

## Test the connection

NOFire tests the connection when you click **Connect**. The test lists the services VictoriaTraces knows.

| How it reads | What the test checks |
| - | - |
| URL | `traces query API (vt_query_url)` |
| MCP server | `victoriatraces (vt_mcp_url)` |

If the check fails, the message names it, for example `Connection validation failed for traces query API (vt_query_url)`.

After the test passes, ask NOFire a question that needs traces, for example "show me the slowest traces for the checkout service in the last hour". An answer that cites trace IDs shows the connection works end to end.

## Troubleshooting

> [accordion] The test fails with a URL that ends in /select/jaeger
>
> Use the root of VictoriaTraces or vtselect. NOFire adds `/select/jaeger/...` to the URL itself.

> [accordion] The test passes but NOFire finds no traces
>
> No spans reached VictoriaTraces for that service in the window you asked about. Ask NOFire which services VictoriaTraces lists, and check the service name matches.

> [accordion] Adding a URL to a saved connection is refused
>
> A connection that holds a token cannot change where it sends requests. NOFire refuses with "Changing a connection's destination requires recreating the connection". Delete the connection and create it again with the URL.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.