IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 18, 2019, 10:46:21 AM (7 years ago)
Author:
tdeboer
Message:

Updates to Czarpoll/Plotter/CzarDb to change IPPmonitor plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/czartool/czarpoll.pl

    r40092 r40702  
    350350    $plotter->setStandardMode();
    351351
    352     foreach $stage (@stages) {
    353         foreach $row ( @{$rows} ) {
    354             my ($label) = @{$row};
    355 
    356             # skip update labels for now. The plots are not relevant.
    357             next if $label =~ 'ps_ud';
    358 
    359             chomp($label);
    360             $plotter->createTimeSeries($label, $stage, $begin, $end, 1, 0, 1);
    361         }
    362     }
     352    #TdB 20190411: We are turning off these plots for the time being. They take up a lot of time and are rarely looked at. If need be, can be generated on the fly using czartool.
     353    #foreach $stage (@stages) {
     354    #    foreach $row ( @{$rows} ) {
     355    #        my ($label) = @{$row};
     356
     357    #        # skip update labels for now. The plots are not relevant.
     358    #        next if $label =~ 'ps_ud';
     359
     360    #        chomp($label);
     361    #        $plotter->createTimeSeries($label, $stage, $begin, $end, 1, 0, 1);
     362    #    }
     363    #}
    363364
    364365    my $allServerLabels = undef;
    365366
    366367    # create plots for each label for all stages
    367     foreach $row ( @{$rows} ) {
    368         my ($label) = @{$row};
    369 
    370         # skip update labels for now. The plots are not relevant.
    371         next if $label =~ 'ps_ud';
    372         # Skip individual label tables for raw-like stages.
    373 #       if ($stage =~ /Exp/) { next; }
    374 
    375         $plotter->createTimeSeries($label, undef, $begin, $end, 1, 1, 1);
    376     }
     368    #TdB 20190411: We are turning off some these plots for the time being.
     369    #foreach $row ( @{$rows} ) {
     370    #    my ($label) = @{$row};
     371
     372    #  #  # skip update labels for now. The plots are not relevant.
     373    #  #  next if $label =~ 'ps_ud';
     374    #  #  # Skip individual label tables for raw-like stages.
     375    #  # if ($stage =~ /Exp/) { next; }
     376    #  #  $plotter->createTimeSeries($label, undef, $begin, $end, 1, 1, 1);
     377
     378    #    #TdB 20190411: Make the all stages plots for the nightlyscience labels only
     379    #    if ($label =~ m/nightlyscience/) {
     380    #      $plotter->createTimeSeries($label, undef, $begin, $end, 1, 0, 1);
     381    #    }
     382    #}
    377383
    378384    $allServerLabels = "all_".$server."_labels";
     
    380386    $plotter->createTimeSeries($allServerLabels, undef, $begin, $end, 1, 0, 1);
    381387
    382     foreach $stage (@stages) {
    383 
    384         $plotter->createTimeSeries($allServerLabels, $stage, $begin, $end, 1, 0, 1); # TODO must be a neater way...
    385     }
     388    #TdB 20190411: We are turning off these plots for the time being. They take up a lot of time and are rarely looked at. If need be, can be generated on the fly using czartool.
     389    #foreach $stage (@stages) {
     390    #    $plotter->createTimeSeries($allServerLabels, $stage, $begin, $end, 1, 0, 1); # TODO must be a neater way...
     391    #}
    386392}
    387393
Note: See TracChangeset for help on using the changeset viewer.