quickwit-datasource

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: AGPL-3.0

README

Quickwit data source for Grafana

The Quickwit data source plugin allows you to query and visualize Quickwit data from within Grafana.

This is currently a work in progress and should be available at the end of May 2023. Stay tuned!

Version compatibility

Grafana v9.x is highly recommended as the data source was only tested on this version.

Installation

For detailed instructions on how to install the plugin on Grafana Cloud or locally, please checkout the Plugin installation docs.

Configuration

With Grafana UI
With a configuration file
apiVersion: 1

datasources:
  - name: Quickwit
    type: quickwit
    database: 'my-index'
    url: http://localhost:7280/api/v1
    jsonData:
      timeField: timestamp
      logMessageField: message
      logLevelField: fields.level

Development

Prerequisites

You need:

Building
Frontend
$ yarn install
$ yarn build

When developing the front, use yarn dev.

Backend
$ mage -v
Start Grafana
$ docker-compose up grafana
Testing
Frontend
$ npm run test
Backend
$ go test -v ./pkg/...

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL