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

2.7.7: Analysis interval is ignored #3

Open
plykkegaard opened this issue Jun 10, 2017 · 4 comments
Open

2.7.7: Analysis interval is ignored #3

plykkegaard opened this issue Jun 10, 2017 · 4 comments
Assignees
Labels

Comments

@plykkegaard
Copy link

plykkegaard commented Jun 10, 2017

Whether I set the interval to 30 minutes, 60 minutes or leave it a Auto the interval used/displayed is ~45 minutes
24 hours log data

Ahh the parameter is not set, from the PAL.log:

Name Value


AllCounterStats False
AnalysisInterval AUTO
BeginTime
DisplayReport True

@plykkegaard
Copy link
Author

The defined interval configuration Is present in the argument list before the powershell script is executed, but the script always uses "AUTO"

@clinthuffman
Copy link
Owner

Correct and I'm sorry, this is a known bug. I will likely fix this in PAL 3.0.

@clinthuffman clinthuffman self-assigned this Jun 21, 2017
@clinthuffman clinthuffman added this to the 3.0 milestone Jun 21, 2017
@clinthuffman clinthuffman removed this from the 3.0 milestone Sep 27, 2018
@marcalpers
Copy link

Still open error :(

@r-kac
Copy link

r-kac commented Feb 4, 2022

This bug is caused by the parameter name mismatch for Interval:

In vb the parameter is passed in as "Interval"

In Pal.ps1 the parameter is called "AnalysisInterval" and it's default value is "AUTO"

Since it never gets updated it stays as "AUTO"

A quick fix is to change the paramater in PAL.ps1 to Interval and then add a line to assign it over to the variable used through out the code
$AnalysisInterval=$Interval

There is also a loose assignment in the code that works if you use the above workaround

$global:AnalysisInterval = $Interval

To be safe, chould change it to

$global:AnalysisInterval = $global:oPal.ArgsProcessed.AnalysisInterval

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants