TheNerdCollective.Blazor.Observability 1.2.1

dotnet add package TheNerdCollective.Blazor.Observability --version 1.2.1
                    
NuGet\Install-Package TheNerdCollective.Blazor.Observability -Version 1.2.1
                    
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="TheNerdCollective.Blazor.Observability" Version="1.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TheNerdCollective.Blazor.Observability" Version="1.2.1" />
                    
Directory.Packages.props
<PackageReference Include="TheNerdCollective.Blazor.Observability" />
                    
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 TheNerdCollective.Blazor.Observability --version 1.2.1
                    
#r "nuget: TheNerdCollective.Blazor.Observability, 1.2.1"
                    
#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 TheNerdCollective.Blazor.Observability@1.2.1
                    
#: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=TheNerdCollective.Blazor.Observability&version=1.2.1
                    
Install as a Cake Addin
#tool nuget:?package=TheNerdCollective.Blazor.Observability&version=1.2.1
                    
Install as a Cake Tool

TheNerdCollective.Blazor.Observability

Backend-agnostic observability dashboard services for Blazor Server apps instrumented with OpenTelemetry.

Pairs with:

Features

  • IObservabilityBackend — swap query backends without changing UI
  • IObservabilityDashboardService — overview snapshots and preset panels
  • Minimal API/api/observability/* for dashboard data
  • Server-side only — API tokens never sent to the browser

Installation

dotnet add package TheNerdCollective.Blazor.Observability
dotnet add package TheNerdCollective.Blazor.Observability.SigNoz   # SigNoz backend
dotnet add package TheNerdCollective.MudComponents.ObservabilityDashboard   # optional UI

Quick start

using TheNerdCollective.Blazor.Observability;
using TheNerdCollective.Blazor.Observability.SigNoz;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddObservabilityDashboardWithSigNoz(builder.Configuration);

var app = builder.Build();

app.MapObservabilityDashboardEndpoints()
   .RequireAuthorization(); // host must restrict ops APIs

app.Run();

Configuration

{
  "NerdObservability": {
    "DefaultServiceName": "my-app",
    "DefaultLookbackMinutes": 15,
    "ExternalDashboardBaseUrl": "https://devops.example.com",
    "SigNoz": {
      "BaseUrl": "http://127.0.0.1:8080",
      "ApiToken": "your-editor-api-key"
    }
  }
}

API routes

Route Description
GET /api/observability/overview?service= Scalar overview snapshot
GET /api/observability/panel/{panelId}?service=&minutes= Time series for preset panel
GET /api/observability/services?minutes= Service list
GET /api/observability/health?service=&minutes= Coarse health summary

Preset panels

Panel IDs are backend-neutral (ObservabilityPanelId). Each adapter maps them to backend-specific queries — SigNoz uses span metrics aligned with Nerd Consent consent-host-overview.json.

Backend extensibility (SigNoz vs Grafana)

Layer Package Role
Instrumentation Host app (OpenTelemetry.*) Export traces/metrics via OTLP
Query adapter Blazor.Observability.SigNoz, future *.Grafana Implement IObservabilityBackend
Dashboard Blazor.Observability + MudComponents Backend-agnostic UI

OpenTelemetry does not automatically connect this dashboard to Grafana. OTel exports data; each backend adapter queries it back via that backend's HTTP API.

Register adapters explicitly:

builder.Services.AddObservabilityDashboard(configuration);
builder.Services.AddSigNozObservabilityBackend(configuration);
// future: builder.Services.AddGrafanaObservabilityBackend(configuration);

Security

  • Keep backend API tokens in server configuration/secrets only
  • Protect minimal API routes with your admin authorization policy
  • This package queries aggregates — no trace payloads or PII
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.
  • net10.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on TheNerdCollective.Blazor.Observability:

Package Downloads
TheNerdCollective.Blazor.Observability.SigNoz

SigNoz query adapter for TheNerdCollective.Blazor.Observability. Maps preset panels to SigNoz v4 APIs.

TheNerdCollective.MudComponents.ObservabilityDashboard

MudBlazor 9.7 observability dashboard components for Blazor Server ops overviews. Requires TheNerdCollective.Blazor.Observability.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.1 516 8/4/2026
1.2.0 400 7/31/2026
1.1.3 136 7/31/2026
1.1.2 166 7/30/2026
1.1.1 135 7/30/2026
1.1.0 131 7/30/2026
1.0.0 156 7/30/2026