@funcional-health/apollo-server-dd-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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 {}

Readme

Keywords

none

Package Sidebar

Install

npm i @funcional-health/apollo-server-dd-plugin

Weekly Downloads

17

Version

0.1.0

License

MIT

Unpacked Size

35.5 kB

Total Files

12

Last publish

Collaborators

  • aquinotfuncionalcorp