FluxFlow.Components.Observability
1.1.0
dotnet add package FluxFlow.Components.Observability --version 1.1.0
NuGet\Install-Package FluxFlow.Components.Observability -Version 1.1.0
<PackageReference Include="FluxFlow.Components.Observability" Version="1.1.0" />
<PackageVersion Include="FluxFlow.Components.Observability" Version="1.1.0" />
<PackageReference Include="FluxFlow.Components.Observability" />
paket add FluxFlow.Components.Observability --version 1.1.0
#r "nuget: FluxFlow.Components.Observability, 1.1.0"
#:package FluxFlow.Components.Observability@1.1.0
#addin nuget:?package=FluxFlow.Components.Observability&version=1.1.0
#tool nuget:?package=FluxFlow.Components.Observability&version=1.1.0
FluxFlow.Components.Observability
Reusable observer components for FluxFlow.
Nodes
| Node type | Shape | Purpose |
|---|---|---|
flow.counter |
Input → Snapshots |
Counts matching inputs and emits counter snapshots. |
flow.logger |
Input → Entries |
Emits structured log entries from inputs. |
flow.metrics |
Input → Snapshots |
Emits count, rate, timestamp, and optional size snapshots. |
The package emits neutral contracts only. Hosts decide whether those entries or snapshots become app logs, dashboards, files, telemetry, or test assertions.
Counter
{
"type": "flow.counter",
"inputType": "message",
"name": "received",
"predicate": "value.Enabled",
"engine": "default",
"boundedCapacity": 128
}
flow.counter emits FlowCounterSnapshot values with count, rejected count,
last observed timestamp, name, and input type. When no predicate is configured,
all inputs are counted.
Logger
{
"type": "flow.logger",
"inputType": "message",
"level": "Information",
"category": "workflow",
"messageTemplate": "Observed {kind} item #{sequence}",
"attributeSelectors": [ "kind", "size" ],
"boundedCapacity": 128
}
flow.logger emits FlowLogEntry values. Hosts register selector functions for
custom attributes. Built-in selectors input and value return the original
input.
Metrics
{
"type": "flow.metrics",
"inputType": "message",
"name": "received",
"sizeSelector": "payloadBytes",
"boundedCapacity": 128
}
flow.metrics emits FlowMetricSnapshot values with total count, current rate,
average rate, last observed timestamp, and optional size values. Size selectors
can return numeric values, strings, byte arrays, or collections.
Registration
registry.RegisterObservabilityComponents(options => options
.UseClock(observabilityClock)
.RegisterType<MyMessage>("message")
.UseValueSelector<MyMessage>("kind", (message, _) => message.Kind)
.UseValueSelector<MyMessage>("payloadBytes", (message, _) => message.Payload.Length));
UseClock(...) is optional. Without it, observer nodes use the default system
clock. Supplying a clock lets hosts and tests make log entry timestamps,
counter snapshots, metrics snapshots, and rate calculations deterministic.
Register an expression engine only when using counter predicates:
registry.RegisterObservabilityComponents(options => options
.UseExpressionEngine(expressionEngine)
.RegisterType<MyMessage>("message"));
Design Metadata
This package exposes a package-owned IComponentDesignMetadataProvider for its
node types. Hosts can compose it through ComponentDesignMetadataCatalog to
populate palettes, editors, validation views, and documentation without
duplicating package descriptors.
Composition Guidance
Use this package as one part of a host-composed graph. See Component Composition for recommended host boundaries, package boundaries, and extraction timing.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
-
net10.0
- FluxFlow.Components.Designer (>= 1.0.1)
- FluxFlow.Components.Expressions (>= 1.0.0)
- FluxFlow.Engine (>= 1.0.1)
-
net8.0
- FluxFlow.Components.Designer (>= 1.0.1)
- FluxFlow.Components.Expressions (>= 1.0.0)
- FluxFlow.Engine (>= 1.0.1)
- System.Threading.Tasks.Dataflow (>= 9.0.4)
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 |
|---|---|---|
| 1.1.0 | 41 | 6/5/2026 |
| 1.0.0 | 43 | 6/4/2026 |
| 0.3.0-alpha.1 | 95 | 6/2/2026 |
| 0.2.0-alpha.1 | 43 | 6/2/2026 |
| 0.1.1-alpha.1 | 43 | 6/2/2026 |
| 0.1.0-alpha.1 | 106 | 6/1/2026 |
Adds package-owned IComponentDesignMetadataProvider metadata for host palettes, editors, validation views, generated docs, and catalog composition while keeping runtime behavior unchanged.