-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New: Add prefix
support to be able to specify a custom Prometheous metric name prefix
#14
base: v2
Are you sure you want to change the base?
Conversation
…metric name prefix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pull request contains the dist/
directory which should not be included.
I think this code might be a better fit for the v2 branch. Would you please look into adding this to v2 instead? Also thanks a lot for you interest in the project! |
Hi - thanks for your replies! This was targeting the Regarding the |
My bad you did indeed target the v2 branch! The package is meant the be build and published to npm so this repo does itself not hold the build. |
Sorry for quite getting it - when you |
No, when running You can find links to the tarball and inspect it yourself by running npm view socket.io-prometheus-metrics
[email protected] | Apache-2.0 | deps: 3 | versions: 7
Prometheus metrics for socket.io
keywords: prometheus, socket.io, metrics
dist
.tarball: https://registry.npmjs.org/socket.io-prometheus-metrics/-/socket.io-prometheus-metrics-1.0.6.tgz
.shasum: 59189d57daaa879708a76d6618cc0bbef87fc9a0
.integrity: sha512-rG1XIWuFRysVE/VE2ikJcYbv1ZqcY5IZ5CJOoih2MMiVx7GujwvxF1olcpDlQ/iGGryCXC/FRoBAB00Qnzsntw==
.unpackedSize: 24.3 kB
dependencies:
express: ^4.16.4 prom-client: ^11.2.1 socket.io: ^2.2.0
maintainers:
- jenkinsuniwise <[email protected]>
- jonastranberguniwise <[email protected]>
- mads_stenhoj <[email protected]>
dist-tags:
latest: 1.0.6
published 3 months ago by jonastranberguniwise <[email protected]> When releasing a package you do the following:
Thats why there is no need for the |
Doesn't support SocketIO 1 and 2 any more.
#12
I've done this on the v2 branch since that seems to be were the development is - I hope that is okay.