FlowDSL Node Catalog

Metric Counter

Increment a named counter (labels from packet fields). Pass through.

Overview

PropertyValue
Node IDcore/metric-counter
Kindaction
Modulecore-flowdsl
Repogo-flowdsl
Handlergithub.com/redelay/go-flowdsl/nodes/core.MetricCounter
Iconlucide:hash
Color#64748b
Tagsmetrics, observability

Outputs

  • out — (no description)

Settings

PropertyTypeRequiredDefaultUI GroupDescription
bynumber—1—
labelsobject—map[]—Map of label name → dotted path on the packet.
namestringyes——

Example

yaml
# Use this node in a flow:
nodes:
  - id: my_step
    name: My Step
    kind: action
    action_ref: core/metric-counter
    config:
      by: 1
      labels: {}
      name: "value"