{"id":26702015,"url":"https://github.com/geonetwork/gnm_collect","last_synced_at":"2025-03-27T02:33:27.504Z","repository":{"id":31650131,"uuid":"35215434","full_name":"geonetwork/gnm_collect","owner":"geonetwork","description":"A standalone daemon that collects the metrics data from a geonetwork instance and generated reports from the metrics.","archived":false,"fork":false,"pushed_at":"2015-05-15T14:37:09.000Z","size":224,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-06-21T09:38:24.347Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geonetwork.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}},"created_at":"2015-05-07T11:07:28.000Z","updated_at":"2015-05-08T22:56:13.000Z","dependencies_parsed_at":"2022-09-18T03:41:29.265Z","dependency_job_id":null,"html_url":"https://github.com/geonetwork/gnm_collect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geonetwork%2Fgnm_collect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geonetwork%2Fgnm_collect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geonetwork%2Fgnm_collect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geonetwork%2Fgnm_collect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geonetwork","download_url":"https://codeload.github.com/geonetwork/gnm_collect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245769428,"owners_count":20669176,"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-03-27T02:32:14.833Z","updated_at":"2025-03-27T02:33:27.492Z","avatar_url":"https://github.com/geonetwork.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Summary\n=======\n\nA standalone application/daemon for recording the metrics output from Geonetwork and generating tables and graphs from the recorded data.\n\nThe application have 2 APIs for interacting with it. CLI and Web\n\nIf you have the binary an example of running the application is as follows:\n\n    gnm_collect -target http://localhost:8989/gn -logging=true -user=monitor -pass=monpas -out=gnm-reports\n\nCommand-line Interface\n----------------------\n\nBy default the system is ran in terminal mode.  In this case `?` followed by Enter/Return will show the available commands.  For example:\n\n    q - Write reports to disk and exit the application\n    f/s - Write/Flush reports to disk\n    \nWeb API\n-------\n\nThe -port=... parameter can be used to set the web server port.  By default the server is started on port 10100.  \n\nThe main page is:  http://localhost:10100/index.html (or just http://localhost:10100/)\n\nBuild from Source\n=================\nYou can use the go get commands to build from sources.  To do this you need to install:\n\n* Go\n* Git\n* Hg\n\nIf this is done then you just need to do the following:\n\n    go get github.com/geonetwork/gnm_collect\n \nThis will clone gnm_collect and all dependencies as well as build a binary for gnm_collect.  The binary can be executed as follows:\n\n    ./bin/gnm_collect -user admin -pass admin  \n\nYou can run directly from the source (rather than compiled binary with:\n\n    go run src/github.com/geonetwork/gnm_collect/gnm_collect.go\n \nAll dependencies are cloned and you can build from your GOPATH directory\n\nDistribution\n============\n\nTo distribute this application, clone and build the application as described in _Build from Source_.  \nTo create a distribution bundle do:\n\nLinux example:\n\n    mkdir gnm_collect_1.0    \n    cp bin/gnm_collect gnm_collect_1.0/\n    cp -r src/github.com/gonum/plot/vg/fonts gnm_collect_1.0/\n    tar czf gnm_collect_1.0.tar.gz gnm_collect_1.0/  \n    rm -rf gnm_collect_1.0 \n\n    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeonetwork%2Fgnm_collect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeonetwork%2Fgnm_collect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeonetwork%2Fgnm_collect/lists"}