{"id":20834956,"url":"https://github.com/hstreamdb/hstream-metrics-exporter","last_synced_at":"2025-10-14T18:39:19.499Z","repository":{"id":103106009,"uuid":"496881946","full_name":"hstreamdb/hstream-metrics-exporter","owner":"hstreamdb","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-17T09:27:23.000Z","size":282,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T09:12:35.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hstreamdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05-27T06:09:58.000Z","updated_at":"2022-11-17T09:19:09.000Z","dependencies_parsed_at":"2023-04-26T22:47:18.792Z","dependency_job_id":null,"html_url":"https://github.com/hstreamdb/hstream-metrics-exporter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hstreamdb/hstream-metrics-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hstreamdb%2Fhstream-metrics-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hstreamdb%2Fhstream-metrics-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hstreamdb%2Fhstream-metrics-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hstreamdb%2Fhstream-metrics-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hstreamdb","download_url":"https://codeload.github.com/hstreamdb/hstream-metrics-exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hstreamdb%2Fhstream-metrics-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020356,"owners_count":26086866,"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-14T02:00:06.444Z","response_time":60,"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":[],"created_at":"2024-11-18T00:22:04.918Z","updated_at":"2025-10-14T18:39:19.485Z","avatar_url":"https://github.com/hstreamdb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HStream Metrics Exporter\n\nArchived. See [HStream exporter](https://github.com/hstreamdb/hstream-exporter).\n\n## Start Grafana\n\nThe command\n\n```shell\ndocker run -td --network host                                         \\\n  --rm                                                                \\\n  --name hs-test-grafana                                              \\\n  -e GF_AUTH_ANONYMOUS_ORG_ROLE=Admin                                 \\\n  -e GF_AUTH_ANONYMOUS_ENABLED=true                                   \\\n  -e GF_AUTH_DISABLE_LOGIN_FORM=true                                  \\\n  -e GF_DEFAULT_APP_MODE=development                                  \\\n  -v \"$PWD\"/configs/provisioning:/etc/grafana/provisioning            \\\n  -v \"$PWD\"/configs/defaults.ini:/usr/share/grafana/conf/defaults.ini \\\n  -v \"$PWD\"/grafana-plugins:/var/lib/grafana/plugins                  \\\n    grafana/grafana-oss:main\n```\n\nwill start a Grafana instance which will listen at `localhost:3000`.\n\nThe options\n\n```shell\n  -e GF_AUTH_ANONYMOUS_ORG_ROLE=Admin                                 \\\n  -e GF_AUTH_ANONYMOUS_ENABLED=true                                   \\\n  -e GF_AUTH_DISABLE_LOGIN_FORM=true                                  \\\n```\n\nare used for skip log in screen and log in as anonymous user with admin permission so that data sources can be added to\nGrafana.\n\nThe option\n\n```shell\n  -e GF_DEFAULT_APP_MODE=development                                  \\\n```\n\nis used for enable unsigned Grafana plugins.\n\n## Provisioning\n\nThe option\n\n```shell\n  -v \"$PWD\"/configs/provisioning:/etc/grafana/provisioning            \\\n```\n\nwill prepare **data sources** and **dashboards** when starting Grafana.\n\nThe configuration\n\n```shell\n  -v \"$PWD\"/configs/defaults.ini:/usr/share/grafana/conf/defaults.ini \\\n```\n\nis the same with default configuration in the image, excepted the minimum refresh interval are set lower than 5s.\n\n## Use HStream data source plugin\n\n### Build\n\n```shell\ngo install github.com/magefile/mage@latest # if mage is not installed\ncd ./grafana-plugins/hstreamdb-grafana-plugin \u0026\u0026 yarn install \u0026\u0026 make # in the Makefile, `GOBIN` is set to `~/go/bin` by default\n```\n\n### Add a panel\n\nConfigurations can be done by either using the provisioning utils above or setting manually.\n\nManually settings:\n\n1. Add the data source provide by HStream plugin: first click the bottom left settings button, then choose the data\n   sources option (which requires log in as admin and `GF_DEFAULT_APP_MODE=development`)\n2. In any dashboard, add a panel, choose the `Table` format at top right.\n3. Test query, if data is got correctly, near the query builder click `Transform` and search `Filter by name`,\n   ignore `time` and `values` fields.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhstreamdb%2Fhstream-metrics-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhstreamdb%2Fhstream-metrics-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhstreamdb%2Fhstream-metrics-exporter/lists"}