{"id":20345207,"url":"https://github.com/pcpratheesh/golang-prometheus-example","last_synced_at":"2026-05-07T06:33:19.473Z","repository":{"id":154439043,"uuid":"475367947","full_name":"pcpratheesh/golang-prometheus-example","owner":"pcpratheesh","description":"A sample code snippet to learn how can connect with prometheus and monitor logs ","archived":false,"fork":false,"pushed_at":"2022-03-29T12:03:05.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-27T23:40:34.814Z","etag":null,"topics":["devops","docker","docker-compose","golang","golang-library","grafana","metrics","monitoring","prometheus","snippets","time-series"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcpratheesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-03-29T09:19:14.000Z","updated_at":"2022-04-21T12:13:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7d6c263-3ec1-4522-b1ba-52061fbf5afa","html_url":"https://github.com/pcpratheesh/golang-prometheus-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pcpratheesh/golang-prometheus-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpratheesh%2Fgolang-prometheus-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpratheesh%2Fgolang-prometheus-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpratheesh%2Fgolang-prometheus-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpratheesh%2Fgolang-prometheus-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcpratheesh","download_url":"https://codeload.github.com/pcpratheesh/golang-prometheus-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcpratheesh%2Fgolang-prometheus-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32726001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["devops","docker","docker-compose","golang","golang-library","grafana","metrics","monitoring","prometheus","snippets","time-series"],"created_at":"2024-11-14T22:07:16.004Z","updated_at":"2026-05-07T06:33:19.458Z","avatar_url":"https://github.com/pcpratheesh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# golang-prometheus-example\nA sample code snippet to leanr how can connect with prometheus and monitor logs \n\n\n    Prometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud. \n    Prometheus collects and stores its metrics as time series data, i.e. metrics information is stored with the timestamp at which it was recorded, alongside optional key-value pairs called labels.\n\n\nBuild docker image\n```\ndocker build -t go-prometheus-app .\n```\n\nYou can simply run the following command to up the system as docker containers.\n\n```go\n   docker-compose up -d\n```\n\n\n### Find links here\n\n[Prometheus official site](https://prometheus.io/)\n\n[INSTRUMENTING A GO APPLICATION FOR PROMETHEUS](https://prometheus.io/docs/guides/go-application/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcpratheesh%2Fgolang-prometheus-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcpratheesh%2Fgolang-prometheus-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcpratheesh%2Fgolang-prometheus-example/lists"}