Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729
Zee posted a new comment:
Thank you.
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.
___
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729
Status: Answered => Solved
Zee confirmed that the question is solved:
Thanks Denis Zhdanov, that solved my question.
--
You received this question notification because your team graphite-dev
is an
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729
Denis Zhdanov posted a new comment:
If you have enough RAM - this will work. If not - then you need to read
data from database using python and send it to graphite right away.
--
You received this
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729
Zee posted a new comment:
Thank you, this helped.
Graphitesend was already installed but I realized had a couple of issues. One
of them was I was using Python3. Other I was using the graphite server
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729
Status: Open => Answered
Denis Zhdanov proposed the following answer:
Of course, graphitesend module should be installed. And I doubt that it
supports python3.
So, install it with `pip install
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729
Status: Answered => Open
Zee is still having a problem:
I changed it, my new code looks like this
#!/usr/bin/env python
import time
import graphitesend
# comments
g =
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729
Denis Zhdanov proposed the following answer:
You forgot to initialize graphitsend library. Try instead of
g = graphitesend.init(group='loadavg_', suffix='min')
use
g =
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729
Denis Zhdanov proposed the following answer:
Up to you. IMO it's still relevant.
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729
Zee posted a new comment:
Thank you. If I have a follow-up question on Python usage with the
graphitesend tool, is that a separate question or can it be asked in the
same thread?
--
You received this
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729
Status: Open => Answered
Denis Zhdanov proposed the following answer:
I don't know any ready-to-use tooling for that, so, you need to write a script
on e.g. python to prepare and insert data. But
New question #653729 on Graphite:
https://answers.launchpad.net/graphite/+question/653729
I have a working graphite-carbon set up on ubuntu. I was able to insert data
one line at a time using the command line
echo "local.random.diceroll 4 `date +%s`" | nc -q0 ${SERVER} ${PORT}
But I have about
11 matches
Mail list logo