Data not getting through for display
Hi.
Some background on how I am currently using graphite trunk/main.
I am using the bzr version of the code. I don't run any apps as root so I had to munge with carbon-agent to make it to accept command line parameters for various things like log dir and pid dir. I also had to munge with init-script.sh to insert variables to be replaced during build time. None of the changes modified any core code in any of the scripts.
I also had trouble with mod_python not agreeing with virtualpython about python-paths and despite help from our local pythonista, uttering a few magic incantations, I could not get it to work. So I hooked it up to mod_wsgi using Django's wsgi entry point as outlined in the docs (I have not used Django before so there's a possiblity that I messed up - but it does not look like it). Finally I switched from distutils to setuptools as its a bit more saner during build time. I also created the schema file per the docs and simply replaced the ^server\. with ^system\. to match the example script.
I finally got everything to work from a self contained folder. The graphite main page shows up. I then fired up the example-client with 10 sec delay and it goes its merry way. Django settings have DEBUG set to True. carbon-cache logs show data coming in fine. The whisper files exist for the metric. However when I search for the name of the metric or try autocomplete it fails with a 500 with nothing in the logs. CLI simply shows a black box with No Data in red. I am not quite sure what is wrong and before I dug into the actual app code itself, I was wondering if there are any obvious things I should try to figure out what went wrong. Log snippets are included below.
If you would like to take a look I would be more than glad to dump the tarball somewhere for download. Its ~31M with all the packages (Django, pyparse...) and 13M without.
Thanks.
AM
Log snippets:
carbon-agent.log
Thu Jul 17 22:16:36 2008: carbon-agent started (pid=6477)
Thu Jul 17 22:16:36 2008: created cache pipe, fds=['4', '5']
Thu Jul 17 22:16:36 2008: created persister pipe, fds=['6', '7']
Thu Jul 17 22:16:36 2008: carbon-cache started with pid 6478
Thu Jul 17 22:16:36 2008: carbon-persister started with pid 6480
Thu Jul 17 22:16:36 2008: listener socket ready
Thu Jul 17 22:16:57 2008: accepted connection from ('127.0.0.1', 38171)
Thu Jul 17 22:17:01 2008: lost connection from ('127.0.0.1', 38171)
Thu Jul 17 22:17:03 2008: accepted connection from ('127.0.0.1', 38172)
Thu Jul 17 22:17:57 2008: lost connection from ('127.0.0.1', 38172)
Thu Jul 17 22:18:19 2008: accepted connection from ('127.0.0.1', 38194)
Thu Jul 17 22:19:11 2008: Received SIGTERM, killing children
Thu Jul 17 22:19:11 2008: Sent SIGTERM to carbon-cache
cache.log
Thu Jul 17 22:38:00 2008: update_many: /work/mw/
Thu Jul 17 22:38:00 2008: update_many: /work/mw/
Thu Jul 17 22:38:01 2008: doCheckpoint() now=1216359421 stats={'creates': 0, 'updateTimes': 0.0011448860168
Thu Jul 17 22:38:01 2008: update_many: /work/mw/
<snip>....</snip>
Thu Jul 17 22:38:08 2008: Resorting 3 cache queues by size...
Thu Jul 17 22:38:08 2008: Sorted 3 cache queues in 0.000 seconds
Thu Jul 17 22:38:08 2008: update_many: /work/mw/
Thu Jul 17 22:38:08 2008: update_many: /work/mw/
Thu Jul 17 22:38:08 2008: update_many: /work/mw/
(I am guessing these are Django logs)
exception.log
Nothing
info.log
Fri Jul 18 00:32:56 2008 :: path= pattern=*
Fri Jul 18 00:38:16 2008 :: path= pattern=*
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Aseem
- Solved:
- Last query:
- Last reply: