Was hoping one of the officiando's on this board could enlighten me on what I could possibly doing wrong.
I have created a WCF dashboard that shows a VMs CPU and Memory Avg and Max Utilization for the past 30 days. The vFogkight data in the dashboard, from my reviewing of the VM through vCenter, shows correctly and is provided below
When I create a function that pulls the exact same metrics I for some reason am not getting the same information.
1. Average memory for the period appears to be correct
specificTimeRange is provided automatically, based on the timeRange selected on the user's dashboard settings.
If you test the function in WCF, you get a specificTimeRange = all time. Quite annoying, really.
If you assign the result of the function to a column on a simple row-oriented table (or any view, for that matter), it inherits the dashboard timeRange automatically.
If, for example, you are using the function in additional context, or even as the default value for an optional parameter, you still get the specificTimeRange set properly, since it's built into the entire dashboard context, and available to any function running within the dashboard.
Unfortunately the way I am using the metrics I perform a metric review before the data would get to the dashboard and send to the dashboard a custom string depending on what threshold the metric was above or below.
What you describe is exactly correct and I have corrected the time range in my row-oriented table. I have verified the metrics are correct for the time range selected and am able to perform calculations against them.
john_s_main
132 Posts
413
1
Posted November 20th, 2012 13:00
specificTimeRange is provided automatically, based on the timeRange selected on the user's dashboard settings.
If you test the function in WCF, you get a specificTimeRange = all time. Quite annoying, really.
If you assign the result of the function to a column on a simple row-oriented table (or any view, for that matter), it inherits the dashboard timeRange automatically.