.95 working?

Asked by EricYeh

I think I followed all the steps to installing 0.95.

Note: I had to remove textFromEventDict in carbon/lib/log.py

I can start the carbon-cache but I don't see any logs or data points in the graph.
No graphs are getting created in the whisper directory.

Do I need a cabon-relay process running?

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
chrismd (chrismd) said :
#1

What error were you getting with textFromEventDict? Removing that could explain why you have no logs.

Also just for completeness' sake, what version of twisted are you using?

As for the carbon-relay process no you don't need one unless you have a cluster of graphite machines. A carbon-relay process acts as an application level load balancer for multiple carbon-cache processes. You can read more about it here, http://graphite.wikidot.com/federated-storage

Revision history for this message
EricYeh (eyeh) said :
#2

Thanks, I finally got it working.

I installed Twisted from source and it's working now.

I don't know if you remember but I implemented the moving average and standard deviation functions.

The version I have is slightly different than the one in bzr and I wanted to run something by you.

I replace any "None" values with the last value. Is there anything that would do this automatically for me in Graphite now?

Thanks,
Eric

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of chrismd
Sent: Thursday, January 07, 2010 3:18 PM
To: Eric Yeh
Subject: Re: [Question #96584]: .95 working?

Your question #96584 on Graphite changed:
https://answers.launchpad.net/graphite/+question/96584

    Status: Open => Needs information

chrismd requested for more information:
What error were you getting with textFromEventDict? Removing that could
explain why you have no logs.

Also just for completeness' sake, what version of twisted are you using?

As for the carbon-relay process no you don't need one unless you have a
cluster of graphite machines. A carbon-relay process acts as an
application level load balancer for multiple carbon-cache processes. You
can read more about it here, http://graphite.wikidot.com/federated-
storage

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/graphite/+question/96584

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
chrismd (chrismd) said :
#3

I certainly do remember Eric, and I've found your functions useful many times.

I think I did change that behavior because we had some cases where it wasn't what we wanted. The good news is you can still do it by first calling keepLastValue() on your series.

Let me know if that works for you.

-Chris

Revision history for this message
EricYeh (eyeh) said :
#4

I saw that and it's great. That's exactly what we wanted.

How do you use the saved graphs? Do you need to have the ldap user stuff setup?

It would be cool if we could save them.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of chrismd
Sent: Friday, January 08, 2010 11:00 AM
To: Eric Yeh
Subject: RE: [Question #96584]: .95 working?

Your question #96584 on Graphite changed:
https://answers.launchpad.net/graphite/+question/96584

    Status: Open => Answered

chrismd proposed the following answer:
I certainly do remember Eric, and I've found your functions useful many
times.

I think I did change that behavior because we had some cases where it
wasn't what we wanted. The good news is you can still do it by first
calling keepLastValue() on your series.

Let me know if that works for you.

-Chris

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/graphite/+question/96584/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/graphite/+question/96584

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
EricYeh (eyeh) said :
#5

Chris,

Is there anyway to send multiple commands to the cli through a url?

Thanks,
Eric

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of chrismd
Sent: Friday, January 08, 2010 11:00 AM
To: Eric Yeh
Subject: RE: [Question #96584]: .95 working?

Your question #96584 on Graphite changed:
https://answers.launchpad.net/graphite/+question/96584

    Status: Open => Answered

chrismd proposed the following answer:
I certainly do remember Eric, and I've found your functions useful many
times.

I think I did change that behavior because we had some cases where it
wasn't what we wanted. The good news is you can still do it by first
calling keepLastValue() on your series.

Let me know if that works for you.

-Chris

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/graphite/+question/96584/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/graphite/+question/96584

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
chrismd (chrismd) said :
#6

Yes the Save My Graphs stuff does require the user to be logged in. However you don't have to actually setup LDAP authentication in order to log in, you can go to http://graphiteserver/admin/ and login with the superuser account you created whenever you first ran "manage.py syncdb". If you didn't create a superuser then you can do so now by running "manage.py createsuperuser" in the webapp directory. Once logged in you can create user accounts through Django's admin interface. Or if you trust all of your users you can have them all login to the graphite webapp with that same superuser account.

As for passing multiple commands to the CLI, unfortunately there is no way to do that right now. I have an alternative UI in the works that will replace the CLI and will be a lot more robust and flexible, but that is a few months down the road still.

Revision history for this message
EricYeh (eyeh) said :
#7

Also, we actually use the cli - it's pretty cool.

Do you have any screen shots of the new UI?

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of chrismd
Sent: Friday, January 08, 2010 5:43 PM
To: Eric Yeh
Subject: RE: [Question #96584]: .95 working?

Your question #96584 on Graphite changed:
https://answers.launchpad.net/graphite/+question/96584

    Status: Open => Answered

chrismd proposed the following answer:
Yes the Save My Graphs stuff does require the user to be logged in.
However you don't have to actually setup LDAP authentication in order to
log in, you can go to http://graphiteserver/admin/ and login with the
superuser account you created whenever you first ran "manage.py syncdb".
If you didn't create a superuser then you can do so now by running
"manage.py createsuperuser" in the webapp directory. Once logged in you
can create user accounts through Django's admin interface. Or if you
trust all of your users you can have them all login to the graphite
webapp with that same superuser account.

As for passing multiple commands to the CLI, unfortunately there is no
way to do that right now. I have an alternative UI in the works that
will replace the CLI and will be a lot more robust and flexible, but
that is a few months down the road still.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/graphite/+question/96584/+confirm?answer_id=5

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/graphite/+question/96584

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
EricYeh (eyeh) said :
#8

Great, I got it working. How do you delete graphs?

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of chrismd
Sent: Friday, January 08, 2010 5:43 PM
To: Eric Yeh
Subject: RE: [Question #96584]: .95 working?

Your question #96584 on Graphite changed:
https://answers.launchpad.net/graphite/+question/96584

    Status: Open => Answered

chrismd proposed the following answer:
Yes the Save My Graphs stuff does require the user to be logged in.
However you don't have to actually setup LDAP authentication in order to
log in, you can go to http://graphiteserver/admin/ and login with the
superuser account you created whenever you first ran "manage.py syncdb".
If you didn't create a superuser then you can do so now by running
"manage.py createsuperuser" in the webapp directory. Once logged in you
can create user accounts through Django's admin interface. Or if you
trust all of your users you can have them all login to the graphite
webapp with that same superuser account.

As for passing multiple commands to the CLI, unfortunately there is no
way to do that right now. I have an alternative UI in the works that
will replace the CLI and will be a lot more robust and flexible, but
that is a few months down the road still.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/graphite/+question/96584/+confirm?answer_id=5

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/graphite/+question/96584

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
EricYeh (eyeh) said :
#9

Sorry to keep replying to my email but how do you get to the django admin interface to create users?

-----Original Message-----
From: Eric Yeh
Sent: Monday, January 11, 2010 10:21 AM
To: '<email address hidden>'
Subject: RE: [Question #96584]: .95 working?

Also, we actually use the cli - it's pretty cool.

Do you have any screen shots of the new UI?

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of chrismd
Sent: Friday, January 08, 2010 5:43 PM
To: Eric Yeh
Subject: RE: [Question #96584]: .95 working?

Your question #96584 on Graphite changed:
https://answers.launchpad.net/graphite/+question/96584

    Status: Open => Answered

chrismd proposed the following answer:
Yes the Save My Graphs stuff does require the user to be logged in.
However you don't have to actually setup LDAP authentication in order to
log in, you can go to http://graphiteserver/admin/ and login with the
superuser account you created whenever you first ran "manage.py syncdb".
If you didn't create a superuser then you can do so now by running
"manage.py createsuperuser" in the webapp directory. Once logged in you
can create user accounts through Django's admin interface. Or if you
trust all of your users you can have them all login to the graphite
webapp with that same superuser account.

As for passing multiple commands to the CLI, unfortunately there is no
way to do that right now. I have an alternative UI in the works that
will replace the CLI and will be a lot more robust and flexible, but
that is a few months down the road still.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/graphite/+question/96584/+confirm?answer_id=5

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/graphite/+question/96584

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
chrismd (chrismd) said :
#10

I will put a screenshot on the wiki soon, but trust me it is much better than the CLI and fills the same role in terms of creating dashboards.

Believe it or not I never added a way to delete saved My Graphs. It would be pretty easy to add though so I will target it for the February release (Bug #506616). If you get anxious though feel free to implement it before then :)

As for adding users on the Django admin site, there should be an 'Auth' table on the admin page with a 'Users' row that has an 'Add' button. There is also more detailed documentation on the django website, http://www.djangoproject.com

-Chris

Can you help with this problem?

Provide an answer of your own, or ask EricYeh for more information if necessary.

To post a message you must log in.