Namespace Quilt4Net.Toolkit.Features.ApplicationInsights
Classes
- ApplicationAliasMap
Static map entry for grouping multiple raw application names (cloud_RoleName) under one logical name. Configured via ApplicationAlias; applied by
VersionMatrixDisplay(inQuilt4Net.Toolkit.Blazor) when no per-componentAliasFolderdelegate is supplied.
- ApplicationInsightsConfigurationResponse
Wire shape returned by
GET /Api/Monitoring/ApplicationInsightson Quilt4Net.Server. Implements IApplicationInsightsContext so it can be passed directly to IApplicationInsightsService / IVersionMatrixService without a shim record. Property names mirror the server DTO exactly so JSON round-trips one-to-one.
- CellAlias
Detail about how a folded cell was constructed from underlying raw cells.
- DiskCapacity
Per-volume disk capacity snapshot derived from
system.filesystem.usageAppMetrics. The free/used/reserved time-series is exposed separately via GetDiskFreeAsync(IApplicationInsightsContext, TimeSpan, CancellationToken); this record carries the constant "how big is this filesystem" context that lets a UI render free space as a percentage of capacity instead of scaling bars relative to whichever host happens to have the most space.
- EnvironmentOrdering
Helpers for ordering environment names consistently across the version matrix UI.
- LogCountByServiceCell
One bucket of the (service × severity × environment × source) log-count cube. The shape carries every dimension the admin UI filters on so a single server fetch covers any future combination of configuration / environment / source toggles — flipping a checkbox is then a pure local regroup with no extra Log Analytics queries.
- MetricSample
One point of a host-grouped time series, materialised from a
customMetricsKQL query.Series is the per-line legend label — typically
cloud_RoleInstance, or{cloud_RoleInstance} {device}for the disk metric where a single host can host several filesystems. The value is in the metric's natural unit (CPU/memory: percent, disk: GB, network: MB/s — see IApplicationInsightsService's metric methods).
- StackFrame
One frame in the parsed stack of an Application Insights exception. Mirrors the fields AI stores under
AppExceptions.Details[i].parsedStack[j].
- StackFrameParser
Parses the AI exception
Detailspayload (a JSON array of detail objects, each carrying its ownparsedStack) into a flat sequence of StackFrames suitable for tabular rendering. Robust to either a pre-deserialized JsonElement value or a raw JSON string in the row dictionary.
- StaticAliasFolder
Folds a raw VersionMatrixView using a static ApplicationAliasMap list (typically from ApplicationAlias). Same (logical, env) merge semantics as a dynamic per-team folder: cells whose ApplicationName matches a known source name are merged under the logical name; for groups with disagreeing versions the latest by LastSeen wins and the disagreement surfaces via ConflictingVersions.
- VersionMatrixCell
One cell in the application/environment version matrix — the latest version of an application seen in a given environment, optionally pinned to a specific machine.
- VersionMatrixView
Materialized application/environment version matrix ready for UI rendering.
Interfaces
- IApplicationInsightsConfigurationProvider
Source of Application Insights configurations for the toolkit. Registered by
AddQuilt4NetApplicationInsightsClientRemote; consumed by Blazor components that need to pick a configuration at render time (or render a selector when there is more than one).
Enums
- ApplicationInsightsAuthMode
Authentication mode for querying an Application Insights / Log Analytics workspace.