{"id":15074352,"url":"https://github.com/nkcmr/promgrpc","last_synced_at":"2026-02-24T08:34:45.120Z","repository":{"id":256244822,"uuid":"854710991","full_name":"nkcmr/promgrpc","owner":"nkcmr","description":"Simple prometheus metrics for grpc-go","archived":false,"fork":false,"pushed_at":"2024-09-09T16:42:15.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-26T21:24:30.192Z","etag":null,"topics":["grpc","grpc-go","observability","prometheus","prometheus-metrics"],"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/nkcmr.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":"2024-09-09T16:40:37.000Z","updated_at":"2024-12-21T04:51:37.000Z","dependencies_parsed_at":"2024-09-09T20:39:31.306Z","dependency_job_id":"b3a8ff2e-ddb7-4d47-a82a-0e266c672d9c","html_url":"https://github.com/nkcmr/promgrpc","commit_stats":null,"previous_names":["nkcmr/promgrpc"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nkcmr/promgrpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkcmr%2Fpromgrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkcmr%2Fpromgrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkcmr%2Fpromgrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkcmr%2Fpromgrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nkcmr","download_url":"https://codeload.github.com/nkcmr/promgrpc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkcmr%2Fpromgrpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29776642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:54:30.205Z","status":"ssl_error","status_checked_at":"2026-02-24T04:53:58.628Z","response_time":75,"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":["grpc","grpc-go","observability","prometheus","prometheus-metrics"],"created_at":"2024-09-25T03:32:29.127Z","updated_at":"2026-02-24T08:34:45.099Z","avatar_url":"https://github.com/nkcmr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# promgrpc\n\nsimple prometheus metrics for gRPC-go that observes from the `stats.Handler` point in the gRPC stack.\n\n## exported metrics\n\nLabel explanations:\n\n* `grpc_type`: one of `unary`, `server_stream`, `client_stream`, `bidi_stream`\n* `grpc_service`: given full method name of `/grpc.examples.echo.Echo/UnaryEcho`, this will be set to `grpc.examples.echo.Echo`\n* `grpc_method`: given full method name of `/grpc.examples.echo.Echo/UnaryEcho`, this will be set to `UnaryEcho`\n* `grpc_code`: a grpc code in title case, eg. `OK`, `PermissionDenied`\n\n### server metrics\n\n* `grpc_server_started_total`: Total number of RPCs started on the server. Observed when the RPC first begins.\n  * Labels: `grpc_type`, `grpc_service`, `grpc_method`\n* `grpc_server_handled_total`: Total number of RPCs completed on the server, regardless of success or failure.\n  * Labels: `grpc_type`, `grpc_service`, `grpc_method`, `grpc_code`\n* `grpc_server_msg_received_total`: Total number of RPC stream messages received on the server. Only observes +1 on non-stream server input, +N, where N\u003e=0 on streaming server input.\n  * Labels: `grpc_type`, `grpc_service`, `grpc_method`\n* `grpc_server_msg_sent_total`: Total number of gRPC stream messages sent by the server. Only observes +1 on non-stream server output, +N, where N\u003e=0 on streaming server output.\n  * Labels: `grpc_type`, `grpc_service`, `grpc_method`\n* `grpc_server_handling_seconds`: Histogram of response latency (seconds) of gRPC that had been application-level handled by the server.\n  * Labels: `grpc_type`, `grpc_service`, `grpc_method`\n\n### client metrics\n\n* `grpc_client_started_total`: Total number of RPCs started on the client. Observed when the RPC first begins.\n  * Labels: `grpc_type`, `grpc_service`, `grpc_method`\n* `grpc_client_handled_total`: Total number of RPCs completed by the client, regardless of success or failure.\n  * Labels: `grpc_type`, `grpc_service`, `grpc_method`, `grpc_code`\n* `grpc_client_msg_received_total`: Total number of RPC stream messages received by the client. Only observes +1 on non-stream server output, +N, where N\u003e=0 on streaming server output.\n  * Labels: `grpc_type`, `grpc_service`, `grpc_method`\n* `grpc_client_msg_sent_total`: Total number of gRPC stream messages sent by the client. Only observes +1 on non-stream client input, +N, where N\u003e=0 on streaming client input.\n  * Labels: `grpc_type`, `grpc_service`, `grpc_method`\n* `grpc_client_handling_seconds`: Histogram of response latency (seconds) of the gRPC until it is finished by the application.\n  * Labels: `grpc_type`, `grpc_service`, `grpc_method`\n\n\n\n## license \n\nMIT License: Copyright (c) 2024 Nicholas Comer\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkcmr%2Fpromgrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnkcmr%2Fpromgrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkcmr%2Fpromgrpc/lists"}