{"id":20714117,"url":"https://github.com/k8spacket/node-graph-plugin","last_synced_at":"2025-11-04T11:03:48.401Z","repository":{"id":248513427,"uuid":"472083216","full_name":"k8spacket/node-graph-plugin","owner":"k8spacket","description":"Datasource plugin to visualize data as Node graph panel for Grafana","archived":false,"fork":false,"pushed_at":"2022-09-14T08:32:31.000Z","size":742,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-20T16:02:16.302Z","etag":null,"topics":["grafana","nodegraph","observability","visualization"],"latest_commit_sha":null,"homepage":"","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/k8spacket.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-20T19:35:09.000Z","updated_at":"2024-03-22T23:17:52.000Z","dependencies_parsed_at":"2024-07-15T13:29:43.262Z","dependency_job_id":null,"html_url":"https://github.com/k8spacket/node-graph-plugin","commit_stats":null,"previous_names":["k8spacket/node-graph-plugin"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/k8spacket/node-graph-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8spacket%2Fnode-graph-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8spacket%2Fnode-graph-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8spacket%2Fnode-graph-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8spacket%2Fnode-graph-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k8spacket","download_url":"https://codeload.github.com/k8spacket/node-graph-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8spacket%2Fnode-graph-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266152251,"owners_count":23884473,"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":["grafana","nodegraph","observability","visualization"],"created_at":"2024-11-17T02:29:27.114Z","updated_at":"2025-11-04T11:03:48.367Z","avatar_url":"https://github.com/k8spacket.png","language":"TypeScript","readme":"# Node graph Grafana Datasource Plugin\n\nDatasource plugin to visualize data as Node graph panel for Grafana (https://grafana.com/docs/grafana/latest/visualizations/node-graph/)\n\n![img.png](https://raw.githubusercontent.com/k8spacket/node-graph-plugin/master/src/img/panel.png)\n\n## Required JSON format\n\n```json\n{\n   \"config\":{\n      \"arc__1\":{\n         \"displayName\":\"First factor\",\n         \"color\":\"green\"\n      },\n      \"arc__2\":{\n         \"displayName\":\"Second factor\",\n         \"color\":\"red\"\n      },\n      \"arc__3\":{\n         \"displayName\":\"Third factor\",\n         \"color\":\"blue\"\n      },\n       \"mainStat\": {\n         \"displayName\": \" \",\n         \"color\": \"\"\n      },\n      \"secondaryStat\": {\n         \"displayName\": \" \",\n         \"color\": \"\"\n      }\n   },\n   \"nodes\":[\n      {\n         \"id\":\"id1\",\n         \"title\":\"Title of element 1\",\n         \"subTitle\":\"subtitle of element 1\",\n         \"mainStat\":\"received: 50kB\",\n         \"secondaryStat\":\"sent: 12kB\",\n         \"arc__1\":0.3,\n         \"arc__2\":0.2,\n         \"arc__3\":0.5\n      },\n      {\n         \"id\":\"id2\",\n         \"title\":\"Title of element 2\",\n         \"subTitle\":\"subtitle of element 2\",\n         \"mainStat\":\"received: 230MB\",\n         \"secondaryStat\":\"sent: 142kB\",\n         \"arc__1\":0.6,\n         \"arc__2\":0.2,\n         \"arc__3\":0.2\n      }\n   ],\n   \"edges\":[\n      {\n         \"id\":\"id1-id2\",\n         \"source\":\"id1\",\n         \"target\":\"id2\",\n         \"mainStat\":\"conn: 3244, closed: 3235\",\n         \"secondaryStat\":\"s: 3.25KB/s, r: 3.99KB/s\"\n      }\n   ]\n}\n```\n- nodes and edges correspond with nodes and edges in the Node graph panel\n- config defines colors on circles and legend on panel\n\n## Getting started\n\n### Configuration\n\nTo install the plugin see the example for [loki-stack](https://github.com/k8spacket/node-graph-plugin/blob/master/examples/loki-stack/README.md)\n\nAdd and configure datasource plugin in your Grafana instance\n\nAs `baseUrl` you can enter URL to your metrics service API\n\n![config.png](https://raw.githubusercontent.com/k8spacket/node-graph-plugin/master/src/img/config.png)\n\n### Explore\n\nGo to Explore, select `Node Graph Panel API` as datasource, and provide context of metrics endpoint\n\n![explore.png](https://raw.githubusercontent.com/k8spacket/node-graph-plugin/master/src/img/explore.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk8spacket%2Fnode-graph-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk8spacket%2Fnode-graph-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk8spacket%2Fnode-graph-plugin/lists"}