From 963138cf7ce6c7583dbb0f98cb0d99697477ea49 Mon Sep 17 00:00:00 2001 From: nserrino Date: Wed, 19 May 2021 13:28:33 -0700 Subject: [PATCH] Update Pixie plugin ID to match Grafana naming conventions. (#11) --- README.md | 2 +- package.json | 2 +- src/plugin.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 636a2c2..05413bf 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This plugin allows Grafana users to use Pixie as a datasource in their Grafana d Grafana comes with a command line tool that can be used to install plugins. -1. Run this command: `grafana-cli plugins install pixie-datasource` +1. Run this command: `grafana-cli plugins install pixie-pixie-datasource` 2. Restart the Grafana server. 3. With Grafana open, from the left vertical menu choose "Configuration" > "Data Sources." Select the "Add data source" button. Search for "Pixie Grafana Datasource Plugin" and press the "Select" button. The Pixie Plugin requires a Pixie API Key and Cluster ID to execute queries. To create an API Key, follow the directions [here](https://docs.pixielabs.ai/using-pixie/api-quick-start/#get-an-api-token). To find your cluster's ID, follow the directions [here](https://docs.pixielabs.ai/using-pixie/api-quick-start/#get-a-cluster-id). Finally, select the "Save & Test" button. diff --git a/package.json b/package.json index 2510804..52e5bbc 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "pixie-datasource", + "name": "pixie-pixie-datasource", "version": "0.0.1", "description": "Pixie's Grafana Datasource Plugin", "scripts": { diff --git a/src/plugin.json b/src/plugin.json index 84ea53d..644edae 100644 --- a/src/plugin.json +++ b/src/plugin.json @@ -2,10 +2,10 @@ "$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json", "type": "datasource", "name": "Pixie Grafana Datasource Plugin", - "id": "pixie-datasource", + "id": "pixie-pixie-datasource", "metrics": true, "backend": true, - "executable": "gpx-pixie-datasource-plugin", + "executable": "gpx-pixie-pixie-datasource-plugin", "info": { "description": "Pixie's Grafana Datasource Plugin", "author": {