@zerosuxx/opentelemetry-nestjs
Version:
OpenTelemetry module for Nestjs with auto instrumentation and resource detection. Initially forked from https://github.com/overbit/opentelemetry-nestjs.git
12 lines (10 loc) • 331 B
text/typescript
import { ILogger } from './Logger.interface';
/**
* Options for the trace
* @param attributes Additional attributes to add to each span generated by the methods of the class
* @param logger Logger to use for debugging logs
*/
export interface TraceWrapperOptions {
attributes?: Record<string, string>;
logger?: ILogger;
}