/grafana-volkovlabs-image-panel

Works. Base64 Image/Video/Audio/PDF Panel for @grafana.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

grafana-volkovlabs-image-panel

🚀 Base64 Image/Video/Audio/PDF Panel for @grafana 🚀

https://github.com/coding-to-music/grafana-volkovlabs-image-panel

From / By https://github.com/VolkovLabs/volkovlabs-image-panel

Environment variables:

user interfaces:

GitHub

git init
git add .
git remote remove origin
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:coding-to-music/grafana-volkovlabs-image-panel.git
git push -u origin main

Base64 Image/Video/Audio/PDF panel for Grafana

Image Panel

Grafana 9 CI codecov CodeQL

Introduction

The Base64 Image/Video/Audio/PDF visualization panel is a plugin for Grafana that displays Base64 encoded files in PNG, JPG, GIF, MP4, WEBM, MP3, OGG, PDF formats.

Images, PDFs, Video, Live Camera Feed on Grafana Dashboard! You will need Base64 Image/PDF Plugin

Requirements

  • Grafana 8.5+, Grafana 9.0+ is required for version 3.X.
  • Grafana 8.0+ is required for version 2.X.
  • Grafana 7.1+ is required for version 1.X.

Getting Started

Base64 Image/Video/Audio/PDF visualization panel can be installed from the Grafana Catalog or utilizing the Grafana command line tool.

For the latter, use the following command.

grafana-cli plugins install volkovlabs-image-panel

Features

  • The returned value can contain base64 with or without definition (data:image/jpg;base64,ENCODED-CONTENT or data:application/pdf;base64,ENCODED-CONTENT).
  • The file type is determined automatically based on the first Base64 symbol if definition is not provided.
  • If the data source returns more than one field with type string, you can select the Field Name in the panel's display options.
  • If the data source returns multiple rows, the panel will display the image from the last row.
  • Image height and width can be auto-adjusted to panel's size, kept original or customized base on the field's value or display's panel options.
  • Allows adding URL with title to navigate to other dashboard when clicking on the image. URL supports dashboard variables.
  • Support MP4, WEBM video files with definition (data:video/mp4;base64,ENCODED-CONTENT and data:video/webm;base64,ENCODED-CONTENT)
  • Support MP3, OGG audio files with definition (data:audio/mp3;base64,ENCODED-CONTENT and data:audio/ogg;base64,ENCODED-CONTENT)

Documentation

Section Description
Data Sources Demonstrates how to retrieve data from data sources.
Supported formats Explains what formats are supported and how to display media files.
Variables Explains how to use Dashboard and Global variables.

Feedback

We love to hear from you. There are various ways to get in touch with us:

  • Ask a question, request a new feature, and file a bug with GitHub issues.
  • Sponsor our open-source plugins for Grafana with GitHub Sponsor.
  • Star the repository to show your support.

License

  • Apache License Version 2.0, see LICENSE.