@libp2p/prometheus-metrics 1.1.5-b1024c6c → 1.1.5-c999d6a7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +18 -6
  2. package/package.json +6 -9
package/README.md CHANGED
@@ -59,27 +59,39 @@ Some useful queries are:
59
59
 
60
60
  #### Data sent/received
61
61
 
62
- rate(libp2p_data_transfer_bytes_total[30s])
62
+ ```
63
+ rate(libp2p_data_transfer_bytes_total[30s])
64
+ ```
63
65
 
64
66
  #### CPU usage
65
67
 
66
- rate(process_cpu_user_seconds_total[30s]) * 100
68
+ ```
69
+ rate(process_cpu_user_seconds_total[30s]) * 100
70
+ ```
67
71
 
68
72
  #### Memory usage
69
73
 
70
- nodejs_memory_usage_bytes
74
+ ```
75
+ nodejs_memory_usage_bytes
76
+ ```
71
77
 
72
78
  #### DHT query time
73
79
 
74
- libp2p_kad_dht_wan_query_time_seconds
80
+ ```
81
+ libp2p_kad_dht_wan_query_time_seconds
82
+ ```
75
83
 
76
84
  or
77
85
 
78
- libp2p_kad_dht_lan_query_time_seconds
86
+ ```
87
+ libp2p_kad_dht_lan_query_time_seconds
88
+ ```
79
89
 
80
90
  #### TCP transport dialer errors
81
91
 
82
- rate(libp2p_tcp_dialer_errors_total[30s])
92
+ ```
93
+ rate(libp2p_tcp_dialer_errors_total[30s])
94
+ ```
83
95
 
84
96
  ## API Docs
85
97
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/prometheus-metrics",
3
- "version": "1.1.5-b1024c6c",
3
+ "version": "1.1.5-c999d6a7",
4
4
  "description": "Collect libp2p metrics for scraping by Prometheus or Graphana",
5
5
  "author": "",
6
6
  "license": "Apache-2.0 OR MIT",
@@ -42,22 +42,19 @@
42
42
  "test:electron-main": "aegir test -t electron-main --cov"
43
43
  },
44
44
  "dependencies": {
45
- "@libp2p/interface": "0.0.1-b1024c6c",
46
- "@libp2p/logger": "2.1.1-b1024c6c",
45
+ "@libp2p/interface": "0.0.1-c999d6a7",
46
+ "@libp2p/logger": "2.1.1-c999d6a7",
47
47
  "it-foreach": "^2.0.3",
48
48
  "it-stream-types": "^2.0.1",
49
49
  "prom-client": "^14.1.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@libp2p/interface-compliance-tests": "3.0.7-b1024c6c",
53
- "@libp2p/peer-id-factory": "2.0.3-b1024c6c",
52
+ "@libp2p/interface-compliance-tests": "3.0.7-c999d6a7",
53
+ "@libp2p/peer-id-factory": "2.0.3-c999d6a7",
54
54
  "@multiformats/multiaddr": "^12.1.3",
55
- "aegir": "^39.0.13",
55
+ "aegir": "^40.0.1",
56
56
  "it-drain": "^3.0.2",
57
57
  "it-pipe": "^3.0.1",
58
58
  "p-defer": "^4.0.0"
59
- },
60
- "typedoc": {
61
- "entryPoint": "./src/index.ts"
62
59
  }
63
60
  }