Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The script maintain-logs is executed daily as a cron-job

...

Updates

July 2019

Updated several of the metrics.

October 2019

The frame for the chart was being displayed but with no contents.

Image Added

Umar pointed out

Please change line 307, which currently lists:
      <script type='text/javascript' src='https://www.google.com/jsapi'></script>
to be: 
<script type='text/javascript' src='https://www.gstatic.com/charts/loader.js'></script>. N.b. do not use " instead of '.
 Determined the change was needed in /afs/slac/package/pinger/motion-chart/create-motion-chart-page.pl (nb no 's' in page). Backup copy kept in ~cottrell/bin/afs/slac/package/pinger/motion-chart/create-motion-chart-pages-20191012.pl
Reran create-motion-chart-pages.pl (nb this one has abn 's' in it).

Sat Oct 12 10:48:28 2019 create-motion-chart-pages.pl: finished, took 239 secs.

I followed the instructions for Enabling Flash in Chrome at https://support.digication.com/hc/en-us/articles/115003963468-Enabling-Flash-for-Google-Chrome-Windows-Macintosh-2.0.0 is installed in this browser

No change.

Viewed source and made sure change had taken effect:

Code Block
<!DOCTYPE HTML>
<html lang='en'><head>
<meta charset='UTF-8'>
<title>PingER Metrics Motion Chart </title>
<link href='layout/style-large.css' rel ='stylesheet' title='large'/>
<link href='layout/style.css' rel ='stylesheet' title='small' />
<script type='text/javascript' src='scripts/event_listeners.js'></script>
<script type='text/javascript' src='scripts/resolution.js'></script>
<!--   <link href='layout/style.css' rel='stylesheet' type='text/css'/> -->
      <script type='text/javascript' src='https://www.gstatic.com/charts/loader.js'></script>
          <script type='text/javascript'>
            google.load('visualization', '1', {packages:['motionchart']});
            google.setOnLoadCallback(drawChart);
            function drawChart() {

Looked in Developer tools, noted:

pinger-metrics-motion-chart.html:51508 A parser-blocking, cross site (i.e. different eTLD+1) script, https://ssl.google-analytics.com/ga.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
(anonymous) @ pinger-metrics-motion-chart.html:51508
pinger-metrics-motion-chart.html:1 Cross-origin plugin content from must have a visible size larger than 400 x 300 pixels, or it will be blocked. Invisible content is always blocked.






 

 

 

 

 

...