- Use the official registry for NPM packages.
- Update packages.
- Allows the user to define the metrics to be scrapped.
- Use const instead of let for variables that are not reassigned.
- Use async/await syntax consistently to handle promises.
- Add error handling to catch and log any errors that occur.
- Use template literals for string concatenation.
- Move the creation of the
promClient.register.contentType
variable to a separate variable declaration for improved readability.
What's Changed
- Add image size badge by @hatamiarash7 in #12
- Improve by @hatamiarash7 in #13
- Improve code by @hatamiarash7 in #14
Full Changelog: v0.1.2...v0.2.0