generated from VolkovLabs/volkovlabs-abc-app
-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4ce631
commit 8b9340a
Showing
6 changed files
with
399 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
{ | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": { | ||
"type": "grafana", | ||
"uid": "-- Grafana --" | ||
}, | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"type": "dashboard" | ||
} | ||
] | ||
}, | ||
"editable": true, | ||
"fiscalYearStartMonth": 0, | ||
"graphTooltip": 0, | ||
"links": [ | ||
{ | ||
"asDropdown": false, | ||
"icon": "external link", | ||
"includeVars": false, | ||
"keepTime": false, | ||
"tags": ["business"], | ||
"targetBlank": false, | ||
"title": "Business Suite", | ||
"tooltip": "", | ||
"type": "dashboards", | ||
"url": "" | ||
} | ||
], | ||
"panels": [ | ||
{ | ||
"datasource": { | ||
"name": "Business Input", | ||
"type": "marcusolsson-static-datasource", | ||
"uid": "4ytGZmF4k" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 80 | ||
} | ||
] | ||
} | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 10, | ||
"w": 14, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 5, | ||
"options": { | ||
"afterRender": "", | ||
"content": "```json\n{{{json @root}}}\n```", | ||
"contentPartials": [], | ||
"defaultContent": "# Business Media\n\nThe Business Media panel is a Grafana plugin that renders PNG, JPG, GIF, MP4, WEBM, MP3, OGG, and PDF files encoded in the base64 format.\n\n##\n## Requirements\n\nThe Business Media panel version requirements for Grafana are as follows:\n\n- Business Media panel 6.X requires **Grafana 10** or **Grafana 11**.\n- Business Media panel 5.X requires **Grafana 10** or **Grafana 11**.\n- Base64 Image/PDF panel 4.X requires **Grafana 9** or **Grafana 10**.\n- Base64 Image/PDF panel 3.X requires **Grafana 8.5** or **Grafana 9**.\n- Base64 Image/PDF panel 2.X requires **Grafana 8**.\n- Base64 Image/PDF panel 1.X requires **Grafana 7.1**.\n\n##\n## Getting Started\n\nThe Business Media panel can be installed from the [Grafana Plugins catalog](https://grafana.com/grafana/plugins/volkovlabs-image-panel/) or using the Grafana command line tool.\n\nFor the latter, please use the following command.\n\n```sh\ngrafana cli plugins install volkovlabs-image-panel\n```\n\n##\n## Highlights\n\n- The returned value can include base64 encoded content with or without a specified definition. The formats for the definition can look like `data:image/jpg;base64,ENCODED-CONTENT` or `data:application/pdf;base64,ENCODED-CONTENT`.\n- The file type is automatically determined based on the first base64 symbol if no definition is provided.\n- If the data source returns more than one field of the `string` type, you can select the Field Name in the panel's display options.\n- You can fit image dimensions to the panel size, keep the original values, or adjust dimensions based on the manually supplied values.\n- Allows adding a URL with a title to navigate to other dashboards when clicking the image. URL supports dashboard variables.\n- Support for MP4 and WEBM video files with the definitions (`data:video/mp4;base64,ENCODED-CONTENT` and `data:video/webm;base64,ENCODED-CONTENT`)\n- Support for MP3 and OGG audio files with the efinitions (`data:audio/mp3;base64,ENCODED-CONTENT` and `data:audio/ogg;base64,ENCODED-CONTENT`)\n- Provides a toolbar to download, zoom, and navigate between multiple images.\n", | ||
"editor": { | ||
"format": "auto", | ||
"language": "markdown" | ||
}, | ||
"editors": ["default"], | ||
"externalStyles": [], | ||
"helpers": "", | ||
"renderMode": "data", | ||
"styles": "", | ||
"wrap": true | ||
}, | ||
"pluginVersion": "5.3.0", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "marcusolsson-static-datasource", | ||
"uid": "4ytGZmF4k" | ||
}, | ||
"refId": "A" | ||
} | ||
], | ||
"type": "marcusolsson-dynamictext-panel" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "marcusolsson-static-datasource", | ||
"uid": "4ytGZmF4k" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
} | ||
] | ||
} | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 10, | ||
"w": 10, | ||
"x": 14, | ||
"y": 0 | ||
}, | ||
"id": 6, | ||
"options": { | ||
"afterRender": "import('https://esm.sh/youtube-player').then(({ default: YouTubePlayer }) => {\n const videoList = [\"hLMtsCWPOg8\", \"V4Sza0uDQNs\", \"1_bgLSehjhg\"];\n const randomVideoId = videoList[Math.floor(Math.random() * videoList.length)];\n\n YouTubePlayer('player', { videoId: randomVideoId });\n})", | ||
"content": "<div id=\"player\" style=\"width: 100%\"></div>", | ||
"contentPartials": [], | ||
"defaultContent": "The query didn't return any results.", | ||
"editor": { | ||
"format": "auto", | ||
"language": "html" | ||
}, | ||
"editors": ["afterRender"], | ||
"externalStyles": [], | ||
"helpers": "", | ||
"renderMode": "everyRow", | ||
"styles": "", | ||
"wrap": true | ||
}, | ||
"pluginVersion": "5.3.0", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "marcusolsson-static-datasource", | ||
"uid": "4ytGZmF4k" | ||
}, | ||
"frame": { | ||
"fields": [ | ||
{ | ||
"config": {}, | ||
"name": "URL", | ||
"type": "string", | ||
"values": ["https://www.youtube.com/watch?v=CvLqyY2fQfo"] | ||
} | ||
], | ||
"meta": {}, | ||
"name": "YouTube" | ||
}, | ||
"refId": "A" | ||
} | ||
], | ||
"type": "marcusolsson-dynamictext-panel" | ||
}, | ||
{ | ||
"collapsed": false, | ||
"gridPos": { | ||
"h": 1, | ||
"w": 24, | ||
"x": 0, | ||
"y": 10 | ||
}, | ||
"id": 7, | ||
"panels": [], | ||
"title": "Examples", | ||
"type": "row" | ||
} | ||
], | ||
"refresh": "", | ||
"schemaVersion": 39, | ||
"tags": ["business"], | ||
"templating": { | ||
"list": [] | ||
}, | ||
"time": { | ||
"from": "now-6h", | ||
"to": "now" | ||
}, | ||
"timepicker": {}, | ||
"timezone": "browser", | ||
"title": "Business Media", | ||
"uid": "cdtmkqipv7mdc2", | ||
"version": 1, | ||
"weekStart": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.