Group
Extension

Matches 3

Net-Async-Graphite ( C/CH/CHOHAG/Net-Async-Graphite-0.1_1.tar.gz, CHOHAG, 2017; MetaCPAN )
Net-Async-Graphite/lib/Net/Async/Graphite.pm ( view source; MetaCPAN )
ost of the
functionality of C</render>, C</metrics/expand>, C</metrics/find> and
C</metrics/index.json> which is described in detail in
L<Net::Async::Graphite::API>.

There is also support to pass the
Net-Async-Graphite ( C/CH/CHOHAG/Net-Async-Graphite-0.1_1.tar.gz, CHOHAG, 2017; MetaCPAN )
Net-Async-Graphite/lib/Net/Async/Graphite/API.pm ( view source; MetaCPAN )
HTTPClient>.

JSON data is decoded using a L<JSON> object handled by
L<Net::Async::Graphite::JSONCodec>.

=cut

with 'Net::Async::Graphite::HTTPClient';

with 'Net::Async::Graphite::JSONCodec';

=head

=item find

=item expand

=item index[.json]

C</metrics/index.json> can be requested with C<$method> of C<index> or
C<index.json> because requiring the C<.json> suffix is silly. Also I
can consider 
llowed_metrics_params{'index.json'} = $allowed_metrics_params{index}; # FFS

sub metrics {
  my $self = shift;
  my ($method, $query, %extra) = @_;
  $method = 'index.json' if $method eq 'index';
  re
Net-Async-Graphite ( C/CH/CHOHAG/Net-Async-Graphite-0.1_1.tar.gz, CHOHAG, 2017; MetaCPAN )
Net-Async-Graphite/lib/Net/Async/Graphite/JSONCodec.pm ( view source; MetaCPAN )
te::JSONCodec;

our $VERSION = '0.1_1';

use v5.14;
use strictures 2;
use Moo::Role;
use Carp;

use JSON ();
use namespace::clean;

=item _json (read-only)

A L<JSON> codec object.

=cut

has _json =>
 is => lazy => init_arg => undef, builder => sub {
  JSON->new->utf8->allow_blessed(1)
};

1;

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.