{"id":17911297,"url":"https://github.com/toddtreece/grafana-datafusion-datasource","last_synced_at":"2025-04-03T06:42:31.402Z","repository":{"id":138428217,"uuid":"374999295","full_name":"toddtreece/grafana-datafusion-datasource","owner":"toddtreece","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-30T19:42:00.000Z","size":833,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T20:29:10.124Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/toddtreece.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-06-08T12:22:16.000Z","updated_at":"2021-10-14T12:05:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"705af4af-45c2-4a2e-859f-3c88176c0088","html_url":"https://github.com/toddtreece/grafana-datafusion-datasource","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fgrafana-datafusion-datasource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fgrafana-datafusion-datasource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fgrafana-datafusion-datasource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fgrafana-datafusion-datasource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toddtreece","download_url":"https://codeload.github.com/toddtreece/grafana-datafusion-datasource/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246952273,"owners_count":20859811,"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":"2024-10-28T19:37:39.686Z","updated_at":"2025-04-03T06:42:31.383Z","avatar_url":"https://github.com/toddtreece.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grafana Arrow-DataFusion Data Source\n\nThis is the result of an experiment that uses [arrow-datafusion](https://github.com/apache/arrow-datafusion) as a datasource.\n\nYou will need the following dependencies installed:\n* Docker\n* node v14\n* yarn\n\nTo install the rest of the dependencies, you can run:\n```\nmake setup\n```\n\nStart grafana:\n```\nmake start\n```\n\n## Example \n\nYou can find an example of implementing a datasource [here](crates/datafusion-test-datasource/pkg/github/releases.rs).\n\n![screenshot](screenshot.png)\n\nExample `releases` query:\n```sql\nSELECT \n  date_trunc('week', published_at) AS week,\n  count(name) AS release_count\nFROM \n  datasource.github.releases\nWHERE\n  owner = 'grafana'\n  AND repo = 'tempo'\nGROUP BY week\nORDER BY week ASC\n```\n\nExample `pull_requests` query:\n\n```sql\nSELECT \n  date_trunc('week', created_at) AS week,\n  count(*) AS pr_count\nFROM \n  datasource.github.pull_requests\nWHERE\n  owner = 'grafana'\n  AND repo = 'tempo'\nGROUP BY week \nORDER BY week ASC\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddtreece%2Fgrafana-datafusion-datasource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoddtreece%2Fgrafana-datafusion-datasource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddtreece%2Fgrafana-datafusion-datasource/lists"}