View Code? Open in Web Editor
NEW
Interacts with Grafana and hubot-grafana to provide facility to copy/save Grafana panel images
Home Page: http://blog.lanyonm.org/articles/2015/09/30/chatops-hubot-grafana-images-hipchat.html
License: MIT License
grafana-images's People
Contributors
grafana-images's Issues
I think that grafana maybe have used JS to replace the original function.
when I am looking the code of grafana-images,i discover the logic is the same as blow.
My Problem is right or wrong about reason I thought? And,How to deal with it?
curl -H " Authorization: Bearer eyJrIjoiR2pwdlJ2T2gxUVozRDE5MDJFbTc0SHpHNmI4V05tZTQiLCJuIjoiamFuIiwiaWQiOjF9" ' http://127.0.0.1:3000/d/eDbRZpnWk/playground-overview?orgId=1&panelId=4&width=1000&height=500' -o 4.png
but I got it
% head -n20 4.png
< ! DOCTYPE html>
< html lang=" en" >
< head>
< script nonce=" " >
! (function () {
if (' PerformanceLongTaskTiming' in window) {
var g = (window.__tti = { e: [] });
g.o = new PerformanceObserver(function (l) {
g.e = g.e.concat(l.getEntries ());
});
g.o.observe({ entryTypes: [' longtask' ] });
}
}) ();
< /script>
< meta charset=" utf-8" />
< meta http-equiv=" X-UA-Compatible" content=" IE=edge,chrome=1" />
< meta name=" viewport" content=" width=device-width" />
< meta name=" theme-color" content=" #000" />
.........
.........