hongbo-miao/hongbomiao.com

View on GitHub
api-node/src/reliability/utils/initTracer.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function initTracer has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const initTracer = (): void => {
  const tracerProvider = new NodeTracerProvider({
    resource: new Resource({
      [SemanticResourceAttributes.SERVICE_NAME]: 'hm-api-trace-service',
    }),
Severity: Minor
Found in api-node/src/reliability/utils/initTracer.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status