@logql/apollo-plugin

0.6.0 • Public • Published

Logql plugin for apollo-server

Collect and send metrics, errors and schema changes to logql.io.

Installation

npm i @logql/apollo-plugin

OR

yarn add @logql/apollo-plugin

Usage

const Logql = require('@logql/apollo-plugin')

// ...

const apolloServer = new ApolloServer({
  typeDefs,
  resolvers,
  plugins: [
    Logql({
      apiKey: 'logql:your-api-key,
    }),
  ],
})

Or using environment variables:

LOGQL_API_KEY=logql:your-api-key node .

Package Sidebar

Install

npm i @logql/apollo-plugin

Weekly Downloads

496

Version

0.6.0

License

MIT

Unpacked Size

17.7 kB

Total Files

8

Last publish

Collaborators

  • garlab