Bravellian.Platform.Metrics.HttpServer 2026.2.3.1131

dotnet add package Bravellian.Platform.Metrics.HttpServer --version 2026.2.3.1131
                    
NuGet\Install-Package Bravellian.Platform.Metrics.HttpServer -Version 2026.2.3.1131
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bravellian.Platform.Metrics.HttpServer" Version="2026.2.3.1131" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bravellian.Platform.Metrics.HttpServer" Version="2026.2.3.1131" />
                    
Directory.Packages.props
<PackageReference Include="Bravellian.Platform.Metrics.HttpServer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bravellian.Platform.Metrics.HttpServer --version 2026.2.3.1131
                    
#r "nuget: Bravellian.Platform.Metrics.HttpServer, 2026.2.3.1131"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bravellian.Platform.Metrics.HttpServer@2026.2.3.1131
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bravellian.Platform.Metrics.HttpServer&version=2026.2.3.1131
                    
Install as a Cake Addin
#tool nuget:?package=Bravellian.Platform.Metrics.HttpServer&version=2026.2.3.1131
                    
Install as a Cake Tool

Bravellian.Platform.Metrics.HttpServer

Self-hosted Prometheus metrics server for Bravellian.Platform using the OpenTelemetry HTTP listener exporter.

Install

dotnet add package Bravellian.Platform.Metrics.HttpServer

Usage

using Bravellian.Platform.Metrics.HttpServer;

using var server = new PlatformMetricsHttpServer(new PlatformMetricsHttpServerOptions
{
    Meter = new PlatformMeterOptions
    {
        MeterName = "Bravellian.Platform.MyApp"
    },
    UriPrefixes = ["http://localhost:9464/"],
    ScrapeEndpointPath = "/metrics"
});

Console.WriteLine("Prometheus scrape endpoint running at http://localhost:9464/metrics");
Console.ReadLine();
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.2.3.1131 136 2/3/2026
2026.2.3.387 84 2/3/2026
2026.2.3.215 73 2/3/2026
2026.2.3.196 93 2/3/2026
2026.2.2.1402 82 2/2/2026
2026.2.2.1040 82 2/2/2026
2026.2.1.1354 85 2/1/2026
2026.2.1.1297 89 2/1/2026
2026.2.1.1217 80 2/1/2026
2026.2.1.333 80 2/1/2026
2026.2.1.326 80 2/1/2026
2026.2.1.159 79 2/1/2026
2026.1.31.455 85 1/31/2026
2026.1.30.391 84 1/30/2026
2026.1.29.1054 85 1/29/2026
2026.1.28.1297 85 1/28/2026
2026.1.28.293 86 1/28/2026
2026.1.27.1127 446 1/27/2026