{"id":42239665,"url":"https://github.com/zhangjie2012/promclient-go","last_synced_at":"2026-01-27T04:03:06.242Z","repository":{"id":77695466,"uuid":"364855806","full_name":"zhangjie2012/promclient-go","owner":"zhangjie2012","description":"A prometheus go client (SDK), wrapper Promethues HTTP API.  !!!Unstable!!!","archived":false,"fork":false,"pushed_at":"2021-05-13T08:59:40.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T17:43:54.909Z","etag":null,"topics":["go","prometheus","prometheus-client"],"latest_commit_sha":null,"homepage":"","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/zhangjie2012.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":"2021-05-06T09:28:06.000Z","updated_at":"2021-05-13T08:59:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"f31da397-b7aa-4b97-89e0-aa99ee935dbc","html_url":"https://github.com/zhangjie2012/promclient-go","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zhangjie2012/promclient-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangjie2012%2Fpromclient-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangjie2012%2Fpromclient-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangjie2012%2Fpromclient-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangjie2012%2Fpromclient-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhangjie2012","download_url":"https://codeload.github.com/zhangjie2012/promclient-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangjie2012%2Fpromclient-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28800933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T03:44:14.111Z","status":"ssl_error","status_checked_at":"2026-01-27T03:43:33.507Z","response_time":168,"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":["go","prometheus","prometheus-client"],"created_at":"2026-01-27T04:03:05.525Z","updated_at":"2026-01-27T04:03:06.236Z","avatar_url":"https://github.com/zhangjie2012.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white\u0026style=flat-square)](https://pkg.go.dev/github.com/zhangjie2012/promclient-go)\n[![Go Report Card](https://goreportcard.com/badge/github.com/zhangjie2012/promclient-go)](https://goreportcard.com/report/github.com/zhangjie2012/promclient-go)\n\n# prometheus-client-go\n\na [Prometheus](https://prometheus.io/) go client (SDK), a simple Prometheus [HTTP API](https://prometheus.io/docs/prometheus/latest/querying/api/) wrapper.\n\n## Progress\n\n- [X] Query\n- [X] QueryRange\n- [X] QuerySeries\n- [X] QueryLabels\n- [X] QueryLabelValues\n- [X] QueryTargets\n- [ ] QueryRules\n- [ ] QueryAlerts\n- [ ] QueryTargetMetadata\n- [ ] QueryMetricMetadata\n- [ ] QueryAlertManagers\n- [ ] QueryStatusConfig\n- [ ] QueryStatusFlags\n- [ ] QueryStatusRuntimeInfo\n- [ ] QueryStatusBuildInfo\n- [ ] QueryStatusTSDB\n- [ ] TSDB Admin APIs\n\n## Usages\n\n```\ngo get github.com/zhangjie2012/promclient-go\n```\n\n```go\nimport promclient \"github.com/zhangjie2012/promclient-go\"\n\nc = promclient.NewClient(PrometheusUrl, 0)\nc.Query(\"up\", float64(time.Now().Unix()))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhangjie2012%2Fpromclient-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhangjie2012%2Fpromclient-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhangjie2012%2Fpromclient-go/lists"}