prometheus_cowboy

Copyright (c) 2017 Ilya Khaprov <i.khaprov@gmail.com>.

Version: 0.0.3

Hex.pm][Hex badge]][Hex link]
[![Hex.pm Downloads][Hex downloads badge] [ Build Status

Handlers

Cowboy 1:


Routes = [
          {'_', [
                 {"/metrics/[:registry]", prometheus_cowboy1_handler, []},
                 {"/", toppage_handler, []}
                ]}
         ],

Cowboy 2:


Routes = [
          {'_', [
                 {"/metrics/[:registry]", prometheus_cowboy2_handler, []},
                 {"/", toppage_handler, []}
                ]}
         ],

Contributing

Section order:

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