Grafana Loki is a log aggregation system designed to store and query logs from all your applications and infrastructure.
env0 has the ability to send all of your deployment logs directly to Grafana Loki.
In order to set up Granfana Loki you will need to get the following data:
- The Host URL
- Authorization username and password
If you're using Grafana Cloud follow these steps to get the relevant data:
- On the left side menu, go to the
Data Sourceand click on the
- In the
Settingstab under the
HTTPsection get the
- In the
Basic Auth Detailsget the
- The URL should be the URL where
Lokiis deployed e.g
- The username and password of the Loki server if it requires basic authentication.
In the env0 platform you will need to configure the following environment variables in any scope you would like to have them:
|Environment variable name||Description||Mandatory|
|The URL where Loki is located||Yes|
|The Username for authentication||No|
|The Password for authentication||No|
By default we are adding a label called
appwith a value of
Updated 7 months ago