Skip to content
Snippets Groups Projects
Unverified Commit 5c660b60 authored by Sigmund, Dominik's avatar Sigmund, Dominik
Browse files

Addede function to reset metrics

parent 7fc43b6c
No related branches found
No related tags found
1 merge request!1Master to main
.eslintrc.json 100644 → 100755
File mode changed from 100644 to 100755
.gitignore 100644 → 100755
File mode changed from 100644 to 100755
.gitlab-ci.yml 100644 → 100755
File mode changed from 100644 to 100755
.npmignore 100644 → 100755
File mode changed from 100644 to 100755
README.md 100644 → 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
jest.config.js 100644 → 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
package.json 100644 → 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
src/index.ts 100644 → 100755
...@@ -141,5 +141,9 @@ export class Metrics { ...@@ -141,5 +141,9 @@ export class Metrics {
res.status(200) res.status(200)
res.end(this._client.register.metrics()) res.end(this._client.register.metrics())
} }
public resetMetrics = (): void => {
this._client.register.resetMetrics()
}
} }
export default Metrics export default Metrics
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment