Skip to main content
Connect ResolveAI to VictoriaMetrics to query logs either from the Cloud UI for from the Resolve Satellite.

Connect from the Resolve UI

  1. Log in to the ResolveAI app https://app0.resolve.ai
  2. Open the integrations page https://app0.resolve.ai/integrations
  3. Click Add Connection
  4. Name the connection, ex Production VictoriaLogs
  5. Pick Environments Resolve should query, ex. production and staging
  6. Enter the URL for your VictoriaMetrics instance
  7. Optional: Use Advanced Settings to specify authentication details
Recommended:
  1. In VictoriaMetrics, create a read-only API key.

VictoriaLogs API Key

  1. In ResolveAI open VictoriaLogs, click Edit, and open Advanced Settings.
  2. Auth Type pick bearer.
  3. Token enter your API key.

VictoriaLogs Auth in ResolveAI

  1. Click Save at the bottom of the page.

Connect from the Resolve Satellite

Before setting up this integration, ensure the Resolve Satellite is installed in your environment. Below is an example of how to setup the integration in the satellite with a Kubernetes secret (potentially backed by an AWS secret manager or another mechanism) for authentication if you are running VictoriaMetrics Enterprise.
1

Configure your integration in the Resolve Satellite

Update your helm values override file with the following information (e.g.: resolve-values.yaml)
resolve-values.yaml
Install the satellite and apply the values from the yaml file that you have just updated. e.g.: resolve-values.yaml. To find the latest version, visit ResolveAI’s docker hub repository for the helm chart and satellite image.
apply config to satellite and redeploy
Once your satellite is deployed, we will automatically create an integration instance for you.
2

Verify your integration status in ResolveAI

Login to https://app0.resolve.ai/. Go to the integrations page and and select “Prometehus”You should see an automatically created integration based on the provided configuration.

Authentication for VictoriaMetrics Enterprise

Note: If you are using VictoriaMetrics Enterprise follow the example below, to setup an auth token for the integration.
1

Create a Kubernetes secret

Create a Kubernetes secret of the following form. Note that the structure of the secret is important. Set the top-level key “token” and put your actual token in the value.
secret creation
Security Best Practice: Never store credentials in plaintext in configuration files or source control. Always use Kubernetes secrets and encrypt etcd or use enterprise secret management systems. See Secret Management for detailed guidance.
To apply the secret run
apply secret
2

Use the token in your configuration (as shown above)

Update your helm values override file with the following information (e.g.: resolve-values.yaml)
resolve-values.yaml