Monitoring jobs - best practice?

Hi all,

I have a script that processes jobs. Jobs are stored in a MySQL db and have a flag attribute = "T"odo, "D"one, "I"n Progress.

I would like to have a live view on the number of jobs of each kind (pie chart?) and I was thinking Bokeh could do the job.

The different job counts can be obtained through the API, and I would update the plot every 10 seconds or so.

What do you recommend ?

Thom

Hey Thomas,

We’ve got an example now in the repo that you can look at:

https://github.com/ContinuumIO/Bokeh/blob/master/examples/plotting/server/line_animate.py

You will need to pull the most recent Bokeh from github.

One thing to be aware of when you run this example is that your bokeh-server terminal will fill up with a bunch of logging statements. We will need to add a way to turn that off by default but for now, just dump it to /dev/null.

Let me know if you have any questions.

Thanks,

Peter

···

On Thu, Oct 17, 2013 at 6:44 AM, Thomas Lecocq [email protected] wrote:

Hi all,

I have a script that processes jobs. Jobs are stored in a MySQL db and have a flag attribute = "T"odo, "D"one, "I"n Progress.

I would like to have a live view on the number of jobs of each kind (pie chart?) and I was thinking Bokeh could do the job.

The different job counts can be obtained through the API, and I would update the plot every 10 seconds or so.

What do you recommend ?

Thom

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/92ee7458-3a38-4ae2-ab97-123011c928eb%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out.