Skip to content

Tracing issues when the options are passed to forRoot method. #10

@gitSambhal

Description

@gitSambhal

Thank you for the great package.

I am getting some issues.
I am unable to get the service method spans in Datadog.

No tracing with following configs

    DatadogTraceModule.forRoot({
      controllers: true,
      providers: true,
    } as any),

Only showing controller spans

    DatadogTraceModule.forRoot({
      controllers: true,
      services: true,
    }),

Typescript error with following config

    DatadogTraceModule.forRoot({
      controllers: true,
      providers: true,
    }),

Screenshot 2022-09-28 at 10 25 35 AM

When I add span decorator to individual services then I am able to see the traces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions