Options
All
  • Public
  • Public/Protected
  • All
Menu

The base class for all reporters. A subclass of this class can act as a reporter for the foxx-tracer-collector service.

A special implementation is used internally by foxx-tracer to report recorded spans to the collector.

Hierarchy

  • Reporter

Index

Constructors

Accessors

Methods

Constructors

Protected constructor

  • new Reporter(namespace: string): Reporter
  • The base constructor that sets a pointer to the reporter implementation's namespaced configuration.

    Parameters

    • namespace: string

      A key used to uniquely identify a reporter implementation to the collector's list of registered reporters and also to locate its configuration in the collector's manifest.json. See collector docs for more information on namespaces.

    Returns Reporter

Accessors

Protected config

  • get config(): {}
  • Returns the configuration object present in manifest.json, or a blank object. The configuration object to pick is identified by the namespace param passed to the reporter's contructor.

    Returns {}

    • [key: string]: any

Methods

Abstract report

Generated using TypeDoc