This file contains hidden or 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
| { | |
| "slug": "grafana", | |
| "integrationType": { | |
| "formType": "embed", // embed, link, openAPI, MarkDown, Script, retool | |
| "type": "reporting", //section | |
| "status": "live", // live, preview, deprecated, testing | |
| "nextPage": "", // ovveride the next page in the flow for specific integrations | |
| "language": { | |
| "noun": "report", // report, dashboard, visualization, page, application | |
| "verb": "reporting" // reporting, visualizing, viewing, exploring, analyzing |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| //get your varcel | |
| let outputString=""; | |
| fetch("https://vercel.com/api/v7/projects/[REPO_NAME]/env?decrypt=true", { | |
| "headers": { | |
| "accept": "*/*", | |
| "accept-language": "en-GB,en-US;q=0.9,en;q=0.8", | |
| "authorization": "bearer [AUTH_TOKEN]", //<-- copy token from a prexisting request header | |
| "sec-ch-ua": "\"Chromium\";v=\"94\", \"Google Chrome\";v=\"94\", \";Not A Brand\";v=\"99\"", |
This file contains hidden or 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
| //paste into console when you're in the vars setting and hit return | |
| //e.g. https://console.cloud.google.com/run/deploy/us-central1/[project] | |
| var inputs, index, key =1, outputString=""; | |
| inputs = document.getElementsByTagName('input'); | |
| for (index = 0; index < inputs.length; ++index) { | |
| if(key === 0) { | |
| outputString += inputs[index].value + "="; | |
| key = 1; |
This file contains hidden or 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
| function locationHashChanged() { | |
| let name = location.hash ? location.hash.substring(1) : "about" | |
| document.title = "SITE NAME - " + name | |
| } | |
| window.onhashchange = locationHashChanged; |
This file contains hidden or 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
| var _data = []; | |
| _data.push(['Event Name', 'Count', 'Users']); | |
| $('.event-name').parent().parent().each(function(each){ | |
| var _name = $('.event-name', this).text().trim(); | |
| var _val = $('.data', this).text().split('-'); | |
| var _data_row = _name + ',' + _val.toString(); | |
| _data.push(_data_row.split(',')); | |
| }); |
This file contains hidden or 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
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| background: #fff; | |
| min-height:100%; |