@libp2p/prometheus-metrics 1.1.4 → 1.1.5-3dfc236e

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.
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
4
4
  [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io)
5
- [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-prometheus-metrics.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-prometheus-metrics)
6
- [![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p-prometheus-metrics/js-test-and-release.yml?branch=main\&style=flat-square)](https://github.com/libp2p/js-libp2p-prometheus-metrics/actions/workflows/js-test-and-release.yml?query=branch%3Amain)
5
+ [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)
6
+ [![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)
7
7
 
8
8
  > Collect libp2p metrics for scraping by Prometheus or Graphana
9
9
 
@@ -83,7 +83,7 @@ or
83
83
 
84
84
  ## API Docs
85
85
 
86
- - <https://libp2p.github.io/js-libp2p-prometheus-metrics>
86
+ - <https://libp2p.github.io/js-libp2p/modules/_libp2p_prometheus_metrics.html>
87
87
 
88
88
  ## License
89
89
 
package/package.json CHANGED
@@ -1,20 +1,16 @@
1
1
  {
2
2
  "name": "@libp2p/prometheus-metrics",
3
- "version": "1.1.4",
3
+ "version": "1.1.5-3dfc236e",
4
4
  "description": "Collect libp2p metrics for scraping by Prometheus or Graphana",
5
5
  "author": "",
6
6
  "license": "Apache-2.0 OR MIT",
7
- "homepage": "https://github.com/libp2p/js-libp2p-prometheus-metrics#readme",
7
+ "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/metrics-prometheus#readme",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "git+https://github.com/libp2p/js-libp2p-prometheus-metrics.git"
10
+ "url": "git+https://github.com/libp2p/js-libp2p.git"
11
11
  },
12
12
  "bugs": {
13
- "url": "https://github.com/libp2p/js-libp2p-prometheus-metrics/issues"
14
- },
15
- "engines": {
16
- "node": ">=18.0.0",
17
- "npm": ">=8.6.0"
13
+ "url": "https://github.com/libp2p/js-libp2p/issues"
18
14
  },
19
15
  "type": "module",
20
16
  "types": "./dist/src/index.d.ts",
@@ -36,91 +32,6 @@
36
32
  "sourceType": "module"
37
33
  }
38
34
  },
39
- "release": {
40
- "branches": [
41
- "main"
42
- ],
43
- "plugins": [
44
- [
45
- "@semantic-release/commit-analyzer",
46
- {
47
- "preset": "conventionalcommits",
48
- "releaseRules": [
49
- {
50
- "breaking": true,
51
- "release": "major"
52
- },
53
- {
54
- "revert": true,
55
- "release": "patch"
56
- },
57
- {
58
- "type": "feat",
59
- "release": "minor"
60
- },
61
- {
62
- "type": "fix",
63
- "release": "patch"
64
- },
65
- {
66
- "type": "docs",
67
- "release": "patch"
68
- },
69
- {
70
- "type": "test",
71
- "release": "patch"
72
- },
73
- {
74
- "type": "deps",
75
- "release": "patch"
76
- },
77
- {
78
- "scope": "no-release",
79
- "release": false
80
- }
81
- ]
82
- }
83
- ],
84
- [
85
- "@semantic-release/release-notes-generator",
86
- {
87
- "preset": "conventionalcommits",
88
- "presetConfig": {
89
- "types": [
90
- {
91
- "type": "feat",
92
- "section": "Features"
93
- },
94
- {
95
- "type": "fix",
96
- "section": "Bug Fixes"
97
- },
98
- {
99
- "type": "chore",
100
- "section": "Trivial Changes"
101
- },
102
- {
103
- "type": "docs",
104
- "section": "Documentation"
105
- },
106
- {
107
- "type": "deps",
108
- "section": "Dependencies"
109
- },
110
- {
111
- "type": "test",
112
- "section": "Tests"
113
- }
114
- ]
115
- }
116
- }
117
- ],
118
- "@semantic-release/changelog",
119
- "@semantic-release/npm",
120
- "@semantic-release/github",
121
- "@semantic-release/git"
122
- ]
123
- },
124
35
  "scripts": {
125
36
  "clean": "aegir clean",
126
37
  "lint": "aegir lint",
@@ -128,28 +39,26 @@
128
39
  "build": "aegir build",
129
40
  "test": "aegir test -t node",
130
41
  "test:node": "aegir test -t node --cov",
131
- "test:electron-main": "aegir test -t electron-main --cov",
132
- "release": "aegir release",
133
- "docs": "aegir docs"
42
+ "test:electron-main": "aegir test -t electron-main --cov"
134
43
  },
135
44
  "dependencies": {
136
- "@libp2p/interface-connection": "^5.0.2",
137
- "@libp2p/interface-metrics": "^4.0.2",
138
- "@libp2p/logger": "^2.0.2",
45
+ "@libp2p/interface-connection": "5.1.1-3dfc236e",
46
+ "@libp2p/interface-metrics": "4.0.8-3dfc236e",
47
+ "@libp2p/logger": "2.1.1-3dfc236e",
139
48
  "it-foreach": "^2.0.3",
140
- "it-stream-types": "^2.0.1"
49
+ "it-stream-types": "^2.0.1",
50
+ "prom-client": "^14.1.0"
141
51
  },
142
52
  "devDependencies": {
143
- "@libp2p/interface-mocks": "^12.0.1",
144
- "@libp2p/peer-id-factory": "^2.0.3",
53
+ "@libp2p/interface-mocks": "12.0.1-3dfc236e",
54
+ "@libp2p/peer-id-factory": "2.0.3-3dfc236e",
145
55
  "@multiformats/multiaddr": "^12.1.3",
146
- "aegir": "^39.0.6",
56
+ "aegir": "^39.0.10",
147
57
  "it-drain": "^3.0.2",
148
58
  "it-pipe": "^3.0.1",
149
- "p-defer": "^4.0.0",
150
- "prom-client": "^14.1.0"
59
+ "p-defer": "^4.0.0"
151
60
  },
152
- "peerDependencies": {
153
- "prom-client": "^14.1.0"
61
+ "typedoc": {
62
+ "entryPoint": "./src/index.ts"
154
63
  }
155
64
  }
@@ -1,5 +0,0 @@
1
- {
2
- "PrometheusCalculatedMetricOptions": "https://libp2p.github.io/js-libp2p-prometheus-metrics/interfaces/PrometheusCalculatedMetricOptions.html",
3
- "PrometheusMetricsInit": "https://libp2p.github.io/js-libp2p-prometheus-metrics/interfaces/PrometheusMetricsInit.html",
4
- "prometheusMetrics": "https://libp2p.github.io/js-libp2p-prometheus-metrics/functions/prometheusMetrics.html"
5
- }