{"id":36444752,"url":"https://github.com/debeando/agent-mysql","last_synced_at":"2026-01-11T22:03:44.687Z","repository":{"id":260944078,"uuid":"878640142","full_name":"debeando/agent-mysql","owner":"debeando","description":"Collector for MySQL metrics","archived":false,"fork":false,"pushed_at":"2025-01-28T23:25:02.000Z","size":1849,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-25T06:34:13.499Z","etag":null,"topics":["agent","golang","mysql","observability"],"latest_commit_sha":null,"homepage":"","language":"Go","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/debeando.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-10-25T19:08:48.000Z","updated_at":"2025-01-28T23:25:06.000Z","dependencies_parsed_at":"2025-01-28T20:30:15.106Z","dependency_job_id":null,"html_url":"https://github.com/debeando/agent-mysql","commit_stats":null,"previous_names":["debeando/zenit-agent-mysql","debeando/agent-mysql"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/debeando/agent-mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debeando%2Fagent-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debeando%2Fagent-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debeando%2Fagent-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debeando%2Fagent-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/debeando","download_url":"https://codeload.github.com/debeando/agent-mysql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debeando%2Fagent-mysql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28324853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T18:42:50.174Z","status":"ssl_error","status_checked_at":"2026-01-11T18:39:13.842Z","response_time":60,"last_error":"SSL_read: 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":["agent","golang","mysql","observability"],"created_at":"2026-01-11T22:03:44.589Z","updated_at":"2026-01-11T22:03:44.660Z","avatar_url":"https://github.com/debeando.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeBeAndo Agent for MySQL\n\nDatabase monitoring tool designed for small environments, adapted for Kubernetes and send metrics to InfluxDB.\n\n## Image Description\n\nThis image is maintained by DeBeAndo and will be updated regularly on best-effort basis. The image is based on Alpine Linux and only contains the build result of this repository.\n\n## Run\n\nTo run container:\n\n```bash\ndocker run \\\n\t--name debeando-agent-mysql \\\n\t--env DEBUG=true \\\n\t--env INTERVAL=10 \\\n\t--env INFLUXDB_HOST=\"http://com-env-influxdb-observability-node01.aws.com\" \\\n\t--env INFLUXDB_TOKEN=\"abc123cde456==\" \\\n\t--env MYSQL_HOST=\"com-env-mysql-stack-node01.aws.com\" \\\n\t--env MYSQL_USER=\"monitor\" \\\n\t--env MYSQL_PASSWORD=\"\u003cmonitor-pass\u003e\" \\\n\t--env SERVER=\"com-env-mysql-stack-node01\" \\\n\tdebeando/agent-mysql\n```\n\n## MySQL Config\n\nCreate a `monitor` user to allow access to agent.\n\n```sql\nCREATE USER monitor@'%' IDENTIFIED BY '\u003cmonitor-pass\u003e';\nALTER USER monitor@'%' WITH MAX_USER_CONNECTIONS 5;\nGRANT REPLICATION CLIENT ON *.* TO monitor@'%';\nGRANT PROCESS ON *.* TO monitor@'%';\nGRANT SELECT ON *.* TO monitor@'%';\n```\n\nPlease, change default password `\u003cmonitor-pass\u003e`.\n\n## Environment Variables\n\nWhen you start the `agent-mysql` image, you can adjust the configuration of the agent instance by passing one or more environment variables on the docker run command line.\n\n- **DEBUG:** Enable debug mode with `true` value, by default value is `false`.\n- **DISABLE:** Disable specific metric, list separated by comma, by default is empty.\n- **INTERVAL:** Interval time in second, by default value is `10`.\n- **INFLUXDB_HOST:** The HTTP hostname or IP address.\n- **INFLUXDB_TOKEN:** The authentication token for connecting to the InfluxDB instance.\n- **MYSQL_HOST:** The hostname or IP address of the MySQL server to be monitored.\n- **MYSQL_USER:** The MySQL username to connect with.\n- **MYSQL_PASSWORD:** The password associated with the specified MySQL user.\n- **SERVER:** The name of running the agent.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebeando%2Fagent-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebeando%2Fagent-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebeando%2Fagent-mysql/lists"}