Grafana configuration

We’re trying to configure grafana in OOD based on these instructions: https://osc.github.io/ood-documentation/latest/customization.html#grafana-support

We do have our test install of grafana set to allow embedded panels and anonymous auth. Is there anything we have to do in OnDemand beside this cluster config to get this to work? We’re not getting any error messages but nothing is coming up in the active jobs details. Can you send a screenshot of what it should look like? Thanks!

The method that generates the graphana link for the iframe ends with this:

  rescue StandardError => e
    puts "ERROR: #{e}"
    nil
  end

So errors might be in the per user log files.

This is what it would look like:

You should also verify for the job you are inspecting that the nodes array in the jobs json is not empty. Here is a screenshot showing me inspecting the response json of the jobs.json request:

If that is empty, then there is another problem.

1 Like