Skip to content

funcional-health/apollo-server-dd-plugin

Repository files navigation

Apollo Server Datadog Plugin

Custom Datadog instrumentation for Apollo Server.

Installation

yarn add @funcional-health/apollo-server-dd-plugin

Then add the plugin to your NestJS GraphQL Module configuration:

import { Module } from '@nestjs/common';
import { GraphQLModule } from '@nestjs/graphql';
import { Logger } from '@nestjs/common';
import { dataDogTracePlugin } from '@funcional-health/apollo-server-dd-plugin';

@Module({
  imports: [
    // ...
    GraphQLModule.forRoot({
      // ...
      plugins.push(dataDogTracePlugin)
    }),
    // ...
  ],
})
export class AppModule {}

About

Custom Datadog instrumentation for Apollo Server

Resources

Stars

Watchers

Forks

Packages

No packages published