← Back to team overview

graphite-dev team mailing list archive

Re: [Question #165194]: Writing Metrics to Graphite using Perl

 

Question #165194 on Graphite changed:
https://answers.launchpad.net/graphite/+question/165194

    Status: Open => Answered

Nicholas Leskiw proposed the following answer:
just use perl's socket library and send text data in this format:

My.metric.name Value Epochtime\n

Value can be a float or integer
Epochtime is the number of seconds since Jan 1, 1970, which can be found with the time() function in perl.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.