@beincom/node-profile
Version:
``` npm install @beincom/node-profile # yarn add @beincom/node-profile ```
14 lines • 460 B
YAML
log-level: debug
storage:
type: filesystem
path: /var/lib/pyroscope
scrape-configs:
- job-name: testing # any name
enabled-profiles: [cpu, mem] # cpu and mem for cpu and heap
static-configs:
- application: rideshare
spy-name: nodespy # make pyroscope know it's node profiles
targets:
- localhost:3001 # address of your scrape target
labels:
env: dev # labels