FluxFlow.Components.Observability.Composition 1.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FluxFlow.Components.Observability.Composition --version 1.3.0
                    
NuGet\Install-Package FluxFlow.Components.Observability.Composition -Version 1.3.0
                    
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="FluxFlow.Components.Observability.Composition" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluxFlow.Components.Observability.Composition" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="FluxFlow.Components.Observability.Composition" />
                    
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 FluxFlow.Components.Observability.Composition --version 1.3.0
                    
#r "nuget: FluxFlow.Components.Observability.Composition, 1.3.0"
                    
#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 FluxFlow.Components.Observability.Composition@1.3.0
                    
#: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=FluxFlow.Components.Observability.Composition&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=FluxFlow.Components.Observability.Composition&version=1.3.0
                    
Install as a Cake Tool

FluxFlow.Components.Observability.Composition

Optional FluxFlow.Composition registration helpers for the standalone observability nodes from FluxFlow.Components.Observability.

This package does not create telemetry sinks, scan assemblies, resolve CLR types from strings, or own expression and selector services. Hosts register the observability node factories explicitly and provide keyed resources when a node configuration needs them.

Registration

services
    .AddFluxFlowComposition(configuration)
    .RegisterNodes(registry => registry
        .RegisterCounter<MyMessage>()
        .RegisterLogger<MyMessage>()
        .RegisterMetrics<MyMessage>());

Node Types

Type Node Ports
flow.counter FlowCounterNode<TInput> Input, Output
flow.logger FlowLoggerNode<TInput> Input, Output
flow.metrics FlowMetricsNode<TInput> Input, Output

All factories expose Events and Errors. Registrations are closed over TInput; hosts that need multiple input shapes should use custom node type strings such as flow.counter.order.

Resources

  • clock: optional keyed TimeProvider for all nodes.
  • engine: required keyed IFlowExpressionEngine only when counter options configure predicate or expression.
  • contextFactory: optional keyed IFlowMapContextFactory<TInput> for counters.
  • sizeSelector: optional keyed IObservabilityValueSelector<TInput> for metrics.
  • attribute:{name}: required keyed IObservabilityValueSelector<TInput> for each logger attributeSelectors entry.

Configuration

{
  "FluxFlow": {
    "Composition": {
      "workflows": {
        "main": {
          "nodes": {
            "logger": {
              "type": "flow.logger",
              "resources": {
                "clock": "fixed",
                "attribute:kind": "kind-selector"
              },
              "configuration": {
                "inputType": "message",
                "level": "Information",
                "category": "workflow",
                "messageTemplate": "Observed {kind} item #{sequence}",
                "attributeSelectors": [ "kind" ],
                "boundedCapacity": 128
              }
            }
          },
          "links": []
        }
      }
    }
  }
}

Each node binds its existing options record from composition configuration. Invalid observability options, such as blank inputType, non-positive boundedCapacity, or unsupported logger level, fail during composition build and surface as factory diagnostics when build failures are configured as diagnostics.

Design Metadata

ObservabilityComponentDesignMetadataProvider exposes neutral Designer metadata for flow.counter, flow.logger, and flow.metrics so hosts can build palettes, editors, validation hints, or documentation without copying package descriptors. The metadata describes the existing observability option records, fixed ports, option grouping/editor hints, and host-owned resource hints. Counter metadata exposes the engine, contextFactory, and clock resources, with engine marked as conditionally required when predicate or expression is configured. Logger metadata exposes clock and the dynamic attribute:{name} selector resource pattern used by attributeSelectors. Metrics metadata exposes sizeSelector and clock. Host-owned resource metadata also includes key-pattern hints for expression engines, context factories, selectors, and clocks. The metadata is authored through the shared validated Designer metadata builder while preserving the same public metadata contracts consumed by hosts.

Expression engines, context factories, selectors, and optional keyed TimeProvider clocks remain host-owned resources; option fields such as engine, attributeSelectors, and sizeSelector only carry the existing configuration metadata used by the nodes and factories.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
8.0.0-rc.1 61 9/5/2026
7.0.0-rc.1 77 8/9/2026
6.0.0 128 8/3/2026
1.4.0 118 7/3/2026
1.3.0 119 7/2/2026

Adds richer Designer option hints and host-owned resource key patterns for observability composition metadata while preserving runtime behavior.