Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@envelop/prometheus

Package Overview
Dependencies
Maintainers
1
Versions
1375
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@envelop/prometheus

This plugin tracks execution and resolvers and reports it using [`apollo-tracing`](https://github.com/apollographql/apollo-server/tree/main/packages/apollo-tracing) format (based on GraphQL `extensions`).

  • 0.1.0-alpha-d822e9b.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.6K
increased by26.39%
Maintainers
1
Weekly downloads
 
Created
Source

@envelop/apollo-tracing

This plugin tracks execution and resolvers and reports it using apollo-tracing format (based on GraphQL extensions).

You can see the results of the collected metrics if you are using GraphQL Playground.

This is how it looks like (note the TRACING section):

Example

Getting Started

yarn add @envelop/apollo-tracing

Usage Example

import { envelop } from '@envelop/core';
import { useApolloTracing } from '@envelop/apollo-tracing';

const getEnveloped = envelop({
  plugins: [
    // ... other plugins ...
    useApolloTracing(),
  ],
});

Notes

It's recommended to keep this plugin active only while developing only, since it's mainly used for performance tracking while developing.

FAQs

Package last updated on 14 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc