package
0.0.0-20210517195547-83edfdb8a195
Repository: https://github.com/fnproject/flow.git
Documentation: pkg.go.dev
# Functions
NewAPIServer creates a new API server - params are injected dependencies.
NewFnSpan returns a new FnSpan which wraps the specified Span.
NewFnTracer returns a new FnTracer which wraps the specified Tracer.
NewInternalFlowService creates a new flow service for a given graph API.
NewPrometheusCollector returns a new PrometheusCollector.
# Structs
FnSpan is a custom Span that wraps another span which adds some extra behaviour required for sending tracing spans to prometheus.
FnTracer is a custom Tracer which wraps another another tracer its main purpose is to wrap the underlying Span in a FnSpan, which adds some extra behaviour required for sending tracing spans to prometheus.
InternalServer handles the node-local service (servicing graphs on this node only).
PrometheusCollector is a custom Collector which sends ZipKin traces to Prometheus.
Server is the flow service root.