Dancer2-Plugin-PrometheusTiny

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

Changes
lib/Dancer2/Plugin/PrometheusTiny.pm
maint/Makefile.PL.include
Makefile.PL
MANIFEST			This list of files
t/config.yml
t/endpoint.t
t/include_default_metrics.t
t/metrics.t
t/environments/endpoint.yml
t/environments/include_default_metrics.yml
t/environments/metrics.yml
t/lib/TestApp.pm
META.yml                                 Module YAML meta-data (added by MakeMaker)
META.json                                Module JSON meta-data (added by MakeMaker)
README                                   README file (added by Distar)
LICENSE                                  LICENSE file (added by Distar)

README  view on Meta::CPAN

NAME
    Dancer2::Plugin::PrometheusTiny - use Prometheus::Tiny with Dancer2

SYNOPSIS
DESCRIPTION
    This plugin integrates Prometheus::Tiny::Shared with your Dancer2 app,
    providing some default metrics for requests and responses, with the
    ability to easily add further metrics to your app. A route is added
    which makes the metrics available via the configured "endpoint".

    See Prometheus::Tiny for more details of the kind of metrics supported.

    The following metrics are included by default:

        http_request_duration_seconds => {
            help => 'Request durations in seconds',
            type => 'histogram',
        },
        http_request_size_bytes => {

t/environments/endpoint.yml  view on Meta::CPAN

plugins:
    PrometheusTiny:
        endpoint: /test-metrics

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.354 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )