I am writing a PowerShell script where I gather Key Performance Indicators and trigger condition based Email and SMS notifications. I am successful on triggering a notification if the OSISoft.PI.Analysis (Status) flag comes up as "Not Running". I'd like to expand on this.
What namespace and class can I find the following performance metrics as seen on the "Performance" tab in PI Explorer?
- Impact Score
- Average Lag (ms)
- Group Trigger Ratio
- Current Evaluation Lag
- Average Analysis Count
- First Trigger Time
- Last Trigger Time
Thanks