UNPKG

@libp2p/prometheus-metrics

Version:

Collect libp2p metrics for scraping by Prometheus or Graphana

63 lines (62 loc) 1.64 kB
{ "name": "@libp2p/prometheus-metrics", "version": "4.3.26", "description": "Collect libp2p metrics for scraping by Prometheus or Graphana", "author": "", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/metrics-prometheus#readme", "repository": { "type": "git", "url": "git+https://github.com/libp2p/js-libp2p.git" }, "bugs": { "url": "https://github.com/libp2p/js-libp2p/issues" }, "publishConfig": { "access": "public", "provenance": true }, "type": "module", "types": "./dist/src/index.d.ts", "files": [ "src", "dist", "!dist/test", "!**/*.tsbuildinfo" ], "exports": { ".": { "types": "./dist/src/index.d.ts", "import": "./dist/src/index.js" } }, "scripts": { "clean": "aegir clean", "lint": "aegir lint", "dep-check": "aegir dep-check", "doc-check": "aegir doc-check", "build": "aegir build", "test": "aegir test -t node", "test:node": "aegir test -t node --cov", "test:electron-main": "aegir test -t electron-main --cov" }, "dependencies": { "@libp2p/interface": "^2.10.5", "it-foreach": "^2.1.3", "it-stream-types": "^2.0.2", "prom-client": "^15.1.3", "uint8arraylist": "^2.4.8" }, "devDependencies": { "@libp2p/crypto": "^5.1.7", "@libp2p/interface-compliance-tests": "^6.4.13", "@libp2p/logger": "^5.1.21", "@libp2p/peer-id": "^5.1.8", "@multiformats/multiaddr": "^12.4.4", "aegir": "^47.0.14", "it-drain": "^3.0.9", "it-pipe": "^3.0.1", "p-defer": "^4.0.1" }, "sideEffects": false }