init
This commit is contained in:
19
GrafanaBlazor/BlazorApp/App.razor
Normal file
19
GrafanaBlazor/BlazorApp/App.razor
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<base href="/" />
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="css/app.css" />
|
||||
<link rel="icon" type="image/png" href="favicon.png" />
|
||||
<HeadOutlet />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<Routes />
|
||||
<script src="_framework/blazor.web.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
24
GrafanaBlazor/BlazorApp/BlazorApp.csproj
Normal file
24
GrafanaBlazor/BlazorApp/BlazorApp.csproj
Normal file
@@ -0,0 +1,24 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.ApplicationInsights" Version="2.22.0" />
|
||||
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
|
||||
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />
|
||||
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
|
||||
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.0" />
|
||||
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.7.0" />
|
||||
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.7.0" />
|
||||
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.7.0" />
|
||||
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.7.1" />
|
||||
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.7.1" />
|
||||
<PackageReference Include="prometheus-net.AspNetCore" Version="8.2.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
23
GrafanaBlazor/BlazorApp/Components/Layout/MainLayout.razor
Normal file
23
GrafanaBlazor/BlazorApp/Components/Layout/MainLayout.razor
Normal file
@@ -0,0 +1,23 @@
|
||||
@inherits LayoutComponentBase
|
||||
|
||||
<div class="page">
|
||||
<div class="sidebar">
|
||||
<NavMenu />
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<div class="top-row px-4">
|
||||
<a href="https://learn.microsoft.com/aspnet/core/" target="_blank">About</a>
|
||||
</div>
|
||||
|
||||
<article class="content px-4">
|
||||
@Body
|
||||
</article>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<div id="blazor-error-ui">
|
||||
An unhandled error has occurred.
|
||||
<a href="" class="reload">Reload</a>
|
||||
<a class="dismiss">🗙</a>
|
||||
</div>
|
||||
21
GrafanaBlazor/BlazorApp/Components/Layout/NavMenu.razor
Normal file
21
GrafanaBlazor/BlazorApp/Components/Layout/NavMenu.razor
Normal file
@@ -0,0 +1,21 @@
|
||||
<div class="nav-scrollable" onclick="document.querySelector('.navbar-toggler').click()">
|
||||
<nav class="flex-column">
|
||||
<div class="nav-item px-3">
|
||||
<NavLink class="nav-link" href="" Match="NavLinkMatch.All">
|
||||
<span class="bi bi-house-door-fill-nav-menu" aria-hidden="true"></span> Home
|
||||
</NavLink>
|
||||
</div>
|
||||
|
||||
<div class="nav-item px-3">
|
||||
<NavLink class="nav-link" href="metrics">
|
||||
<span class="bi bi-graph-up-arrow" aria-hidden="true"></span> Metrics
|
||||
</NavLink>
|
||||
</div>
|
||||
|
||||
<div class="nav-item px-3">
|
||||
<NavLink class="nav-link" href="logs">
|
||||
<span class="bi bi-journal-text" aria-hidden="true"></span> Logs Demo
|
||||
</NavLink>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
42
GrafanaBlazor/BlazorApp/Components/Pages/Home.razor
Normal file
42
GrafanaBlazor/BlazorApp/Components/Pages/Home.razor
Normal file
@@ -0,0 +1,42 @@
|
||||
@page "/"
|
||||
@inject ILogger<Home> Logger
|
||||
|
||||
<PageTitle>Home</PageTitle>
|
||||
|
||||
<h1>Blazor Server App - Grafana Observability Demo</h1>
|
||||
|
||||
<p>Welcome! This application is configured with:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>Serilog</strong> - Structured logging</li>
|
||||
<li><strong>Application Insights</strong> - Azure native monitoring</li>
|
||||
<li><strong>OpenTelemetry</strong> - Distributed tracing</li>
|
||||
<li><strong>Prometheus</strong> - Metrics endpoint at <code>/metrics</code></li>
|
||||
</ul>
|
||||
|
||||
<h2>Available Endpoints</h2>
|
||||
|
||||
<ul>
|
||||
<li><code>/health</code> - Health check endpoint</li>
|
||||
<li><code>/metrics</code> - Prometheus metrics</li>
|
||||
</ul>
|
||||
|
||||
<div class="alert alert-info mt-4">
|
||||
<h4>Getting Started with Grafana</h4>
|
||||
<p>To visualize this data in Grafana:</p>
|
||||
<ol>
|
||||
<li>Add Prometheus as a data source pointing to this app's <code>/metrics</code> endpoint</li>
|
||||
<li>Add Azure Monitor as a data source for Application Insights</li>
|
||||
<li>Create dashboards to visualize your metrics and logs</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-primary" @onclick="LogTestMessage">Generate Test Log</button>
|
||||
|
||||
@code {
|
||||
private void LogTestMessage()
|
||||
{
|
||||
Logger.LogInformation("Test log message generated from Home page at {Timestamp}", DateTime.UtcNow);
|
||||
Logger.LogWarning("This is a warning message for testing");
|
||||
}
|
||||
}
|
||||
131
GrafanaBlazor/BlazorApp/Components/Pages/Logs.razor
Normal file
131
GrafanaBlazor/BlazorApp/Components/Pages/Logs.razor
Normal file
@@ -0,0 +1,131 @@
|
||||
@page "/logs"
|
||||
@inject ILogger<Logs> Logger
|
||||
|
||||
<PageTitle>Logs</PageTitle>
|
||||
|
||||
<h1>Logs Demo</h1>
|
||||
|
||||
<p>This page helps you generate different types of log entries for testing your Grafana setup.</p>
|
||||
|
||||
<div class="row mt-4">
|
||||
<div class="col-md-4">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Information</h5>
|
||||
<p>Generate informational log entries.</p>
|
||||
<button class="btn btn-info" @onclick="@(() => LogMessage(LogLevel.Information))">
|
||||
Log Information
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Warning</h5>
|
||||
<p>Generate warning log entries.</p>
|
||||
<button class="btn btn-warning" @onclick="@(() => LogMessage(LogLevel.Warning))">
|
||||
Log Warning
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Error</h5>
|
||||
<p>Generate error log entries.</p>
|
||||
<button class="btn btn-danger" @onclick="@(() => LogMessage(LogLevel.Error))">
|
||||
Log Error
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-4">
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Structured Logging</h5>
|
||||
<p>Generate structured log with custom properties.</p>
|
||||
<button class="btn btn-primary" @onclick="LogStructuredMessage">
|
||||
Log Structured Data
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Bulk Logs</h5>
|
||||
<p>Generate multiple log entries at once.</p>
|
||||
<button class="btn btn-secondary" @onclick="GenerateBulkLogs">
|
||||
Generate 10 Logs
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-success mt-4">
|
||||
<strong>Total logs generated this session:</strong> @logCount
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private int logCount = 0;
|
||||
|
||||
private void LogMessage(LogLevel level)
|
||||
{
|
||||
var message = $"Test {level} message generated at {DateTime.UtcNow:O}";
|
||||
|
||||
switch (level)
|
||||
{
|
||||
case LogLevel.Information:
|
||||
Logger.LogInformation("{Message}", message);
|
||||
break;
|
||||
case LogLevel.Warning:
|
||||
Logger.LogWarning("{Message}", message);
|
||||
break;
|
||||
case LogLevel.Error:
|
||||
Logger.LogError("{Message}", message);
|
||||
break;
|
||||
}
|
||||
|
||||
logCount++;
|
||||
}
|
||||
|
||||
private void LogStructuredMessage()
|
||||
{
|
||||
var userId = Guid.NewGuid();
|
||||
var operationId = Random.Shared.Next(1000, 9999);
|
||||
|
||||
Logger.LogInformation(
|
||||
"User {UserId} performed operation {OperationId} with status {Status} at {Timestamp}",
|
||||
userId,
|
||||
operationId,
|
||||
"Success",
|
||||
DateTime.UtcNow
|
||||
);
|
||||
|
||||
logCount++;
|
||||
}
|
||||
|
||||
private void GenerateBulkLogs()
|
||||
{
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
var logLevel = i % 3 switch
|
||||
{
|
||||
0 => LogLevel.Information,
|
||||
1 => LogLevel.Warning,
|
||||
_ => LogLevel.Error
|
||||
};
|
||||
|
||||
LogMessage(logLevel);
|
||||
}
|
||||
}
|
||||
}
|
||||
111
GrafanaBlazor/BlazorApp/Components/Pages/Metrics.razor
Normal file
111
GrafanaBlazor/BlazorApp/Components/Pages/Metrics.razor
Normal file
@@ -0,0 +1,111 @@
|
||||
@page "/metrics"
|
||||
@inject ILogger<Metrics> Logger
|
||||
@using System.Diagnostics
|
||||
|
||||
<PageTitle>Metrics</PageTitle>
|
||||
|
||||
<h1>Metrics Demo</h1>
|
||||
|
||||
<p>This page demonstrates various metrics that can be tracked and visualized in Grafana.</p>
|
||||
|
||||
<div class="row mt-4">
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Counter Metrics</h5>
|
||||
<p>Counter: @counterValue</p>
|
||||
<button class="btn btn-primary" @onclick="IncrementCounter">Increment Counter</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Timer Metrics</h5>
|
||||
<p>Simulate a slow operation and track its duration.</p>
|
||||
<button class="btn btn-warning" @onclick="SimulateSlowOperation" disabled="@isProcessing">
|
||||
@(isProcessing ? "Processing..." : "Start Slow Operation")
|
||||
</button>
|
||||
@if (lastDuration > 0)
|
||||
{
|
||||
<p class="mt-2">Last operation took: @lastDuration ms</p>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-4">
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Error Simulation</h5>
|
||||
<p>Generate different types of log entries for testing.</p>
|
||||
<button class="btn btn-danger" @onclick="SimulateError">Generate Error</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Custom Metrics</h5>
|
||||
<p>Page visits: @pageVisits</p>
|
||||
<small class="text-muted">This counter increments each time you visit this page.</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private int counterValue = 0;
|
||||
private int pageVisits = 0;
|
||||
private bool isProcessing = false;
|
||||
private long lastDuration = 0;
|
||||
private static readonly ActivitySource ActivitySource = new("BlazorApp.Metrics");
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
pageVisits++;
|
||||
Logger.LogInformation("Metrics page visited. Total visits: {PageVisits}", pageVisits);
|
||||
}
|
||||
|
||||
private void IncrementCounter()
|
||||
{
|
||||
counterValue++;
|
||||
Logger.LogInformation("Counter incremented to {CounterValue}", counterValue);
|
||||
}
|
||||
|
||||
private async Task SimulateSlowOperation()
|
||||
{
|
||||
isProcessing = true;
|
||||
var sw = Stopwatch.StartNew();
|
||||
|
||||
using var activity = ActivitySource.StartActivity("SlowOperation");
|
||||
activity?.SetTag("operation.type", "simulated");
|
||||
|
||||
Logger.LogInformation("Starting slow operation");
|
||||
|
||||
try
|
||||
{
|
||||
await Task.Delay(Random.Shared.Next(1000, 3000));
|
||||
sw.Stop();
|
||||
lastDuration = sw.ElapsedMilliseconds;
|
||||
|
||||
Logger.LogInformation("Slow operation completed in {Duration}ms", lastDuration);
|
||||
activity?.SetTag("duration.ms", lastDuration);
|
||||
}
|
||||
finally
|
||||
{
|
||||
isProcessing = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void SimulateError()
|
||||
{
|
||||
var errorId = Guid.NewGuid();
|
||||
Logger.LogError("Simulated error with ID: {ErrorId}", errorId);
|
||||
Logger.LogWarning("This is a test warning associated with error {ErrorId}", errorId);
|
||||
}
|
||||
}
|
||||
68
GrafanaBlazor/BlazorApp/Program.cs
Normal file
68
GrafanaBlazor/BlazorApp/Program.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using BlazorApp.Components;
|
||||
using Serilog;
|
||||
using OpenTelemetry.Resources;
|
||||
using OpenTelemetry.Trace;
|
||||
using OpenTelemetry.Metrics;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
// Configure Serilog
|
||||
Log.Logger = new LoggerConfiguration()
|
||||
.ReadFrom.Configuration(builder.Configuration)
|
||||
.Enrich.FromLogContext()
|
||||
.WriteTo.Console()
|
||||
.WriteTo.File("logs/blazorapp-.log", rollingInterval: RollingInterval.Day)
|
||||
.CreateLogger();
|
||||
|
||||
builder.Host.UseSerilog();
|
||||
|
||||
// Add services to the container
|
||||
builder.Services.AddRazorComponents()
|
||||
.AddInteractiveServerComponents();
|
||||
|
||||
// Add Application Insights
|
||||
builder.Services.AddApplicationInsightsTelemetry();
|
||||
|
||||
// Add OpenTelemetry
|
||||
builder.Services.AddOpenTelemetry()
|
||||
.ConfigureResource(resource => resource
|
||||
.AddService(serviceName: "BlazorApp"))
|
||||
.WithTracing(tracing => tracing
|
||||
.AddAspNetCoreInstrumentation()
|
||||
.AddHttpClientInstrumentation()
|
||||
.AddConsoleExporter())
|
||||
.WithMetrics(metrics => metrics
|
||||
.AddAspNetCoreInstrumentation()
|
||||
.AddHttpClientInstrumentation()
|
||||
.AddConsoleExporter());
|
||||
|
||||
// Add health checks
|
||||
builder.Services.AddHealthChecks();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
// Configure the HTTP request pipeline
|
||||
if (!app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseExceptionHandler("/Error", createScopeForErrors: true);
|
||||
app.UseHsts();
|
||||
}
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
app.UseStaticFiles();
|
||||
app.UseAntiforgery();
|
||||
|
||||
// Enable Prometheus metrics endpoint
|
||||
app.UseMetricServer();
|
||||
app.UseHttpMetrics();
|
||||
|
||||
// Map health check endpoint
|
||||
app.MapHealthChecks("/health");
|
||||
|
||||
app.MapRazorComponents<App>()
|
||||
.AddInteractiveServerRenderMode();
|
||||
|
||||
app.Logger.LogInformation("BlazorApp starting up...");
|
||||
|
||||
app.Run();
|
||||
6
GrafanaBlazor/BlazorApp/Routes.razor
Normal file
6
GrafanaBlazor/BlazorApp/Routes.razor
Normal file
@@ -0,0 +1,6 @@
|
||||
<Router AppAssembly="@typeof(Program).Assembly">
|
||||
<Found Context="routeData">
|
||||
<RouteView RouteData="@routeData" DefaultLayout="@typeof(Layout.MainLayout)" />
|
||||
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
|
||||
</Found>
|
||||
</Router>
|
||||
11
GrafanaBlazor/BlazorApp/_Imports.razor
Normal file
11
GrafanaBlazor/BlazorApp/_Imports.razor
Normal file
@@ -0,0 +1,11 @@
|
||||
@using System.Net.Http
|
||||
@using System.Net.Http.Json
|
||||
@using Microsoft.AspNetCore.Components.Forms
|
||||
@using Microsoft.AspNetCore.Components.Routing
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@using static Microsoft.AspNetCore.Components.Web.RenderMode
|
||||
@using Microsoft.AspNetCore.Components.Web.Virtualization
|
||||
@using Microsoft.JSInterop
|
||||
@using BlazorApp
|
||||
@using BlazorApp.Components
|
||||
@using BlazorApp.Components.Layout
|
||||
27
GrafanaBlazor/BlazorApp/appsettings.json
Normal file
27
GrafanaBlazor/BlazorApp/appsettings.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"Serilog": {
|
||||
"MinimumLevel": {
|
||||
"Default": "Information",
|
||||
"Override": {
|
||||
"Microsoft": "Warning",
|
||||
"Microsoft.Hosting.Lifetime": "Information",
|
||||
"System": "Warning"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
},
|
||||
"ApplicationInsights": {
|
||||
"LogLevel": {
|
||||
"Default": "Information"
|
||||
}
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"ApplicationInsights": {
|
||||
"ConnectionString": ""
|
||||
}
|
||||
}
|
||||
130
GrafanaBlazor/BlazorApp/obj/BlazorApp.csproj.nuget.dgspec.json
Normal file
130
GrafanaBlazor/BlazorApp/obj/BlazorApp.csproj.nuget.dgspec.json
Normal file
@@ -0,0 +1,130 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/robert/Documents/repos/azure-web/BlazorApp/BlazorApp.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/robert/Documents/repos/azure-web/BlazorApp/BlazorApp.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/robert/Documents/repos/azure-web/BlazorApp/BlazorApp.csproj",
|
||||
"projectName": "BlazorApp",
|
||||
"projectPath": "/home/robert/Documents/repos/azure-web/BlazorApp/BlazorApp.csproj",
|
||||
"packagesPath": "/home/robert/.nuget/packages/",
|
||||
"outputPath": "/home/robert/Documents/repos/azure-web/BlazorApp/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/robert/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
},
|
||||
"SdkAnalysisLevel": "10.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"dependencies": {
|
||||
"Microsoft.ApplicationInsights.AspNetCore": {
|
||||
"target": "Package",
|
||||
"version": "[2.22.0, )"
|
||||
},
|
||||
"Microsoft.Extensions.Logging.ApplicationInsights": {
|
||||
"target": "Package",
|
||||
"version": "[2.22.0, )"
|
||||
},
|
||||
"OpenTelemetry.Exporter.Console": {
|
||||
"target": "Package",
|
||||
"version": "[1.7.0, )"
|
||||
},
|
||||
"OpenTelemetry.Exporter.OpenTelemetryProtocol": {
|
||||
"target": "Package",
|
||||
"version": "[1.7.0, )"
|
||||
},
|
||||
"OpenTelemetry.Extensions.Hosting": {
|
||||
"target": "Package",
|
||||
"version": "[1.7.0, )"
|
||||
},
|
||||
"OpenTelemetry.Instrumentation.AspNetCore": {
|
||||
"target": "Package",
|
||||
"version": "[1.7.1, )"
|
||||
},
|
||||
"OpenTelemetry.Instrumentation.Http": {
|
||||
"target": "Package",
|
||||
"version": "[1.7.1, )"
|
||||
},
|
||||
"Serilog.AspNetCore": {
|
||||
"target": "Package",
|
||||
"version": "[8.0.1, )"
|
||||
},
|
||||
"Serilog.Settings.Configuration": {
|
||||
"target": "Package",
|
||||
"version": "[8.0.0, )"
|
||||
},
|
||||
"Serilog.Sinks.Console": {
|
||||
"target": "Package",
|
||||
"version": "[5.0.1, )"
|
||||
},
|
||||
"Serilog.Sinks.File": {
|
||||
"target": "Package",
|
||||
"version": "[5.0.0, )"
|
||||
},
|
||||
"prometheus-net.AspNetCore": {
|
||||
"target": "Package",
|
||||
"version": "[8.2.1, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[8.0.22, 8.0.22]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Host.linux-x64",
|
||||
"version": "[8.0.22, 8.0.22]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.AspNetCore.App": {
|
||||
"privateAssets": "none"
|
||||
},
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.100/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
15
GrafanaBlazor/BlazorApp/obj/BlazorApp.csproj.nuget.g.props
Normal file
15
GrafanaBlazor/BlazorApp/obj/BlazorApp.csproj.nuget.g.props
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/robert/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/robert/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/home/robert/.nuget/packages/" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)system.text.json/8.0.0/buildTransitive/net6.0/System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json/8.0.0/buildTransitive/net6.0/System.Text.Json.targets')" />
|
||||
<Import Project="$(NuGetPackageRoot)microsoft.extensions.configuration.binder/8.0.0/buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.configuration.binder/8.0.0/buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets')" />
|
||||
<Import Project="$(NuGetPackageRoot)microsoft.extensions.options/8.0.0/buildTransitive/net6.0/Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options/8.0.0/buildTransitive/net6.0/Microsoft.Extensions.Options.targets')" />
|
||||
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions/8.0.0/buildTransitive/net6.0/Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions/8.0.0/buildTransitive/net6.0/Microsoft.Extensions.Logging.Abstractions.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
||||
@@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("BlazorApp")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("BlazorApp")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("BlazorApp")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
dde306ccf7bf4bb8d082a60aec7ba74921708f37594eac062aeef1d7dbc4376b
|
||||
@@ -0,0 +1,55 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net8.0
|
||||
build_property.TargetFrameworkIdentifier = .NETCoreApp
|
||||
build_property.TargetFrameworkVersion = v8.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb = true
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = BlazorApp
|
||||
build_property.RootNamespace = BlazorApp
|
||||
build_property.ProjectDir = /home/robert/Documents/repos/azure-web/BlazorApp/
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.RazorLangVersion = 8.0
|
||||
build_property.SupportLocalizedComponentNames =
|
||||
build_property.GenerateRazorMetadataSourceChecksumAttributes =
|
||||
build_property.MSBuildProjectDirectory = /home/robert/Documents/repos/azure-web/BlazorApp
|
||||
build_property._RazorSourceGeneratorDebug =
|
||||
build_property.EffectiveAnalysisLevelStyle = 8.0
|
||||
build_property.EnableCodeStyleSeverity =
|
||||
|
||||
[/home/robert/Documents/repos/azure-web/BlazorApp/App.razor]
|
||||
build_metadata.AdditionalFiles.TargetPath = QXBwLnJhem9y
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[/home/robert/Documents/repos/azure-web/BlazorApp/Components/Layout/MainLayout.razor]
|
||||
build_metadata.AdditionalFiles.TargetPath = Q29tcG9uZW50cy9MYXlvdXQvTWFpbkxheW91dC5yYXpvcg==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[/home/robert/Documents/repos/azure-web/BlazorApp/Components/Layout/NavMenu.razor]
|
||||
build_metadata.AdditionalFiles.TargetPath = Q29tcG9uZW50cy9MYXlvdXQvTmF2TWVudS5yYXpvcg==
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[/home/robert/Documents/repos/azure-web/BlazorApp/Components/Pages/Home.razor]
|
||||
build_metadata.AdditionalFiles.TargetPath = Q29tcG9uZW50cy9QYWdlcy9Ib21lLnJhem9y
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[/home/robert/Documents/repos/azure-web/BlazorApp/Components/Pages/Logs.razor]
|
||||
build_metadata.AdditionalFiles.TargetPath = Q29tcG9uZW50cy9QYWdlcy9Mb2dzLnJhem9y
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[/home/robert/Documents/repos/azure-web/BlazorApp/Components/Pages/Metrics.razor]
|
||||
build_metadata.AdditionalFiles.TargetPath = Q29tcG9uZW50cy9QYWdlcy9NZXRyaWNzLnJhem9y
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[/home/robert/Documents/repos/azure-web/BlazorApp/Routes.razor]
|
||||
build_metadata.AdditionalFiles.TargetPath = Um91dGVzLnJhem9y
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
|
||||
[/home/robert/Documents/repos/azure-web/BlazorApp/_Imports.razor]
|
||||
build_metadata.AdditionalFiles.TargetPath = X0ltcG9ydHMucmF6b3I=
|
||||
build_metadata.AdditionalFiles.CssScope =
|
||||
@@ -0,0 +1,17 @@
|
||||
// <auto-generated/>
|
||||
global using Microsoft.AspNetCore.Builder;
|
||||
global using Microsoft.AspNetCore.Hosting;
|
||||
global using Microsoft.AspNetCore.Http;
|
||||
global using Microsoft.AspNetCore.Routing;
|
||||
global using Microsoft.Extensions.Configuration;
|
||||
global using Microsoft.Extensions.DependencyInjection;
|
||||
global using Microsoft.Extensions.Hosting;
|
||||
global using Microsoft.Extensions.Logging;
|
||||
global using System;
|
||||
global using System.Collections.Generic;
|
||||
global using System.IO;
|
||||
global using System.Linq;
|
||||
global using System.Net.Http;
|
||||
global using System.Net.Http.Json;
|
||||
global using System.Threading;
|
||||
global using System.Threading.Tasks;
|
||||
@@ -0,0 +1,16 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Prometheus.AspNetCore")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
BIN
GrafanaBlazor/BlazorApp/obj/Debug/net8.0/BlazorApp.assets.cache
Normal file
BIN
GrafanaBlazor/BlazorApp/obj/Debug/net8.0/BlazorApp.assets.cache
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
ef03edf2c1c99e1989ab37ede0615e351e3bc6e15d8617b06a4ad5647c3f51a0
|
||||
@@ -0,0 +1,8 @@
|
||||
/home/robert/Documents/repos/azure-web/BlazorApp/obj/Debug/net8.0/BlazorApp.csproj.AssemblyReference.cache
|
||||
/home/robert/Documents/repos/azure-web/BlazorApp/obj/Debug/net8.0/rpswa.dswa.cache.json
|
||||
/home/robert/Documents/repos/azure-web/BlazorApp/obj/Debug/net8.0/BlazorApp.GeneratedMSBuildEditorConfig.editorconfig
|
||||
/home/robert/Documents/repos/azure-web/BlazorApp/obj/Debug/net8.0/BlazorApp.AssemblyInfoInputs.cache
|
||||
/home/robert/Documents/repos/azure-web/BlazorApp/obj/Debug/net8.0/BlazorApp.AssemblyInfo.cs
|
||||
/home/robert/Documents/repos/azure-web/BlazorApp/obj/Debug/net8.0/BlazorApp.csproj.CoreCompileInputs.cache
|
||||
/home/robert/Documents/repos/azure-web/BlazorApp/obj/Debug/net8.0/BlazorApp.MvcApplicationPartsAssemblyInfo.cs
|
||||
/home/robert/Documents/repos/azure-web/BlazorApp/obj/Debug/net8.0/BlazorApp.MvcApplicationPartsAssemblyInfo.cache
|
||||
@@ -0,0 +1 @@
|
||||
{"GlobalPropertiesHash":"ccQuP1h3J+qTJlTd8+t+EvsyTwT1WmMsdQ/GW8nCKBc=","FingerprintPatternsHash":"gq3WsqcKBUGTSNle7RKKyXRIwh7M8ccEqOqYvIzoM04=","PropertyOverridesHash":"8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=","InputHashes":["tTnK8VUcByjbDNR3a5TUed7WtuZcrVb9xbQJVhhiA5Y=","wv3kWnxdu1GvUaj9yySJfSu8aIocx9q0N1tZgcuTtWU=","LUrdm5WNNdZ4curT1rcM14xYzMF2HUsvkEqzMDZuwHI=","\u002BBqpfRks1dooPQQFQphQqPHm\u002BCeGAxwlSKsCegwbz6w=","z4vvdOQGcTxT7gN/WazgKuHHW80TDeNq99hp0X4qvF4=","bKHuv3z/aoG9kiqpmS/dQ8Nzmmi4GF76C065sPumDYM=","HThbJsxP5IboY2SH/oKqCBPVvW3gJKZ5TTgMuJ7HgJ4=","5oYWPZBeN\u002BAz07n7PuF5dX7tsf462mR/xxyywNYTY3k=","wB\u002Blqe/iZ5yw7FIWDOfSV1HFOylSoOb15S7E8siy96Q=","Cs\u002BqzZ3\u002BpvqaIGeeWRgClp1Y51DUyFbmgOLK99kpgJg="],"CachedAssets":{"tTnK8VUcByjbDNR3a5TUed7WtuZcrVb9xbQJVhhiA5Y=":{"Identity":"/home/robert/Documents/repos/azure-web/BlazorApp/wwwroot/css/app.css","SourceId":"BlazorApp","SourceType":"Discovered","ContentRoot":"/home/robert/Documents/repos/azure-web/BlazorApp/wwwroot/","BasePath":"/","RelativePath":"css/app#[.{fingerprint}]?.css","AssetKind":"All","AssetMode":"All","AssetRole":"Primary","AssetMergeBehavior":null,"AssetMergeSource":"","RelatedAsset":null,"AssetTraitName":null,"AssetTraitValue":null,"Fingerprint":"5pqjz6pznu","Integrity":"F8fWEP6GxgmqtOdEh5xA2AiAM2TdbQPtdl8qewWuKZQ=","CopyToOutputDirectory":"Never","CopyToPublishDirectory":"PreserveNewest","OriginalItemSpec":"wwwroot/css/app.css","FileLength":2304,"LastWriteTime":"2026-01-28T02:52:52.6882561+00:00"}},"CachedCopyCandidates":{}}
|
||||
4833
GrafanaBlazor/BlazorApp/obj/project.assets.json
Normal file
4833
GrafanaBlazor/BlazorApp/obj/project.assets.json
Normal file
File diff suppressed because it is too large
Load Diff
131
GrafanaBlazor/BlazorApp/obj/project.nuget.cache
Normal file
131
GrafanaBlazor/BlazorApp/obj/project.nuget.cache
Normal file
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "f9jnpdTI+sg=",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/robert/Documents/repos/azure-web/BlazorApp/BlazorApp.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/robert/.nuget/packages/google.protobuf/3.22.5/google.protobuf.3.22.5.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/grpc.core.api/2.52.0/grpc.core.api.2.52.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/grpc.net.client/2.52.0/grpc.net.client.2.52.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/grpc.net.common/2.52.0/grpc.net.common.2.52.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.applicationinsights/2.22.0/microsoft.applicationinsights.2.22.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.applicationinsights.aspnetcore/2.22.0/microsoft.applicationinsights.aspnetcore.2.22.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.applicationinsights.dependencycollector/2.22.0/microsoft.applicationinsights.dependencycollector.2.22.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.applicationinsights.eventcountercollector/2.22.0/microsoft.applicationinsights.eventcountercollector.2.22.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.applicationinsights.perfcountercollector/2.22.0/microsoft.applicationinsights.perfcountercollector.2.22.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.applicationinsights.windowsserver/2.22.0/microsoft.applicationinsights.windowsserver.2.22.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.applicationinsights.windowsserver.telemetrychannel/2.22.0/microsoft.applicationinsights.windowsserver.telemetrychannel.2.22.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.aspnetcore.hosting/2.1.1/microsoft.aspnetcore.hosting.2.1.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.aspnetcore.hosting.abstractions/2.1.1/microsoft.aspnetcore.hosting.abstractions.2.1.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.aspnetcore.hosting.server.abstractions/2.1.1/microsoft.aspnetcore.hosting.server.abstractions.2.1.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.aspnetcore.http/2.1.22/microsoft.aspnetcore.http.2.1.22.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.aspnetcore.http.abstractions/2.1.1/microsoft.aspnetcore.http.abstractions.2.1.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.aspnetcore.http.extensions/2.1.1/microsoft.aspnetcore.http.extensions.2.1.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.aspnetcore.http.features/2.1.1/microsoft.aspnetcore.http.features.2.1.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.aspnetcore.webutilities/2.1.1/microsoft.aspnetcore.webutilities.2.1.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.caching.abstractions/1.0.0/microsoft.extensions.caching.abstractions.1.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.caching.memory/1.0.0/microsoft.extensions.caching.memory.1.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.configuration/8.0.0/microsoft.extensions.configuration.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.configuration.abstractions/8.0.0/microsoft.extensions.configuration.abstractions.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.configuration.binder/8.0.0/microsoft.extensions.configuration.binder.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.configuration.environmentvariables/2.1.1/microsoft.extensions.configuration.environmentvariables.2.1.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.configuration.fileextensions/3.1.0/microsoft.extensions.configuration.fileextensions.3.1.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.configuration.json/3.1.0/microsoft.extensions.configuration.json.3.1.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.dependencyinjection/8.0.0/microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.dependencyinjection.abstractions/8.0.0/microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.dependencymodel/8.0.0/microsoft.extensions.dependencymodel.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.diagnostics.abstractions/8.0.0/microsoft.extensions.diagnostics.abstractions.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.fileproviders.abstractions/8.0.0/microsoft.extensions.fileproviders.abstractions.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.fileproviders.physical/3.1.0/microsoft.extensions.fileproviders.physical.3.1.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.filesystemglobbing/3.1.0/microsoft.extensions.filesystemglobbing.3.1.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.hosting.abstractions/8.0.0/microsoft.extensions.hosting.abstractions.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.http/3.1.0/microsoft.extensions.http.3.1.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.logging/8.0.0/microsoft.extensions.logging.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.logging.abstractions/8.0.0/microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.logging.applicationinsights/2.22.0/microsoft.extensions.logging.applicationinsights.2.22.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.logging.configuration/8.0.0/microsoft.extensions.logging.configuration.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.objectpool/7.0.0/microsoft.extensions.objectpool.7.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.options/8.0.0/microsoft.extensions.options.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.options.configurationextensions/8.0.0/microsoft.extensions.options.configurationextensions.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.extensions.primitives/8.0.0/microsoft.extensions.primitives.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.net.http.headers/2.1.1/microsoft.net.http.headers.2.1.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.netcore.platforms/1.0.1/microsoft.netcore.platforms.1.0.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.netcore.targets/1.0.1/microsoft.netcore.targets.1.0.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.win32.systemevents/6.0.0/microsoft.win32.systemevents.6.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/opentelemetry/1.7.0/opentelemetry.1.7.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/opentelemetry.api/1.7.0/opentelemetry.api.1.7.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/opentelemetry.api.providerbuilderextensions/1.7.0/opentelemetry.api.providerbuilderextensions.1.7.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/opentelemetry.exporter.console/1.7.0/opentelemetry.exporter.console.1.7.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/opentelemetry.exporter.opentelemetryprotocol/1.7.0/opentelemetry.exporter.opentelemetryprotocol.1.7.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/opentelemetry.extensions.hosting/1.7.0/opentelemetry.extensions.hosting.1.7.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/opentelemetry.instrumentation.aspnetcore/1.7.1/opentelemetry.instrumentation.aspnetcore.1.7.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/opentelemetry.instrumentation.http/1.7.1/opentelemetry.instrumentation.http.1.7.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/prometheus-net/8.2.1/prometheus-net.8.2.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/prometheus-net.aspnetcore/8.2.1/prometheus-net.aspnetcore.8.2.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/serilog/3.1.1/serilog.3.1.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/serilog.aspnetcore/8.0.1/serilog.aspnetcore.8.0.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/serilog.extensions.hosting/8.0.0/serilog.extensions.hosting.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/serilog.extensions.logging/8.0.0/serilog.extensions.logging.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/serilog.formatting.compact/2.0.0/serilog.formatting.compact.2.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/serilog.settings.configuration/8.0.0/serilog.settings.configuration.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/serilog.sinks.console/5.0.1/serilog.sinks.console.5.0.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/serilog.sinks.debug/2.0.0/serilog.sinks.debug.2.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/serilog.sinks.file/5.0.0/serilog.sinks.file.5.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.buffers/4.5.0/system.buffers.4.5.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.collections/4.0.11/system.collections.4.0.11.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.configuration.configurationmanager/6.0.0/system.configuration.configurationmanager.6.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.diagnostics.debug/4.0.11/system.diagnostics.debug.4.0.11.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.diagnostics.diagnosticsource/8.0.0/system.diagnostics.diagnosticsource.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.diagnostics.performancecounter/6.0.0/system.diagnostics.performancecounter.6.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.drawing.common/6.0.0/system.drawing.common.6.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.globalization/4.0.11/system.globalization.4.0.11.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.io/4.1.0/system.io.4.1.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.io.filesystem.accesscontrol/4.7.0/system.io.filesystem.accesscontrol.4.7.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.linq/4.1.0/system.linq.4.1.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.memory/4.5.3/system.memory.4.5.3.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.reflection/4.1.0/system.reflection.4.1.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.reflection.metadata/1.6.0/system.reflection.metadata.1.6.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.reflection.primitives/4.0.1/system.reflection.primitives.4.0.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.resources.resourcemanager/4.0.1/system.resources.resourcemanager.4.0.1.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.runtime/4.1.0/system.runtime.4.1.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.runtime.extensions/4.1.0/system.runtime.extensions.4.1.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.security.accesscontrol/6.0.0/system.security.accesscontrol.6.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.security.cryptography.protecteddata/6.0.0/system.security.cryptography.protecteddata.6.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.security.permissions/6.0.0/system.security.permissions.6.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.security.principal.windows/4.7.0/system.security.principal.windows.4.7.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.text.encoding/4.0.11/system.text.encoding.4.0.11.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.text.encodings.web/8.0.0/system.text.encodings.web.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.text.json/8.0.0/system.text.json.8.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.threading/4.0.11/system.threading.4.0.11.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.threading.tasks/4.0.11/system.threading.tasks.4.0.11.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/system.windows.extensions/6.0.0/system.windows.extensions.6.0.0.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.22/microsoft.aspnetcore.app.ref.8.0.22.nupkg.sha512",
|
||||
"/home/robert/.nuget/packages/microsoft.netcore.app.host.linux-x64/8.0.22/microsoft.netcore.app.host.linux-x64.8.0.22.nupkg.sha512"
|
||||
],
|
||||
"logs": [
|
||||
{
|
||||
"code": "NU1902",
|
||||
"level": "Warning",
|
||||
"message": "Package 'OpenTelemetry.Instrumentation.AspNetCore' 1.7.1 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-vh2m-22xx-q94f",
|
||||
"projectPath": "/home/robert/Documents/repos/azure-web/BlazorApp/BlazorApp.csproj",
|
||||
"warningLevel": 1,
|
||||
"filePath": "/home/robert/Documents/repos/azure-web/BlazorApp/BlazorApp.csproj",
|
||||
"libraryId": "OpenTelemetry.Instrumentation.AspNetCore",
|
||||
"targetGraphs": [
|
||||
"net8.0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": "NU1902",
|
||||
"level": "Warning",
|
||||
"message": "Package 'OpenTelemetry.Instrumentation.Http' 1.7.1 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-vh2m-22xx-q94f",
|
||||
"projectPath": "/home/robert/Documents/repos/azure-web/BlazorApp/BlazorApp.csproj",
|
||||
"warningLevel": 1,
|
||||
"filePath": "/home/robert/Documents/repos/azure-web/BlazorApp/BlazorApp.csproj",
|
||||
"libraryId": "OpenTelemetry.Instrumentation.Http",
|
||||
"targetGraphs": [
|
||||
"net8.0"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
144
GrafanaBlazor/BlazorApp/wwwroot/css/app.css
Normal file
144
GrafanaBlazor/BlazorApp/wwwroot/css/app.css
Normal file
@@ -0,0 +1,144 @@
|
||||
html, body {
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
h1:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
a, .btn-link {
|
||||
color: #006bb7;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
|
||||
box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding-top: 1.1rem;
|
||||
}
|
||||
|
||||
.valid.modified:not([type=checkbox]) {
|
||||
outline: 1px solid #26b050;
|
||||
}
|
||||
|
||||
.invalid {
|
||||
outline: 1px solid red;
|
||||
}
|
||||
|
||||
.validation-message {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#blazor-error-ui {
|
||||
background: lightyellow;
|
||||
bottom: 0;
|
||||
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
|
||||
display: none;
|
||||
left: 0;
|
||||
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
#blazor-error-ui .dismiss {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
right: 0.75rem;
|
||||
top: 0.5rem;
|
||||
}
|
||||
|
||||
.page {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
main {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.top-row {
|
||||
background-color: #f7f7f7;
|
||||
border-bottom: 1px solid #d6d5d5;
|
||||
justify-content: flex-end;
|
||||
height: 3.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.nav-scrollable {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
font-size: 0.9rem;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.nav-item:first-of-type {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.nav-item:last-of-type {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.nav-item a {
|
||||
color: #d7d7d7;
|
||||
border-radius: 4px;
|
||||
height: 3rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 3rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-item a.active {
|
||||
background-color: rgba(255,255,255,0.25);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.nav-item a:hover {
|
||||
background-color: rgba(255,255,255,0.1);
|
||||
color: white;
|
||||
}
|
||||
|
||||
@media (min-width: 641px) {
|
||||
.page {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
width: 250px;
|
||||
height: 100vh;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.top-row {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.nav-scrollable {
|
||||
display: block;
|
||||
}
|
||||
|
||||
main > div {
|
||||
padding-left: 2rem !important;
|
||||
padding-right: 1.5rem !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user