{"id":21140311,"url":"https://github.com/macielti/prometheus-component","last_synced_at":"2026-02-26T21:04:18.931Z","repository":{"id":263595333,"uuid":"890887724","full_name":"macielti/prometheus-component","owner":"macielti","description":"Prometheus component for integrant","archived":false,"fork":false,"pushed_at":"2025-03-04T10:43:41.000Z","size":44,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T01:42:25.607Z","etag":null,"topics":["clojure","integrant","prometheus"],"latest_commit_sha":null,"homepage":"https://github.com/macielti/prometheus-component","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macielti.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2024-11-19T11:02:45.000Z","updated_at":"2025-03-04T10:43:44.000Z","dependencies_parsed_at":"2025-04-13T09:40:48.710Z","dependency_job_id":"97239e41-2b1b-4a66-9dfd-8fb9ecfee544","html_url":"https://github.com/macielti/prometheus-component","commit_stats":null,"previous_names":["macielti/prometheus-component"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/macielti/prometheus-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macielti%2Fprometheus-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macielti%2Fprometheus-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macielti%2Fprometheus-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macielti%2Fprometheus-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macielti","download_url":"https://codeload.github.com/macielti/prometheus-component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macielti%2Fprometheus-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29872674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T21:01:59.805Z","status":"ssl_error","status_checked_at":"2026-02-26T21:00:42.555Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["clojure","integrant","prometheus"],"created_at":"2024-11-20T07:14:27.636Z","updated_at":"2026-02-26T21:04:18.907Z","avatar_url":"https://github.com/macielti.png","language":"Clojure","readme":"[![Clojars Project](https://img.shields.io/clojars/v/net.clojars.macielti/prometheus-component.svg)](https://clojars.org/net.clojars.macielti/prometheus-component)\n![Compatible with GraalVM](https://img.shields.io/badge/compatible_with-GraalVM-green)\n\n# Prometheus Component\n\nThis is a component that allows you to monitor your application using Prometheus.\n\n## Default Metrics\n\nThe following default metrics are defined:\n\n- **http-request-response**\n    - **Type**: Counter\n    - **Labels**: `:status`, `:service`, `:endpoint`\n    - **Description**: Counts the number of HTTP requests and their\n      responses ([HTTP Client Component](https://github.com/macielti/http-client-component)).\n\n- **http-request-response-timing**\n    - **Type**: Summary\n    - **Labels**: `:service`, `:endpoint`\n    - **Quantiles**:\n        - 0.5: 0.05\n        - 0.9: 0.1\n        - 0.99: 0.001\n    - **Description**: Measures the response time of HTTP\n      requests ([HTTP Client Component](https://github.com/macielti/http-client-component)).\n\n- **http-request-in-handle-timing-v2**\n    - **Type**: Summary\n    - **Labels**: `:service`, `:endpoint`\n    - **Quantiles**:\n        - 0.5: 0.05\n        - 0.9: 0.1\n        - 0.99: 0.001\n    - **Description**: Measures the time taken to handle HTTP\n      requests ([Service Component](https://github.com/macielti/service-component)).\n\n- **job-execution-timing**\n    - **Type**: Summary\n    - **Labels**: `:service`, `:job-id`\n    - **Quantiles**:\n        - 0.5: 0.05\n        - 0.9: 0.1\n        - 0.99: 0.001\n    - **Description**: Measures the time taken to execute a\n      job ([Scheduler Component](https://github.com/macielti/scheduler-component)).\n\n- **elapsed-time**\n    - **Type**: Summary\n    - **Labels**: `:id`\n    - **Quantiles**:\n        - 0.5: 0.05\n        - 0.9: 0.1\n        - 0.99: 0.001\n    - **Description**: Measures the elapsed time to run a given body of code.\n\n## License\n\nCopyright © 2024 Bruno do Nascimento\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacielti%2Fprometheus-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacielti%2Fprometheus-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacielti%2Fprometheus-component/lists"}