{"id":18283729,"url":"https://github.com/tocco/geckoboard-push","last_synced_at":"2025-10-20T10:28:08.962Z","repository":{"id":78186982,"uuid":"123741927","full_name":"tocco/geckoboard-push","owner":"tocco","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-04T00:27:24.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-15T00:19:54.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/tocco.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":"2018-03-04T00:02:03.000Z","updated_at":"2018-03-04T00:09:07.000Z","dependencies_parsed_at":"2023-03-08T16:00:52.683Z","dependency_job_id":null,"html_url":"https://github.com/tocco/geckoboard-push","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocco%2Fgeckoboard-push","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocco%2Fgeckoboard-push/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocco%2Fgeckoboard-push/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocco%2Fgeckoboard-push/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tocco","download_url":"https://codeload.github.com/tocco/geckoboard-push/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987108,"owners_count":21028891,"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-11-05T13:10:31.751Z","updated_at":"2025-10-20T10:28:03.932Z","avatar_url":"https://github.com/tocco.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geckoboard-push\n\n[![Build Status](https://travis-ci.org/tocco/geckoboard-push.svg?branch=master)](https://travis-ci.org/tocco/geckoboard-push)\n\nThis project consists of a Node.js script to update a\nGeckoboard KPI dashboard.\n\n## Required environment variables\n\n* GECKOBOARD_API_KEY\n* BACKOFFICE_USERNAME\n* BACKOFFICE_PASSWORD\n\n## Datasets\n\n### Available datasets\n\n#### support_tickets.by_version\n\nFields:\n\n| ID   | Name | Type | Description |\n| ---| --- | --- | --- |\n| date | Date | date | The date of the snapshot |\n| version | Version | string | The Nice2 version |\n| tickets | Number of support tickets | number | The total number of the support tickets created for this version on that particular date |\n| tickets_per_installation | Number of support tickets per installation | number | The total number of the support tickets created for this version on that particular date divided by the number of installations running on that particular version |\n\n#### installations.by_version\n\nFields:\n\n| ID   | Name | Type | Description |\n| ---| --- | --- | --- |\n| date | Date | date | The date of the snapshot |\n| version | Version | string | The Nice2 version |\n| installations | Number of installations | number | The total number of installations running on that particular version on that particular date |\n\n### Add more datasets\n\nTo add another dataset, add the script in the folder `src/datasets` and\nexport it via the `src/datasets/index.js` file.\n\nThe dataset script should export the following properties:\n* `id` (e.g. 'support_tickets.by_version')\n* `feed` (Optional; Array of dataset ids to pass the data from into the toDatasetRecords function (2nd argument))\n* `scheme` (The geckoboard dataset scheme)\n* `deleteBy` (The oldest records (by insertion time) get deleted, once a limit of 5000 is reached.\n  This behaviour can be overridden by using this property)\n* `query` (Object containing the following properties to query the Backoffice:\n  `entity`, `paths`, `where`, `resolve`, `fields`)\n* `toDatasetRecords` (Function to convert the Backoffice query result into records matching the Geckoboard scheme\n  (1st argument: query result, 2nd argument: required data from other datasets (see `feed)))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftocco%2Fgeckoboard-push","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftocco%2Fgeckoboard-push","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftocco%2Fgeckoboard-push/lists"}