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

# VictoriaMetrics Integration

> Integrate Annie with VictoriaMetrics for unified observability and intelligent investigation.

# VictoriaMetrics Integration

VictoriaMetrics integration enables Annie to ingest logs and metrics, providing a unified, intelligent view of your infrastructure's health and performance.

## Setup Guide

1. Go to the [Anyshift integrations page](https://app.anyshift.io/integrations)
2. Navigate to the Monitoring section
3. Select **VictoriaMetrics**
4. Enter your **VictoriaMetrics Instance URL**
5. Provide an **API Key** or **API Token** with read access.
6. Click **Connect**

For self-hosted instances not publicly exposed, you can use a [Cloudflare Tunnel](https://www.cloudflare.com/products/tunnel/) to securely connect your VictoriaMetrics instance to Anyshift without exposing it to the internet.

## How It Works

Once connected, Anyshift automatically ingests logs and metrics from VictoriaMetrics. When an incident occurs, Annie’s AI agent:

* Correlates VictoriaMetrics logs and metrics with your resource graph
* Traces request chains across services
* Surfaces root causes and actionable insights
* Reduces the need to manually jump between dashboards
