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

@codesee/instrument-express

Package Overview
Dependencies
Maintainers
7
Versions
657
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codesee/instrument-express

CodeSee express instrumentation library

  • 0.728.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-72.22%
Maintainers
7
Weekly downloads
 
Created
Source

Intro

This package contains CodeSee's instrumentation of Express. It extracts all of the routes in an Express application and sends them in traces to Datadog. This is part of the CodeSee Service Maps instrumentation. The traces are consumed by CodeSee's other components.

Installation

This package requires the datadog trace library dd-trace. npm install dd-trace

Install this package npm install @codesee/instrument-express

Configuration

To successfully send traces with this library, dd-trace must be configured for your environment. To understand how to do that, please see the Datadog documentation.

To use this library after configuring Datadog, simply import it before you construct your Express application in code. The entry point of your application is a good place to put the import.

import "@codesee/instrument-express";

Once you call listen() on your Express application, all of the routes will be sent via Datadog traces.

Keywords

FAQs

Package last updated on 01 Feb 2024

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