https://github.com/jscarle/statusreporter
A status reporter for .NET Web Applications and APIs.
https://github.com/jscarle/statusreporter
Last synced: 2 months ago
JSON representation
A status reporter for .NET Web Applications and APIs.
- Host: GitHub
- URL: https://github.com/jscarle/statusreporter
- Owner: jscarle
- License: mit
- Created: 2025-01-21T20:02:33.000Z (4 months ago)
- Default Branch: develop
- Last Pushed: 2025-01-21T21:08:19.000Z (4 months ago)
- Last Synced: 2025-03-02T00:49:01.340Z (3 months ago)
- Language: C#
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# StatusReporter
A status reporter for .NET Web Applications and APIs.
## Quick Start
### Register the Status Reporter
```csharp
builder.Services.AddStatusReporter();
```### Map the Status Endpoint
_(Defaults to /status)_
```csharp
app.MapStatus();
```### Sample Output
```json
{
"assembly": "Api",
"version": "17.3.11-rc.41283",
"builtOn": "2025-01-21T12:35:24.0000000-05:00",
"framework": ".NET 9.0.0",
"hostname": "3f74cbf2ee2",
"operatingSystem": "Debian GNU/Linux 12 (bookworm)",
"environment": "Development",
"startedOn": "2025-01-21T12:40:40.7332471-05:00",
"current": "2025-01-21T16:00:49.5350510-05:00",
"uptime": "3:20:08"
}
```