{"id":31786701,"url":"https://github.com/harperfast/grafana-datasource","last_synced_at":"2026-02-06T20:08:23.218Z","repository":{"id":273755066,"uuid":"900925998","full_name":"HarperFast/grafana-datasource","owner":"HarperFast","description":"Grafana datasource plugin for Harper","archived":false,"fork":false,"pushed_at":"2025-10-01T00:05:14.000Z","size":1305,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-01T22:12:29.982Z","etag":null,"topics":["grafana-plugin","harper"],"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/HarperFast.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-09T18:13:04.000Z","updated_at":"2025-09-29T15:58:36.000Z","dependencies_parsed_at":"2025-05-08T18:23:34.556Z","dependency_job_id":"45e3c389-6f87-408d-90ef-65c10281ae7a","html_url":"https://github.com/HarperFast/grafana-datasource","commit_stats":null,"previous_names":["harperdb/grafana-datasource","harperfast/grafana-datasource"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/HarperFast/grafana-datasource","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarperFast%2Fgrafana-datasource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarperFast%2Fgrafana-datasource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarperFast%2Fgrafana-datasource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarperFast%2Fgrafana-datasource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HarperFast","download_url":"https://codeload.github.com/HarperFast/grafana-datasource/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarperFast%2Fgrafana-datasource/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004072,"owners_count":26083665,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-plugin","harper"],"created_at":"2025-10-10T13:14:21.526Z","updated_at":"2025-10-10T13:14:23.459Z","avatar_url":"https://github.com/HarperFast.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grafana data source plugin for Harper\n\n## Getting started\n\nRequires Grafana 10.4.0 or higher.\n\nClone this repo into your `grafana/plugins` directory.\n\nThis plugin is not yet signed, so you'll need to [configure Grafana to load it anyway](https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#allow_loading_unsigned_plugins).\n\n## Configuration\n\nWhen you create a new Grafana datasource with this plugin,\nyou'll need to give it the full URL (including port) to\nyour Harper Operations API endpoint.\n\nThen you'll need to give Grafana the username and password\nyou'd like to use to access your Harper instance.\n\n## Development\n\n### Backend\n\n1. Update [Grafana plugin SDK for Go](https://grafana.com/developers/plugin-tools/key-concepts/backend-plugins/grafana-plugin-sdk-for-go) dependency to the latest minor version:\n\n   ```bash\n   go get -u github.com/grafana/grafana-plugin-sdk-go\n   go mod tidy\n   ```\n\n2. Build backend plugin binaries for Linux, Windows and Darwin:\n\n   ```bash\n   mage -v\n   ```\n\n3. List all available Mage targets for additional commands:\n\n   ```bash\n   mage -l\n   ```\n\n### Frontend\n\n1. Install dependencies\n\n   ```bash\n   npm install\n   ```\n\n2. Build plugin in development mode and run in watch mode\n\n   ```bash\n   npm run dev\n   ```\n\n3. Build plugin in production mode\n\n   ```bash\n   npm run build\n   ```\n\n4. Run the tests (using Jest)\n\n   ```bash\n   # Runs the tests and watches for changes, requires git init first\n   npm run test\n\n   # Exits after running all the tests\n   npm run test:ci\n   ```\n\n5. Spin up a Grafana instance and run the plugin inside it (using Docker)\n\n   ```bash\n   npm run server\n   ```\n\n6. Run the E2E tests (using Cypress)\n\n   ```bash\n   # Spins up a Grafana instance first that we tests against\n   npm run server\n\n   # Starts the tests\n   npm run e2e\n   ```\n\n7. Run the linter\n\n   ```bash\n   npm run lint\n\n   # or\n\n   npm run lint:fix\n   ```\n\n### Dev workflow\n\n1. Run `npm run dev` in one terminal\n   - This will watch your frontend code for changes\n1. Build the backend: `mage -v build:linuxARM64`\n    - Because this will run in a Docker container, you should always build it for Linux\n    - You will have to manually rerun this when the backend code changes\n1. Run `docker compose up` in another terminal\n    - This will need to be restarted when the backend is rebuilt\n1. Access Grafana at http://localhost:3000/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharperfast%2Fgrafana-datasource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharperfast%2Fgrafana-datasource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharperfast%2Fgrafana-datasource/lists"}