/qryn-view

qryn LogQL UI Client :eye:

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

Node.js CI CodeQL

👁️ qryn view

qryn-view is a smart and minimal LogQl, Metrics, Traces and Flux API data explorer developed in React/JS and designed for qryn

qryn-view-demo

Features

Data Sources Settings

  • URL, Headers
  • Basic Auth
  • Quick Setting (clone one setting for all datasources)
  • Use for all (use current setting for all datasources)

Browsers:

  • Logs
  • Metrics
  • Traces
  • Flux (experimental)

Display:

  • Logs & Charts
  • Traces View
  • Table view
  • Link Logs with Traces
  • Split data views
  • Multi query execution
  • Timerange Selector
  • Query History
  • Mobile View
  • 100% Client-Side

Usage

Local development:

Clone Repo

git clone https://github.com/metrico/qryn-view

Install packages

npm install 

Local Build:

Build local clone

npm run build 

Install Serve (npm serve)

sudo npm i -g serve

serve -s build

Releases

check our Qryn View Releases


Use the public client (no data goes through the server) or build and run your own instance

Environment Variables:

  • HOST default: 0.0.0.0
  • PORT default: 8080
  • API_URL default: http://localhost:3100
Example
~/$ HOST=localhost PORT=8080 API_URL=http://qryn-host:3100 npm start

URL Parameters

cLoki-view can be controlled through URL parameters_

param description default
start timestamp Ns now
stop timestamp Ns
isEmbed embed mode false
theme application theme dark
left left panel queries details
right right panel queries details

Query Data (logql, metrics, traces, flux) inside left or right panel

JSON stringifyed and URL encoded

  • id: - query ID
  • idRef - Title for a query
  • expr - query expression (neeeds to be URL encoded)
  • limit - query limit
  • dataSourceType - 'logs', 'metrics', 'traces', 'flux'.
  • dataSourceURL - the datasource API URL.
  • dataSourceId - Data Source Id inside Data Sources Setting

About qryn

Consult the qryn Wiki for a detailed list of the project and its supported features, changelog and API functionality

Acknowledgements

  • (C) 2022 QXIP BV see LICENSE for details