Grafana k6 Browser Recorder

Grafana k6 Browser Recorder

Record k6 scripts right from the browser with the ability to automatically upload them to Grafana Cloud.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Grafana k6 Browser Recorder",
  "version": "1.0.1",
  "manifest_version": 3,
  "description": "Record k6 scripts right from the browser with the ability to automatically upload them to Grafana Cloud.",
  "homepage_url": "https://grafana.com/products/cloud/k6/",
  "author": "Grafana Labs",
  "minimum_chrome_version": "109",
  "permissions": [
    "debugger",
    "browsingData",
    "storage",
    "tabs",
    "unlimitedStorage",
    "webRequest",
    "webNavigation",
    "downloads",
    "offscreen",
    "scripting",
    "activeTab"
  ],
  "host_permissions": [
    "*://*/*"
  ],
  "icons": {
    "32": "images/[email protected]",
    "48": "images/[email protected]",
    "64": "images/[email protected]",
    "128": "images/[email protected]"
  },
  "action": {
    "default_icon": {
      "32": "images/[email protected]",
      "48": "images/[email protected]"
    },
    "default_title": "Grafana k6 Browser Recorder",
    "default_popup": "popup.html"
  },
  "commands": {
    "toggle-recording": {
      "suggested_key": {
        "default": "Ctrl+E"
      },
      "description": "Toggle start stop recording",
      "global": true
    }
  },
  "externally_connectable": {
    "matches": [
      "*://*.grafana.net/*",
      "*://localhost/*"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.grafana.net/*",
        "*://localhost/*"
      ],
      "js": [
        "inject-extension-meta.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://grafana.com/orgs/*"
      ],
      "js": [
        "extension-config-alert.js"
      ],
      "run_at": "document_end"
    }
  ],
  "options_ui": {
    "page": "options.html",
    "open_in_tab": true
  },
  "background": {
    "service_worker": "background.js",
    "type": "module"
  }
}