{"id":16036376,"url":"https://github.com/excitableaardvark/fastify-prom-client","last_synced_at":"2026-05-17T03:44:42.807Z","repository":{"id":57233357,"uuid":"132256067","full_name":"ExcitableAardvark/fastify-prom-client","owner":"ExcitableAardvark","description":"instrument a fastify application for consumption by prometheus","archived":false,"fork":false,"pushed_at":"2018-05-05T14:39:58.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-06T09:26:02.764Z","etag":null,"topics":["fastify","prometheus"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ExcitableAardvark.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}},"created_at":"2018-05-05T14:38:33.000Z","updated_at":"2021-05-07T10:00:00.000Z","dependencies_parsed_at":"2022-08-31T20:51:12.187Z","dependency_job_id":null,"html_url":"https://github.com/ExcitableAardvark/fastify-prom-client","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExcitableAardvark%2Ffastify-prom-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExcitableAardvark%2Ffastify-prom-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExcitableAardvark%2Ffastify-prom-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExcitableAardvark%2Ffastify-prom-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ExcitableAardvark","download_url":"https://codeload.github.com/ExcitableAardvark/fastify-prom-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289430,"owners_count":20914464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["fastify","prometheus"],"created_at":"2024-10-08T22:03:35.716Z","updated_at":"2025-10-19T12:19:19.486Z","avatar_url":"https://github.com/ExcitableAardvark.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastify-prom-client\n\u003e instrument a fastify application for consumption by prometheus\n\n### Installation \n\n    npm install --save fastify-prom-client\n\n### Usage\n```js\n// use default options\nfastify.register(require('fastify-prom-client'))\n\n// or if you wanted to customise the metric\nconst prometheus = require('prom-client')\n\nfastify.register(require('fastify-prom-client'), {\n  metric: new prometheus.Histogram({\n    name: 'http_request_buckets_milliseconds',\n    help: 'request duration buckets in milliseconds'\n  })\n})\n```\n\nSee `example.js` for a full example.\n\n### License\nReleased under the 3-Clause BSD License. See `LICENSE` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcitableaardvark%2Ffastify-prom-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexcitableaardvark%2Ffastify-prom-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcitableaardvark%2Ffastify-prom-client/lists"}