Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdk: add Exporter interface, SimpleSpanProcessor and InMemorySpanExporter #119

Merged
merged 2 commits into from
Sep 13, 2019

Commits on Sep 12, 2019

  1. sdk/trace: add Exporter interface and SimpleExportSpanProcessor

    Exporter is an interface that allows different services to export recorded
    spans in its own format. SimpleExportSpanProcessor is an implementation of
    SpanProcessor that passes ended spans directly to a configured Exporter.
    
    The current interface for exporters directly receives an SDK Span, it could
    be improved in the future to receive a different object containing a
    representation of the Span.
    mauriciovasquezbernal committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    2d27e21 View commit details
    Browse the repository at this point in the history
  2. sdk/trace/exporter: add InMemorySpanExporter

    InMemorySpanExporter is a simple implementation of the Exporter interface
    that saves the exported spans in a list in memory.  This class is useful
    for testing purposes.
    mauriciovasquezbernal committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    f4ef8eb View commit details
    Browse the repository at this point in the history