James Bromberger > Net-Dynect-REST-0.09 > Net::Dynect::REST::QPSReport

Download:
Net-Dynect-REST-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 177.   Source  

NAME ^

Net::Dynect::REST::QPSReport - Get queries per second report

SYNOPSIS ^

  use Net::Dynect::REST:QPSReport;
  my @records = Net::Dynect::REST:QPSReport->delete(connection => $dynect, 
                                           zone => $zone, fqdn => $fqdn);

METHODS ^

Creating

Net::Dynect::REST:QPSReport->find(connection => $dynect, start_ts=> $time, end_ts => $time);

This will return an string containing a CSV, if successful. You must supply the start timestamp and end timestamps, as Unix Epoch time (number of seconds since 1 Jan 1970). You may also optionally specify what to break down - either by hosts, by resource records, or by zones. You can also optionally filter by hosts, recource records, and zones. For example, to see the report per resource record, but only for A and CNAME lookups, you could set breakdown = 'rrec', rrecs => qw(A CNAME)>.

Valid options for 'breakdown' are:

  • hosts
  • rrecs
  • zones

Note the time date range must not be more than 45 days.

AUTHOR ^

James Bromberger, james@rcpt.to

SEE ALSO ^

Net::Dynect::REST, Net::Dynect::REST::Request, Net::Dynect::REST::Response, Net::Dynect::REST::info.

COPYRIGHT AND LICENSE ^

Copyright (C) 2010 by James Bromberger

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: