perl-Net-Dogstatsd - Perl client to Datadog's dogstatsd metrics collector

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Net-Dogstatsd
Package version 1.0.3
Package release alt1
Package architecture noarch
Package type rpm
Installed size 59.20 KB
Download size 59.20 KB
Official Mirror
This module allows you to send multiple types of metrics to the Datadog service
via dogstatsd, a local daemon installed by Datadog agent package.
_use Net::Dogstatsd;
_# Create an object to communicate with Dogstatsd, using default server/port settings.
_my $dogstatsd = Net::Dogstatsd->new(
__host    => 'localhost',  #optional. Default =
__port    => '8125',       #optional. Default = 8125
__verbose => 0,            #optional. Default = 0
_# Set, and print, the 'verbose' option value.
_print "In verbose mode." if $dogstatsd->verbose();
_# Before we can start sending metrics, we have to get or create a socket to dogstatsd
_my $socket = $dogstatsd->get_socket();
_# Counter metrics can be incremented or decremented
_# By default, they will be incremented or decremented by 1, unless the optional
_# 'value' parameter is passed
__name  => 'test_metric.sample_counter',
__value => $increment_value, #optional; default = 1
__tags  => [ 'env:production', db ], #optional
__name  => $metric_name,
__value => $decrement_value, #optional; default = 1
__tags  => [ 'env:devel', web ], #optional
_# Gauge metrics can be used for capturing value of something over time
_# Example: Gas gauge, inventory level, free memory
__name  => 'test_metric.inventory_level',
__value => $gauge_value, #required - must be a number
__tags  => [ 'warehouse:us' ], #optional
_# Histogram metrics measure the statistical distribution of a set of values.
_# Provides min/max/avg as well as 75th, 85th, 95th and 99th percentiles.
_# NOTE: do not use this for timers. Use timer() instead.
__name  => $metric_name,
__value => $value,
__tags  => [ 'tag1', 'tag2:value', 'tag3' ], #optional
_# Timers are a special type of histogram.
__name  => $metric_name,
__value => $metric_value,
__unit  => $metric_unit, # 'ms' (milliseconds) or 's|sec' (seconds)
__tags  => [ 'tag1', 'tag2:value', 'tag3' ], #optional
_# Set metrics are special counters that can track unique elements in a group.
_# Example: the number of unique visitors currently on a website
__name  => 'unique.site_visitors',
__value => $account_id,
__tags  => [ 'referer:Google' ], #optional


Package Version Architecture Repository
perl-Net-Dogstatsd - - -


Name Value
/usr/share/perl5 -
perl(Data/ -
perl(Data/Validate/ -
perl(IO/Socket/ -
perl(Try/ -
rpmlib(PayloadIsLzma) -


Name Value
perl(Net/ = 1.0.003
perl-Net-Dogstatsd = 1.0.3-alt1


Type URL
Binary Package perl-Net-Dogstatsd-1.0.3-alt1.noarch.rpm
Source Package perl-Net-Dogstatsd-1.0.3-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Net-Dogstatsd rpm package:
    # sudo apt-get install perl-Net-Dogstatsd



See Also

Package Description
perl-Net-Domain-ES-ccTLD-0.05-alt1.noarch.rpm Lookup for country names given the TLD code (.en Espa.ol!)
perl-Net-Domain-ExpireDate-1.19-alt2.noarch.rpm - obtain expiration date of domain names
perl-Net-Domain-Info-0.02-alt1.noarch.rpm request for domain information like whois, dns, seo
perl-Net-Domain-Match-0.2.3-alt1.noarch.rpm Class to extract domain names from text
perl-Net-Domain-Regex-0.2.1-alt1.noarch.rpm Class to extract domain names from text
perl-Net-Domain-Registration-Check-0.04-alt1.noarch.rpm Fast check on availability of domain registration
perl-Net-Domain-TMCH-0.18-alt1.noarch.rpm Trademark Clearing House
perl-Net-Dopplr-0.7-alt1.noarch.rpm interface with's web service
perl-Net-Dopplr-scripts-0.7-alt1.noarch.rpm Net-Dopplr scripts
perl-Net-Douban-1.14-alt1.noarch.rpm Perl client wrapper for Chinese website API
perl-Net-Doveadm-0.01-alt1.noarch.rpm Dovecot.s administrative interface protocol
perl-Net-Download-XMLScripted-XMLScripted-0.1-alt1.noarch.rpm Perl XML scripted download program
perl-Net-DownloadMirror-0.10-alt1.noarch.rpm perl module Net-DownloadMirror
perl-Net-Dropbox-1.091510-alt1.noarch.rpm Communicate with local Dropbox daemon
perl-Net-Dropbox-API-1.9-alt1_11.noarch.rpm A dropbox API interface