{"id":27617859,"url":"https://github.com/ubuntu/ubuntu-insights","last_synced_at":"2025-09-11T21:10:45.491Z","repository":{"id":269059860,"uuid":"904253621","full_name":"ubuntu/ubuntu-insights","owner":"ubuntu","description":"Ubuntu Report v2","archived":false,"fork":false,"pushed_at":"2025-04-22T19:40:03.000Z","size":1139,"stargazers_count":9,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-23T04:56:50.685Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ubuntu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-16T14:35:54.000Z","updated_at":"2025-04-17T17:17:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ed4b140-aaa3-4804-b123-43318ca15ae7","html_url":"https://github.com/ubuntu/ubuntu-insights","commit_stats":null,"previous_names":["ubuntu/ubuntu-insights"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubuntu%2Fubuntu-insights","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubuntu%2Fubuntu-insights/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubuntu%2Fubuntu-insights/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubuntu%2Fubuntu-insights/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ubuntu","download_url":"https://codeload.github.com/ubuntu/ubuntu-insights/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250372944,"owners_count":21419722,"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":"2025-04-23T04:57:09.178Z","updated_at":"2025-09-11T21:10:45.484Z","avatar_url":"https://github.com/ubuntu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Ubuntu Insights\n\n[actions-image]: https://github.com/ubuntu/ubuntu-insights/actions/workflows/qa.yaml/badge.svg?branch=main\n[actions-url]: https://github.com/ubuntu/ubuntu-insights/actions?query=branch%3Amain+event%3Apush\n[license-image]: https://img.shields.io/badge/License-GPL3.0-blue.svg\n[codecov-image]: https://codecov.io/gh/ubuntu/ubuntu-insights/branch/main/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/ubuntu/ubuntu-insights\n[goreport-image]: https://goreportcard.com/badge/github.com/ubuntu/ubuntu-insights\n[goreport-url]: https://goreportcard.com/report/github.com/ubuntu/ubuntu-insights\n\n[![Code quality][actions-image]][actions-url]\n[![License][license-image]](LICENSE)\n[![Code coverage][codecov-image]][codecov-url]\n[![Go Report Card][goreport-image]][goreport-url]\n\nThis is the code repository for **Ubuntu Insights**, a transparent, user-friendly, open, platform-agnostic, and cross-application solution for reporting hardware information and other collected metrics.\n\nUbuntu Insights is designed to show you exactly what is being sent, and allow you to acknowledge and control your own data. The code in this repository is designed to mainly be invoked by a controlling application, but a command-line tool is also provided.\n\nUbuntu Insights is designed to be a full replacement for [Ubuntu Report](https://github.com/ubuntu/ubuntu-report) and its server components are backwards compatible.\n\n## Components\n\nUbuntu Insights is divided into two components:\n\n- The client for local actions which consists of a command-line interface, as well as Go and C APIs. It is also packaged as a deb package. See [insights](insights)\n- The server services which is what we use to aggregate reports. See [server](server)\n\n## Example Insights Reports\n\n### Ubuntu Desktop\n\n```json\n{\n  \"insightsVersion\": \"Dev\",\n  \"collectionTime\": 1748013676,\n  \"systemInfo\": {\n    \"hardware\": {\n      \"product\": {\n        \"family\": \"My Product Family\",\n        \"name\": \"My Product Name\",\n        \"vendor\": \"My Product Vendor\"\n      },\n      \"cpu\": {\n        \"name\": \"9 1200SX\",\n        \"vendor\": \"Authentic\",\n        \"architecture\": \"x86_64\",\n        \"cpus\": 16,\n        \"sockets\": 1,\n        \"coresPerSocket\": 8,\n        \"threadsPerCore\": 2\n      },\n      \"gpus\": [\n        {\n          \"device\": \"0x0294\",\n          \"vendor\": \"0x10df\",\n          \"driver\": \"gpu\"\n        },\n        {\n          \"device\": \"0x03ec\",\n          \"vendor\": \"0x1003\",\n          \"driver\": \"gpu\"\n        }\n      ],\n      \"memory\": {\n        \"size\": 23247\n      },\n      \"disks\": [\n        {\n          \"size\": 1887436,\n          \"type\": \"disk\",\n          \"children\": [\n            {\n              \"size\": 750,\n              \"type\": \"part\"\n            },\n            {\n              \"size\": 260,\n              \"type\": \"part\"\n            },\n            {\n              \"size\": 16,\n              \"type\": \"part\"\n            },\n            {\n              \"size\": 1887436,\n              \"type\": \"part\"\n            },\n            {\n              \"size\": 869,\n              \"type\": \"part\"\n            },\n            {\n              \"size\": 54988,\n              \"type\": \"part\"\n            }\n          ]\n        }\n      ],\n      \"screens\": [\n        {\n          \"physicalResolution\": \"2560x1440\",\n          \"size\": \"600mm x 340mm\",\n          \"refreshRate\": \"143.85\"\n        },\n        {\n          \"physicalResolution\": \"2560x1600\",\n          \"size\": \"300mm x 190mm\",\n          \"refreshRate\": \"120.00\"\n        }\n      ]\n    },\n    \"software\": {\n      \"os\": {\n        \"family\": \"linux\",\n        \"distribution\": \"Ubuntu\",\n        \"version\": \"25.04\"\n      },\n      \"timezone\": \"EDT\",\n      \"language\": \"en_US\",\n      \"bios\": {\n        \"vendor\": \"Bios Vendor\",\n        \"version\": \"Bios Version\"\n      }\n    },\n    \"platform\": {\n      \"desktop\": {\n        \"desktopEnvironment\": \"ubuntu:GNOME\",\n        \"sessionName\": \"ubuntu\",\n        \"sessionType\": \"wayland\"\n      },\n      \"proAttached\": true\n    }\n  }\n}\n```\n\n### WSL\n\n```json\n{\n  \"insightsVersion\": \"Dev\",\n  \"collectionTime\": 1748012492,\n  \"systemInfo\": {\n    \"hardware\": {\n      \"cpu\": {\n        \"name\": \"AM Cirus 1200XK Processor\",\n        \"vendor\": \"Authentic\",\n        \"architecture\": \"x86_64\",\n        \"cpus\": 256,\n        \"sockets\": 1,\n        \"coresPerSocket\": 128,\n        \"threadsPerCore\": 2\n      },\n      \"memory\": {\n        \"size\": 15904\n      },\n      \"disks\": [\n        {\n          \"size\": 388,\n          \"type\": \"disk\"\n        },\n        {\n          \"size\": 185,\n          \"type\": \"disk\"\n        },\n        {\n          \"size\": 4096,\n          \"type\": \"disk\"\n        },\n        {\n          \"size\": 1048576,\n          \"type\": \"disk\"\n        },\n        {\n          \"size\": 1048576,\n          \"type\": \"disk\"\n        }\n      ]\n    },\n    \"software\": {\n      \"os\": {\n        \"family\": \"linux\",\n        \"distribution\": \"Ubuntu\",\n        \"version\": \"25.04\"\n      },\n      \"timezone\": \"EDT\",\n      \"language\": \"en_GB\"\n    },\n    \"platform\": {\n      \"wsl\": {\n        \"subsystemVersion\": 2,\n        \"systemd\": \"used\",\n        \"interop\": \"enabled\",\n        \"version\": \"2.5.7.0\",\n        \"kernelVersion\": \"6.6.87.1-microsoft-standard-WSL2\"\n      },\n      \"proAttached\": true\n    }\n  }\n}\n```\n\n### Data being sent if consent is false\n\n```json\n{\n  \"OptOut\": true\n}\n```\n\n## Get involved\n\nThis is an [open source](LICENSE) project, and we warmly welcome community contributions, suggestions, and constructive feedback. If you're interested in contributing, please take a look at our [Contribution guidelines](CONTRIBUTING.md) first.\n\n- To report an issue, please file a bug report against our repository, using a bug template.\n- For suggestions and constructive feedback, open a feature request issue using the proposed template.\n\n## Get in touch\n\nWe're friendly! We have a community forum at [https://discourse.ubuntu.com](https://discourse.ubuntu.com) where we discuss feature plans, development news, issues, updates and troubleshooting.\n\nFor news and updates, follow the [Ubuntu Twitter account](https://twitter.com/ubuntu) and on [Facebook](https://www.facebook.com/ubuntu).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubuntu%2Fubuntu-insights","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fubuntu%2Fubuntu-insights","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubuntu%2Fubuntu-insights/lists"}