Monitor::MetricsAPI::Server - Metrics eporting server for Monitor::MetricsAPI
You should not interact with this module directly in your code. Please refer to Monitor::MetricsAPI for how to integrate this service with your application.
Constructs and returns a Twiggy::Server object with a single Dancer2 service registered at / which will handle all incoming HTTP API requests. Both $address and $port are optional, and will default to '0.0.0.0' and 8200, respectively.
Jon Sime <jonsime@gmail.com>
This software is copyright (c) 2015 by OmniTI Computer Consulting, Inc.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Monitor::MetricsAPI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Monitor::MetricsAPI
CPAN shell
perl -MCPAN -e shell install Monitor::MetricsAPI
For more information on module installation, please visit the detailed CPAN module installation guide.