{"id":44069234,"url":"https://github.com/willfantom/stats4me","last_synced_at":"2026-02-08T04:05:23.902Z","repository":{"id":187494531,"uuid":"676984774","full_name":"WillFantom/stats4me","owner":"WillFantom","description":"Simple service monitoring compose stack 🐳","archived":false,"fork":false,"pushed_at":"2023-09-01T09:37:50.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-23T13:36:57.547Z","etag":null,"topics":["grafana","influxdb","monitoring","telegraf"],"latest_commit_sha":null,"homepage":"","language":null,"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/WillFantom.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}},"created_at":"2023-08-10T13:19:26.000Z","updated_at":"2023-08-10T15:09:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"328b2382-1e9c-4548-a8b3-f3848a4f2648","html_url":"https://github.com/WillFantom/stats4me","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"f83521e1145840d73a5c6e86581b1a32a8f47585"},"previous_names":["willfantom/stats4me"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WillFantom/stats4me","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WillFantom%2Fstats4me","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WillFantom%2Fstats4me/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WillFantom%2Fstats4me/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WillFantom%2Fstats4me/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WillFantom","download_url":"https://codeload.github.com/WillFantom/stats4me/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WillFantom%2Fstats4me/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29219386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T03:18:47.732Z","status":"ssl_error","status_checked_at":"2026-02-08T03:15:31.985Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","influxdb","monitoring","telegraf"],"created_at":"2026-02-08T04:05:19.354Z","updated_at":"2026-02-08T04:05:23.893Z","avatar_url":"https://github.com/WillFantom.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI4ME: `stats4me`\n\nA telemetry stack for use in the research \u0026 development of OBM services.\n\n---\n\n## Overview\n\n  - **Collection:** This stack uses Telegraf to collect metrics from the\n    local system via \"inputs\" and export them to the data store.\n\n  - **Storage:** InfluxDB is a time-series database that simply stores\n    timestamped (and labeled) data that can be queried using the flux query\n    language.\n\n  - **Visualization:** For pretty graphs, Grafana can house web-based dashboards\n    that contain graphs etc that visualize data. It can be set to collect data\n    from InfluxDB via flux queries.\n\n## Usage\n\nThis is a `docker compose` stack that will download run all the required tools\nusing [docker](https://docs.docker.com/engine/install/) and [docker\ncompose](https://docs.docker.com/compose/install/linux/).\n\n  - **Downloading:** `docker compose pull`\n  - **Running:** `docker compose up -d`\n  - **Logs:** `docker compose logs -f`\n  - **Stop:** `docker compose down`\n\nAccessing these services is done via a browser on the localhost. InfluxDB's UI\ncan be accessed at port `8086` by default and Grafana at port `3000` (again, by\ndefault).\n\n## Configuration\n\nEach service has a configuration, and each can be complex to configure if used\nin complex ways. A basic configuration setup for each is generated by this\nrepository.\n\n### InfluxDB\n\nTo get started with InfluxDB, start with providing an initial config. In this\nrepo, this can be done via env vars found in the [.env](./.env) file.\n\n - **`INFLUXDB_USERNAME`**: Is the username for accessing the default InfluxDB account.\n - **`INFLUXDB_PASSWORD`**: Is the password for accessing the default InfluxDB account.\n - **`INFLUXDB_BUCKET`**: Is the name of the initial bucket that can be used to\n   store data in.\n - **`INFLUXDB_ORG`**: Is the name of the initial organization in the InfluxDB.\n -  **`INFLUXDB_TOKEN`**: The admin API token used to get and push data to the database.\n\n\u003e These values are also used by `telegraf` in the initial config so that it can\n\u003e be autoconfigured to have an influx output to the initial bucket.\n\n### Telegraf\n\nTelegraf is configured by a `toml` file that can be found at\n[telegraf/telegraf.conf](./telegraf/telegraf.conf). Initially, this is setup\nwith a few basic input plugins (such as docker) and it outputs data to the\n`influxdb` instance at the initial bucket. For more about telegraf plugins and\nconfiguration, see [here](https://docs.influxdata.com/telegraf/v1.27/plugins).\n\nSo Telegraf can collect data from the docker engine, it needs to be running in\nthe docker group. For this, set the `DOCKER_GID` in the [.env](./.env) file to\nthe value found for the docker group ID. This can be found by running `id` in\nthe command line (provided your current user is in the docker group too).\n\n### Grafana\n\nGrafana has very little configuration done by this repository... The default\ncredentials are unchanged (typically: `admin`, `admin`). For more on Grafana\nconfig, see [here](https://grafana.com/docs/).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfantom%2Fstats4me","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillfantom%2Fstats4me","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfantom%2Fstats4me/lists"}