Current section

Files

Jump to
step_flow lib step_flow metrics workflow_instrumenter.ex
Raw

lib/step_flow/metrics/workflow_instrumenter.ex

defmodule StepFlow.Metrics.WorkflowInstrumenter do
@moduledoc """
Prometheus metrics instrumenter to call workflow metric collectors
"""
use Prometheus.Metric
def setup do
Prometheus.Registry.register_collector(StepFlow.Metrics.WorkflowCollector)
end
end