Grafana Integration for Uptrace
Loki
Uptrace allows to run Loki queries without leaving the Uptrace UI.
To enable Loki/cLoki integration, add the following lines to uptrace.yml
:
loki:
addr: 'http://localhost:3100'
Once enabled, you should see “LogQL” tab in the UI:
You may also want to check cLokiopen in new window which is like Grafana Loki, but for Clickhouse.
Tempo
You can use Grafana to filter spans and view traces using Tempo API provided by Uptrace. All you need to do is to add Uptrace as a Tempo data source in Grafana:
- Go to Configuration > Data sources.
- Click on the “Add data source” button.
- Click on Tempo.
- As an URL, use
http://localhost:14318
- Add
uptrace-dsn: http://project2_secret_token@localhost:14318/2
HTTP header.