{"id":36677461,"url":"https://github.com/prom-client-net/prom-client-dependencyinjection","last_synced_at":"2026-01-12T10:52:00.500Z","repository":{"id":37886928,"uuid":"288654519","full_name":"prom-client-net/prom-client-dependencyinjection","owner":"prom-client-net","description":"Dependency Injection extensions ","archived":false,"fork":false,"pushed_at":"2025-12-13T04:04:23.000Z","size":295,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-31T00:52:56.292Z","etag":null,"topics":["metrics","prometheus","prometheus-client"],"latest_commit_sha":null,"homepage":"","language":"C#","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/prom-client-net.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"phnx47","ko_fi":"phnx47","buy_me_a_coffee":"phnx47"}},"created_at":"2020-08-19T06:40:55.000Z","updated_at":"2025-12-13T04:04:26.000Z","dependencies_parsed_at":"2023-10-17T06:49:01.326Z","dependency_job_id":"8b52e8a9-bc93-47aa-a253-2256ba4746b4","html_url":"https://github.com/prom-client-net/prom-client-dependencyinjection","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/prom-client-net/prom-client-dependencyinjection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prom-client-net%2Fprom-client-dependencyinjection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prom-client-net%2Fprom-client-dependencyinjection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prom-client-net%2Fprom-client-dependencyinjection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prom-client-net%2Fprom-client-dependencyinjection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prom-client-net","download_url":"https://codeload.github.com/prom-client-net/prom-client-dependencyinjection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prom-client-net%2Fprom-client-dependencyinjection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:40:25.642Z","status":"ssl_error","status_checked_at":"2026-01-12T10:39:27.820Z","response_time":98,"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":["metrics","prometheus","prometheus-client"],"created_at":"2026-01-12T10:52:00.424Z","updated_at":"2026-01-12T10:52:00.486Z","avatar_url":"https://github.com/prom-client-net.png","language":"C#","funding_links":["https://github.com/sponsors/phnx47","https://ko-fi.com/phnx47","https://buymeacoffee.com/phnx47"],"categories":[],"sub_categories":[],"readme":"# Prometheus.Client.DependencyInjection\n\n[![ci](https://img.shields.io/github/actions/workflow/status/prom-client-net/prom-client-dependencyinjection/ci.yml?branch=main\u0026label=ci\u0026logo=github\u0026style=flat-square)](https://github.com/prom-client-net/prom-client-dependencyinjection/actions/workflows/ci.yml)\n[![nuget](https://img.shields.io/nuget/v/Prometheus.Client.DependencyInjection?logo=nuget\u0026style=flat-square)](https://www.nuget.org/packages/Prometheus.Client.DependencyInjection)\n[![nuget](https://img.shields.io/nuget/dt/Prometheus.Client.DependencyInjection?logo=nuget\u0026style=flat-square)](https://www.nuget.org/packages/Prometheus.Client.DependencyInjection)\n[![codecov](https://img.shields.io/codecov/c/github/prom-client-net/prom-client-dependencyinjection?logo=codecov\u0026style=flat-square)](https://app.codecov.io/gh/prom-client-net/prom-client-dependencyinjection)\n[![license](https://img.shields.io/github/license/prom-client-net/prom-client-dependencyinjection?style=flat-square)](https://github.com/prom-client-net/prom-client-dependencyinjection/blob/main/LICENSE)\n\n## Install\n\n```sh\ndotnet add package Prometheus.Client.DependencyInjection\n```\n\n## Use\n\n```c#\npublic IServiceProvider ConfigureServices(IServiceCollection services)\n{\n    services.AddMetricFactory();\n}\n```\n\nor compatible with static `Metrics.DefaultCollectorRegistry`:\n\n```c#\npublic IServiceProvider ConfigureServices(IServiceCollection services)\n{\n    services.AddMetricFactory(Metrics.DefaultCollectorRegistry);\n}\n```\n\n## Contribute\n\nContributions to the package are always welcome!\n\n* Report any bugs or issues you find on the [issue tracker](https://github.com/prom-client-net/prom-client-dependencyinjection/issues).\n* You can grab the source code at the package's [git repository](https://github.com/prom-client-net/prom-client-dependencyinjection).\n\n## License\n\nAll contents of this package are licensed under the [MIT license](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprom-client-net%2Fprom-client-dependencyinjection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprom-client-net%2Fprom-client-dependencyinjection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprom-client-net%2Fprom-client-dependencyinjection/lists"}