Using heroic datasource with the latest grafana.
Downloaded the heroic plug in for heroic from:
Added the following in the datasource.ts:
this.metricFindQuery = function(query: String) {
// convert query using template.
query = templateSrv.replace(query);
return this.doRequest('/query/metrics', {
method: 'POST',
data: query
});
};
Here is how I setup the query:
Unsupported media type error error is received.