Metrics

Stateful Functions includes a number of SDK specific metrics. Along with the standard metric scopes, Stateful Functions supports Function Scope which one level below operator scope.

metrics.scope.function

  • Default: <host>.taskmanager.<tm_id>.<job_name>.<operator_name>.<subtask_index>.<function_namespace>.<function_name>
  • Applied to all metrics that were scoped to a function.
MetricsScopeDescriptionType
in
FunctionThe number of incoming messages.Counter
inRate
FunctionThe average number of incoming messages per second.Meter
out-local
FunctionThe number of messages sent to a function on the same task slot.Counter
out-localRate
FunctionThe average number of messages sent to a function on the same task slot per second.Meter
out-remote
FunctionThe number of messages sent to a function on a different task slot.Counter
out-remoteRate
FunctionThe average number of messages sent to a function on a different task slot per second.Meter
out-egress
FunctionThe number of messages sent to an egress.Counter
feedback.produced
OperatorThe number of messages read from the feedback channel.Meter
feedback.producedRate
OperatorThe average number of messages read from the feedback channel per second.Meter