prometheus_cowboy
Copyright (c) 2017 Ilya Khaprov <i.khaprov@gmail.com>.
Version: 0.0.3
Handlers
Cowboy 1:
Routes = [
{'_', [
{"/metrics/[:registry]", prometheus_cowboy1_handler, []},
{"/", toppage_handler, []}
]}
],
Cowboy 2:
Routes = [
{'_', [
{"/metrics/[:registry]", prometheus_cowboy2_handler, []},
{"/", toppage_handler, []}
]}
],
Contributing
Section order:
- Types
- Macros
- Callbacks
- Public API
- Deprecations
- Private Parts
Install the git pre-commit hook:
./bin/pre-commit.sh install
The pre-commit check can be skipped by passing --no-verify to git commit.
License
MIT
Modules
| prometheus_cowboy |
| prometheus_cowboy1_handler |
| prometheus_cowboy2_handler |