{"id":28353048,"url":"https://github.com/intercloud/intercloud-grafana-plugin","last_synced_at":"2025-07-19T15:04:44.741Z","repository":{"id":47084989,"uuid":"291917181","full_name":"intercloud/intercloud-grafana-plugin","owner":"intercloud","description":"Grafana datasource plugin for InterCloud's services metrics","archived":false,"fork":false,"pushed_at":"2023-02-13T14:33:59.000Z","size":743,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-28T00:11:32.557Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intercloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-01T06:36:56.000Z","updated_at":"2023-02-13T14:29:36.000Z","dependencies_parsed_at":"2022-09-24T22:33:58.013Z","dependency_job_id":null,"html_url":"https://github.com/intercloud/intercloud-grafana-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/intercloud/intercloud-grafana-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intercloud%2Fintercloud-grafana-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intercloud%2Fintercloud-grafana-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intercloud%2Fintercloud-grafana-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intercloud%2Fintercloud-grafana-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intercloud","download_url":"https://codeload.github.com/intercloud/intercloud-grafana-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intercloud%2Fintercloud-grafana-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265950497,"owners_count":23853762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-28T00:10:35.655Z","updated_at":"2025-07-19T15:04:44.736Z","avatar_url":"https://github.com/intercloud.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InterCloud Grafana Data Source Plugin\n\nThis plugin provides a Grafana Data Source to show InterCloud's services metrics from the REST API.\n\nGrafana server version: \u003e= 7.4.0 - \u003c 8.0.0\n\n## Quick Test\n\n### 1. Environment and tools\n\nRequirements:\n\nYou need a **node engine version \"\u003e=14 \u003c15\"**.\nYou can use [nvm](https://github.com/nvm-sh/nvm) to manage different versions.\n\nYou also will need **[yarn](https://yarnpkg.com/)** to build the plugin.\n\n### 2. Run a local grafana with InterCloud's plugin\n\n```BASH\ngit clone https://github.com/intercloud/intercloud-grafana-plugin.git\ncd intercloud-grafana-plugin\nyarn install\nyarn build\n```\n\nAfter that, you can start a docker container :\n\n* On Windows\n```BASH\ndocker run -d -p 3000:3000 -v %cd%/dist:/var/lib/grafana/plugins/intercloud --name=grafana grafana/grafana:7.4.0\n```\n\n* On Linux\n```BASH\ndocker run -d -p 3000:3000 -v `pwd`/dist:/var/lib/grafana/plugins/intercloud --name=grafana grafana/grafana:7.4.0\n```\n\n\nThen open your browser on http://localhost:3000 (use admin/admin as default credentials, you can change it after login).\n\nAdd the InterCloud Data Source (See https://grafana.com/docs/grafana/latest/features/datasources/add-a-data-source/) and configure you `API Key` to make grafana access InterCloud API (You can create an [InterCloud portal Personal Access Token](https://doc.intercloud.io/api-howtos/authentication/personal-access-token/) to be used as Grafana `API Key`)\n\n\u003e To minimize the amount of sensitive information sent to and from the browser, data source plugins can use the Grafana data source proxy. When using the data source proxy, any requests containing sensitive information go through the Grafana server. No sensitive data is sent to the browser after the data is saved.\n\nPress `Save \u0026 Test` button.\n\n### 3. Create panel\n\nGo to `+ \u003e Create \u003e Dashboard` and Add a new panel.\nFill the query information with the [IRN](https://doc.intercloud.io/api-howtos/metrics/) of the service you want to retrieve metrics (e.g. `irn:connectors:skstok62tbks::p0q4dy`) and choose metric.\n\nYou can add more than one query per panel and change the panel title.\n\n![](assets/panel.png)\n\n## Getting started with development for the plugin\n\n### 1. Install dependencies\n\n```BASH\nyarn install\n```\n\n### 2. Build plugin in development mode or run in watch mode\n\n```BASH\nyarn dev\n```\n\nor\n\n```BASH\nyarn watch\n```\n\n### 3. Build plugin in production mode\n\n```BASH\nyarn build\n```\n\n## Todo\n\n- Signature verification\n- Support status measures\n- Add alerting support (backend plugin)\n- Add annotations support\n- ci/cd\n- unit tests\n\n## Learn more\n\n- [InterCloud Portal and API Documentation](https://doc.intercloud.io)\n- [Grafana documentation](https://grafana.com/docs/)\n- [Grafana Tutorials](https://grafana.com/tutorials/) - Grafana Tutorials are step-by-step guides that help you make the most of Grafana\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintercloud%2Fintercloud-grafana-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintercloud%2Fintercloud-grafana-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintercloud%2Fintercloud-grafana-plugin/lists"}