Setup & Integrations
Observability
VictoriaLogs
connect resolve ai to victoriametrics to query logs either from the cloud ui for from the resolve satellite https //docs resolve ai/resolve satellite connect from the resolve ui log in to the resolve ai app https //app0 resolve ai https //app0 resolve ai open the integrations page https //app0 resolve ai/integrations https //app0 resolve ai/integrations click add connection name the connection, ex production victorialogs pick environments resolve should query, ex production and staging enter the url for your victoriametrics instance optional use advanced settings to specify authentication details recommended in victoriametrics, create a read only api key victorialogs api key in resolve ai open victorialogs https //app0 resolve ai/integrations/victorialogs , click edit, and open advanced settings auth type pick bearer token enter your api key victorialogs auth in resolve ai click save at the bottom of the page connect from the resolve satellite before setting up this integration, ensure the resolve satellite https //docs resolve ai/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 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 integrations victoriametricsintegration type prometheus create true connection url "\<your victoriametrics url>" 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 resolve ai's docker hub repository for the helm chart and satellite image apply config to satellite and redeploy helm upgrade install oci //registry 1 docker io/resolveaihq/satellite chart version \<latestchart> values resolve values yaml set image tag=\<latestimage> once your satellite is deployed, we will automatically create an integration instance for you verify your integration status in resolve ai login to https //app0 resolve ai/ 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 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 apiversion v1 kind secret type opaque metadata name vm resolve access token stringdata token "\<your auth token>" 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 docid\ phiyhng4uh0d ukhtfual for detailed guidance to apply the secret run apply secret kubectl apply f vm resolve access token yml 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 integrations victoriametricsintegration type prometheus create true connection url "\<your victoriametrics url>"