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.
- CapCycle
One cap cycle — the quota period from a reset to the next reset. Unlike a calendar day this aligns to the cap, so a cycle has at most one cap hit and a single clean capped span (hit → next reset).
- CapDay
One UTC day of the ingestion-cap timeline: how much was ingested, how long the workspace was capped (no billable data) that day, when data resumed, and an estimate of the uncapped volume.
- CapTimeline
Daily ingestion-cap timeline for a workspace, derived from gaps in billable ingestion: the per-day volume + capped duration, the detected daily reset time, and the cap size measured from a full reset-to-cap cycle. Backs the logging dashboard's cap graph.
- CappedInterval
A capped (no-collection) interval, in UTC.
- 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.
- VolumeBySource
Billed ingestion volume for a single source table (Log Analytics
DataType, e.g.AppMetrics,AppTraces) over a window — the cost breakdown that drives the logging cost dashboard's source pie. Sourced from the workspaceUsagetable (billing-grade).
- VolumeTimelinePoint
Billed ingestion volume for a single source table on a single UTC day — the points behind the multi-day logging-volume line chart. Sourced from the workspace
Usagetable (billing-grade).
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.