Documentation

Overview

    Package trace provides support for OpenCensus tracing.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func EndSpan

    func EndSpan(ctx context.Context, err error)

      EndSpan ends a span with the given error.

      func StartSpan

      func StartSpan(ctx context.Context, name string) context.Context

        StartSpan adds a span to the trace with the given name.

        Types

        This section is empty.

        Source Files