You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+129Lines changed: 129 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,25 @@ Quickwit 0.8 is compatible with 0.4.x and 0.5.x versions.
31
31
32
32
You can either download the plugin manually and unzip it into the plugin directory or use the env variable `GF_INSTALL_PLUGINS` to install it.
33
33
34
+
### 0.5.0 (Latest) for Quickwit 0.8 + Grafana 12.1
35
+
36
+
`GF_INSTALL_PLUGINS` has been deprecated since 12.1. `GF_PLUGINS_PREINSTALL_SYNC` must be used instead
37
+
38
+
Run `grafana` container with the env variable:
39
+
40
+
```bash
41
+
docker run -p 3000:3000 -e GF_PLUGINS_PREINSTALL_SYNC="quickwit-quickwit-datasource@0.5.0@https://github.com/quickwit-oss/quickwit-datasource/releases/download/v0.5.0/quickwit-quickwit-datasource-0.5.0.zip" grafana/grafana run
docker run -p 3000:3000 -e GF_PATHS_PLUGINS=/data/plugins -v ${PWD}/plugins:/data/plugins grafana/grafana run
51
+
```
52
+
34
53
### 0.5.0 (Latest) for Quickwit 0.8 + Grafana 11
35
54
36
55
Run `grafana` container with the env variable:
@@ -102,6 +121,7 @@ To configure the Quickwit datasource, you need to provide the following informat
102
121
- The index name.
103
122
- The log message field name (optional). This is the field displayed in the explorer view.
104
123
- The log level field name (optional). It must be a fast field.
124
+
- The related logs or traces datasource (optional). This enables trace-to-logs and log-to-trace links when logs and traces are stored in separate Quickwit indexes.
105
125
106
126
### With Grafana UI
107
127
@@ -122,6 +142,112 @@ datasources:
122
142
logLevelField: severity_text
123
143
```
124
144
145
+
### Logs and traces in separate indexes
146
+
147
+
When logs and traces are stored in different Quickwit indexes, configure one datasource per index and link them with `logsDatasourceUid` and `tracesDatasourceUid`.
148
+
149
+
```yaml
150
+
apiVersion: 1
151
+
152
+
datasources:
153
+
- name: Quickwit Logs
154
+
uid: quickwit-logs
155
+
type: quickwit-quickwit-datasource
156
+
url: http://localhost:7280/api/v1
157
+
jsonData:
158
+
index: 'otel-logs-v0_9'
159
+
logMessageField: body.message
160
+
logLevelField: severity_text
161
+
tracesDatasourceUid: quickwit-traces
162
+
tracesDatasourceName: Quickwit Traces
163
+
164
+
- name: Quickwit Traces
165
+
uid: quickwit-traces
166
+
type: quickwit-quickwit-datasource
167
+
url: http://localhost:7280/api/v1
168
+
jsonData:
169
+
index: 'otel-traces-v0_9'
170
+
logsDatasourceUid: quickwit-logs
171
+
logsDatasourceName: Quickwit Logs
172
+
```
173
+
174
+
## Traces
175
+
176
+
The query editor has two trace query types:
177
+
178
+
- **Trace search** scans matching spans and returns one row per trace. Use this to find trace IDs by Lucene query, service, operation, status, or attributes.
179
+
- **Traces** returns a full trace frame for Grafana's trace viewer. Use this with a trace ID query such as `trace_id:abc123`.
180
+
181
+
The trace parser expects Quickwit OpenTelemetry trace fields such as:
0 commit comments