New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

whatap

Package Overview
Dependencies
Maintainers
0
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whatap

Monitoring and Profiling Service

  • 0.5.7
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

WhaTap Logo

Whatap for Node.js

Whatap allows for application performance monitoring.

Works on Linux(32bit, 64bit), MacOSx(32bit, 64bit), Windows(32bit, 64bit).

*Node.js 지원 버젼: 16.4.0 이상

step01

Npm install

npm 에서 다음과 같은 명령어를 통해 whatap을 설치 할 수 있습니다.

$ npm install whatap

step02

License Key

node_modules/whatap에 있는 whatap.conf파일을 루트 디렉토리로 복사 후 라이센스 키를 발급받은 후 추가 해 주세요.

whatap.conf 파일은 다음과 같은 내용을 포함합니다.

license=XXXXXXXXXXXXXX-XXXXXXXXXXXXXX-XXXXXXXXXXXXXX
whatap.server.host=XXX.XXX.XXX.XXX

step03

Usage

루트 디렉토리에 위치한 Node.js 애플리케이션에서 Whatap 모니터링 기능을 활성화하려면, 애플리케이션의 진입점 파일에 Whatap 에이전트를 초기화하는 코드를 추가해야 합니다.

Node.js 애플리케이션에 Whatap 모니터링을 적용하는 방법은 모듈 시스템의 종류(CommonJS 또는 ECMAScript Modules, ESM)에 따라 약간 다릅니다. 아래에서는 두 가지 모듈 시스템에 대해 Whatap 에이전트를 초기화하고 사용하는 방법을 설명합니다.

CommonJS 모듈 시스템 사용 시

Whatap 에이전트를 CommonJS 방식으로 가져오고 초기화하려면, 다음 코드를 애플리케이션의 진입점 파일에 추가하세요:

var WhatapAgent = require('whatap').NodeAgent;
ECMAScript 모듈(ESM) 시스템 사용 시

ESM 방식으로 Whatap 에이전트를 가져오고 사용하려면, 다음과 같이 코드를 작성하세요:

import WhatapAgent from 'whatap';
WhatapAgent.NodeAgent;

step04

Restart

어플리케이션 서버가 실행되면 애플리케이션의 모니터링 정보를 수집하기 시작합니다.

FAQs

Package last updated on 07 Feb 2025

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