The base constructor that sets a pointer to the reporter implementation's namespaced configuration.
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 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.
Reports the provided traces to the reporter's configured endpoint. This method MUST be implemented by all concrete sub-classes. See the ConsoleReporter and the Datadog reporter for reference implementations.
Generated using TypeDoc
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.