{"id":37092501,"url":"https://github.com/halilylm/prometheusmiddleware","last_synced_at":"2026-01-14T11:15:31.918Z","repository":{"id":64297866,"uuid":"565547596","full_name":"halilylm/prometheusmiddleware","owner":"halilylm","description":"Prometheus middleware for fiber","archived":false,"fork":false,"pushed_at":"2022-12-20T15:17:42.000Z","size":27,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T00:44:33.651Z","etag":null,"topics":["fiber","fiber-framework","golang","metrics","prometheus"],"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/halilylm.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}},"created_at":"2022-11-13T18:47:34.000Z","updated_at":"2024-06-20T00:44:33.652Z","dependencies_parsed_at":"2023-01-15T09:01:43.892Z","dependency_job_id":null,"html_url":"https://github.com/halilylm/prometheusmiddleware","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/halilylm/prometheusmiddleware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilylm%2Fprometheusmiddleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilylm%2Fprometheusmiddleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilylm%2Fprometheusmiddleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilylm%2Fprometheusmiddleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halilylm","download_url":"https://codeload.github.com/halilylm/prometheusmiddleware/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilylm%2Fprometheusmiddleware/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28418057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"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":["fiber","fiber-framework","golang","metrics","prometheus"],"created_at":"2026-01-14T11:15:31.264Z","updated_at":"2026-01-14T11:15:31.913Z","avatar_url":"https://github.com/halilylm.png","language":"Go","funding_links":["https://www.buymeacoffee.com/HxbwM8Z"],"categories":[],"sub_categories":[],"readme":"\n## Badges\n\n[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/) [![Go Report Card](https://goreportcard.com/badge/github.com/halilylm/prometheusmiddleware)](https://goreportcard.com/report/github.com/halilylm/prometheusmiddleware)\n\n# Buy me a coffee\nI put a lot of effort into open-source projects. You can thank me by buying me a coffee :) \u003cbr /\u003e\n[![\"Buy Me A Coffee\"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/HxbwM8Z)\n\n\n# Prometheus Middleware For Fiber v2\n\nMiddleware for prometheus to observe metrics.\n\nYou can also register other metrics and see them in path you define.\n\n\n## Metrics available by deault\n\n`app_http_requests_total`\n\n`app_http_request_duration_seconds`\n\n\n## Installation\n\n\n```bash\n  go get github.com/halilylm/prometheusmiddleware@v0.1.0\n```\n    \n## Usage/Examples\n\n```golang\nmiddlewarePath := \"/metrics\"\napp := fiber.New()\nregistry := prometheus.NewRegistry()\nmiddleware := prometheusmiddleware.NewPrometheusMiddleware(registry, middlewarePath)\nmiddleware.Use(app)\n```\n\n\n## Feedback\n\nIf you have any feedback, please reach out to me at halilibrjim@gmail.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalilylm%2Fprometheusmiddleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalilylm%2Fprometheusmiddleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalilylm%2Fprometheusmiddleware/lists"}