{"id":19475689,"url":"https://github.com/iondv/metrics","last_synced_at":"2026-02-10T21:02:32.171Z","repository":{"id":141058390,"uuid":"180827084","full_name":"iondv/metrics","owner":"iondv","description":"IONDV. Framework application: Metrics is to collect and show the metrics data.","archived":false,"fork":false,"pushed_at":"2019-04-12T08:42:42.000Z","size":14,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T15:52:21.687Z","etag":null,"topics":["collecting","data","data-analysis","iondv","iondv-app","metrics"],"latest_commit_sha":null,"homepage":"","language":null,"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/iondv.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-11T15:58:24.000Z","updated_at":"2019-08-29T04:32:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"7dca9b7d-5794-4a0b-ac3a-1456fa402674","html_url":"https://github.com/iondv/metrics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iondv/metrics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iondv%2Fmetrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iondv%2Fmetrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iondv%2Fmetrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iondv%2Fmetrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iondv","download_url":"https://codeload.github.com/iondv/metrics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iondv%2Fmetrics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273287089,"owners_count":25078566,"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-09-02T02:00:09.530Z","response_time":77,"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":["collecting","data","data-analysis","iondv","iondv-app","metrics"],"created_at":"2024-11-10T19:34:17.031Z","updated_at":"2026-02-10T21:02:27.057Z","avatar_url":"https://github.com/iondv.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Эта страница на [Русском](/docs/ru/readme.md)\n\n# IONDV. Metrics\n\nMetrics is a IONDV. Framework application. \n\n### Start with IONDV. Framework\n\n* [IONDV. Framework Core](https://github.com/iondv/framework/)\n* [IONDV. Framework Docs](https://github.com/iondv/framework/blob/master/docs/en/index.md)\n\n## Description \n\n**IONDV. Metrics** -  is an application for collect and show metrics witch [IONDV. Watch](https://github.com/iondv/watch) module.\n\nTypical use:\n\n* build your IONDV. Metrics application with instructions for typical [IONDV. Framework](https://github.com/iondv/framework/blob/master/README.md) application \n* or get ready docker image and start with typical instraction [IONDV. Framework](https://github.com/iondv/framework/blob/master/README.md)\n* place html code `\u003cdiv\u003e\u003cimg src=\"https://your.domain/watch/METRIC-IDENTIFICATOR\" style=\"position:absolute; left:-9999px;\" alt=\"iondv metrics\"\u003e\u003c/div\u003e` in your html with URL to IONDV. Metrics application\n* or set IONDV. Framework application deploy.json `pageEndContent` params in globals (for all modules) or module (for once):\n```json\n{\n  \"globals\": {\n    \"pageEndContent\": \"\u003cdiv\u003e\u003cimg src=\\\"http://your.domain/watch/METRIC-IDENTIFICATOR\\\" style=\\\"position:absolute; left:-9999px;\\\" height=1 width=1 alt=\\\"iondv-metrics\\\" /\u003e\u003c/div\u003e\"\n  }\n}\n```\n* open html page or IONDV application, for example http://localhost:8888 for send metrics information about this page visit\n* open http://your.domain/registry to view saved metrics.\n\n\n### Docker\nFollow these steps to deploy docker container:\n\n1. Run mongodb\n\n```bash\ndocker run  --name mongodb \\\n            -v mongodb_data:/data/db \\\n            -p 27017:27017 \\\n            --restart unless-stopped \\\n            -d \\\n            mongo\n```\n\n2. Deploy your **IONDV. Metrics** application\n```bash\ndocker run --entrypoint=\"\" --link mongodb --rm iondv/metrics node bin/import --src ./applications/metrics --ns metrics\ndocker run --entrypoint=\"\" --link mongodb --rm iondv/metrics node bin/setup metrics --reset\n```\n\n3. Create user `admin` with password `123` and `admin` role\n```\ndocker run --entrypoint=\"\" --link mongodb --rm iondv/metrics node bin/adduser --name admin --pwd 123\ndocker run --entrypoint=\"\" --link mongodb --rm iondv/metrics node bin/acl --u admin@local --role admin --p full\n```\n\n4. Start application\n```\ndocker run -d -p 80:8888 --name metrics --link mongodb iondv/metrics\n```\n\nOpen `http://localhost/watch` in your browser. Result status is `OK`. Adress http://your.domain/watch didn't tracking, and used for health check for Docker container.\nOpen `http://localhost/watch/test` in your browser. Result is the small image in PNG and your request is saved in [**IONDV. Registry**](https://github.com/iondv/registry).\nOpen `http://localhost/registry` in your browser, and after authorisation you will see list with made requests to `http://localhost/watch/**`.\n\n\n--------------------------------------------------------------------------  \n\n\n #### [Licence](/LICENCE.md) \u0026ensp;  [Contact us](https://iondv.com) \u0026ensp;  [Russian](/docs/ru/readme.md)   \u0026ensp; [FAQs](/faqs.md)          \n\n\u003cdiv\u003e\u003cimg src=\"https://mc.iondv.com/watch/github/docs/app/metrics\" style=\"position:absolute; left:-9999px;\" height=1 width=1 alt=\"iondv metrics\"\u003e\u003c/div\u003e\n\n--------------------------------------------------------------------------  \n\nCopyright (c) 2019 **LLC \"ION DV\"**.  \nAll rights reserved. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiondv%2Fmetrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiondv%2Fmetrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiondv%2Fmetrics/lists"}