https://github.com/prom-client-net/prom-client-owin
Owin middleware
https://github.com/prom-client-net/prom-client-owin
metrics prometheus prometheus-client
Last synced: 5 months ago
JSON representation
Owin middleware
- Host: GitHub
- URL: https://github.com/prom-client-net/prom-client-owin
- Owner: prom-client-net
- License: mit
- Created: 2017-05-05T23:05:31.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2025-12-13T04:04:04.000Z (6 months ago)
- Last Synced: 2025-12-14T18:10:00.638Z (6 months ago)
- Topics: metrics, prometheus, prometheus-client
- Language: C#
- Homepage:
- Size: 186 KB
- Stars: 10
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Prometheus.Client.Owin
[](https://github.com/prom-client-net/prom-client-owin/actions/workflows/ci.yml)
[](https://www.nuget.org/packages/Prometheus.Client.Owin)
[](https://www.nuget.org/packages/Prometheus.Client.Owin)
[](https://github.com/prom-client-net/prom-client-owin/blob/main/LICENSE)
Extension for [Prometheus.Client](https://github.com/PrometheusClientNet/Prometheus.Client)
## Installation
```sh
dotnet add package Prometheus.Client.Owin
```
## Use
[Examples](https://github.com/prom-client-net/prom-examples)
```c#
public void Configuration(IAppBuilder app)
{
app.UsePrometheusServer();
}
```
```c#
public void Configuration(IAppBuilder app)
{
app.UsePrometheusServer(q =>
{
q.MapPath = "/api/metrics";
});
}
```
## Contribute
Contributions to the package are always welcome!
* Report any bugs or issues you find on the [issue tracker](https://github.com/prom-client-net/prom-client-owin/issues).
* You can grab the source code at the package's [git repository](https://github.com/prom-client-net/prom-client-owin).
## License
All contents of this package are licensed under the [MIT license](https://opensource.org/licenses/MIT).