Closed liquid-sky closed 11 years ago
The issue was with Nginx permissions. After adding
add_header Access-Control-Allow-Origin "*";
add_header Access-Control-Allow-Methods "GET, OPTIONS";
add_header Access-Control-Allow-Headers "origin, authorization, accept";
Into graphite vhost config, I'm able to get graphs.
Hi Dieterbe,
Wanted to test graph-explorer, but for some reason it's unable to POST anything from Graphite render, because it doesn't form URL fully. Here's some some debug info to illustrate that.
When I query for mem_usage (this metric is present in Graphite and in graph-explorer's metrics.json), graph-explorer generated page shows that one metric was found and there's graph present, but nothing's visible:
I've noticed that the POST request that graph-explorer sends to Nginx hosting Graphite looks like this:
Where it requests for '/render/' and doesn't form a full target URL with the metric name and parameters.
On graph-explorer side it seems to be processing just fine, but there's no data to process:
Why doesn't it form request in full format ('/render/?<...>')? Have I missed anything in configuration? I've Graphite and Graph-Explorer running on two VMs in the same VLAN.