├── .commitlintrc.json ├── .editorconfig ├── .gitattributes ├── .github ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── COMMIT_CONVENTION.md ├── CONTRIBUTING.md ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ ├── feature_request.yml │ └── question.yml ├── PULL_REQUEST_TEMPLATE.md ├── SECURITY.md ├── dependabot.yml ├── labeler.yml ├── labels.yml └── workflows │ ├── auto-deprecate.yml │ ├── cleanup-cache.yml │ ├── continuous-integration.yml │ ├── dependabot-approve-and-auto-merge.yml │ ├── issue-triage.yml │ ├── label-sync.yml │ ├── lock.yml │ ├── pr-triage.yml │ ├── publish-dev.yml │ └── security.yml ├── .gitignore ├── .husky ├── .gitignore ├── commit-msg └── pre-commit ├── .npmignore ├── .prettierrc ├── .release-it.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── eslint.config.mjs ├── jest.config.json ├── package.json ├── src ├── hot-shots-options.interface.ts ├── hot-shots.module-definition.ts ├── hot-shots.module.ts ├── index.ts ├── metrics │ ├── collectors │ │ ├── base.collector.ts │ │ ├── counter.collector.ts │ │ ├── gauge.collector.ts │ │ ├── histogram.collector.ts │ │ ├── index.ts │ │ ├── timing.collector.ts │ │ └── up-down-counter.collector.ts │ ├── index.ts │ ├── interfaces │ │ ├── collector-options.interface.ts │ │ └── index.ts │ └── metrics.service.ts ├── middlewares │ ├── http-metrics.middleware.ts │ └── index.ts └── providers │ ├── index.ts │ └── statsd.provider.ts ├── test ├── hot-shots.module.spec.ts ├── metrics │ ├── collectors │ │ ├── counter.collector.spec.ts │ │ ├── gauge.collector.spec.ts │ │ ├── histogram.collector.spec.ts │ │ ├── timing.collector.spec.ts │ │ └── up-down-counter.collector.spec.ts │ └── metrics.service.spec.ts └── middlewares │ └── http-metrics.middleware.spec.ts ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.commitlintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.commitlintrc.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @SocketSomeone 2 | -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/COMMIT_CONVENTION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/COMMIT_CONVENTION.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/ISSUE_TEMPLATE/question.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/SECURITY.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/labeler.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/labeler.yml -------------------------------------------------------------------------------- /.github/labels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/labels.yml -------------------------------------------------------------------------------- /.github/workflows/auto-deprecate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/workflows/auto-deprecate.yml -------------------------------------------------------------------------------- /.github/workflows/cleanup-cache.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/workflows/cleanup-cache.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/workflows/continuous-integration.yml -------------------------------------------------------------------------------- /.github/workflows/dependabot-approve-and-auto-merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/workflows/dependabot-approve-and-auto-merge.yml -------------------------------------------------------------------------------- /.github/workflows/issue-triage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/workflows/issue-triage.yml -------------------------------------------------------------------------------- /.github/workflows/label-sync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/workflows/label-sync.yml -------------------------------------------------------------------------------- /.github/workflows/lock.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/workflows/lock.yml -------------------------------------------------------------------------------- /.github/workflows/pr-triage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/workflows/pr-triage.yml -------------------------------------------------------------------------------- /.github/workflows/publish-dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/workflows/publish-dev.yml -------------------------------------------------------------------------------- /.github/workflows/security.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.github/workflows/security.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npx prettier --write "src/**/*.ts" -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.prettierrc -------------------------------------------------------------------------------- /.release-it.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/.release-it.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /jest.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/jest.config.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/package.json -------------------------------------------------------------------------------- /src/hot-shots-options.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/hot-shots-options.interface.ts -------------------------------------------------------------------------------- /src/hot-shots.module-definition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/hot-shots.module-definition.ts -------------------------------------------------------------------------------- /src/hot-shots.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/hot-shots.module.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/metrics/collectors/base.collector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/metrics/collectors/base.collector.ts -------------------------------------------------------------------------------- /src/metrics/collectors/counter.collector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/metrics/collectors/counter.collector.ts -------------------------------------------------------------------------------- /src/metrics/collectors/gauge.collector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/metrics/collectors/gauge.collector.ts -------------------------------------------------------------------------------- /src/metrics/collectors/histogram.collector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/metrics/collectors/histogram.collector.ts -------------------------------------------------------------------------------- /src/metrics/collectors/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/metrics/collectors/index.ts -------------------------------------------------------------------------------- /src/metrics/collectors/timing.collector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/metrics/collectors/timing.collector.ts -------------------------------------------------------------------------------- /src/metrics/collectors/up-down-counter.collector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/metrics/collectors/up-down-counter.collector.ts -------------------------------------------------------------------------------- /src/metrics/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/metrics/index.ts -------------------------------------------------------------------------------- /src/metrics/interfaces/collector-options.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/metrics/interfaces/collector-options.interface.ts -------------------------------------------------------------------------------- /src/metrics/interfaces/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collector-options.interface'; 2 | -------------------------------------------------------------------------------- /src/metrics/metrics.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/metrics/metrics.service.ts -------------------------------------------------------------------------------- /src/middlewares/http-metrics.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/middlewares/http-metrics.middleware.ts -------------------------------------------------------------------------------- /src/middlewares/index.ts: -------------------------------------------------------------------------------- 1 | export * from './http-metrics.middleware'; 2 | -------------------------------------------------------------------------------- /src/providers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './statsd.provider'; 2 | -------------------------------------------------------------------------------- /src/providers/statsd.provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/src/providers/statsd.provider.ts -------------------------------------------------------------------------------- /test/hot-shots.module.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/test/hot-shots.module.spec.ts -------------------------------------------------------------------------------- /test/metrics/collectors/counter.collector.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/test/metrics/collectors/counter.collector.spec.ts -------------------------------------------------------------------------------- /test/metrics/collectors/gauge.collector.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/test/metrics/collectors/gauge.collector.spec.ts -------------------------------------------------------------------------------- /test/metrics/collectors/histogram.collector.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/test/metrics/collectors/histogram.collector.spec.ts -------------------------------------------------------------------------------- /test/metrics/collectors/timing.collector.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/test/metrics/collectors/timing.collector.spec.ts -------------------------------------------------------------------------------- /test/metrics/collectors/up-down-counter.collector.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/test/metrics/collectors/up-down-counter.collector.spec.ts -------------------------------------------------------------------------------- /test/metrics/metrics.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/test/metrics/metrics.service.spec.ts -------------------------------------------------------------------------------- /test/middlewares/http-metrics.middleware.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/test/middlewares/http-metrics.middleware.spec.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SocketSomeone/nestjs-hot-shots/HEAD/yarn.lock --------------------------------------------------------------------------------