Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The tool may cannot be used ,now not suitable for Grafana . #1

Open
AricSu opened this issue Oct 13, 2021 · 0 comments
Open

The tool may cannot be used ,now not suitable for Grafana . #1

AricSu opened this issue Oct 13, 2021 · 0 comments

Comments

@AricSu
Copy link

AricSu commented Oct 13, 2021

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" />
.........
.........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant