ISystem ApiGet Perf Report Data Method
Returns the raw, computed performance report data (per-metric summary + per-bucket time
series) so a script can build a custom report instead of the built-in Excel workbook.
Definition
Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
A dynamic object exposing ProfileName, FromLocal, ToLocal, Bucket, BucketTargetPct, TargetPct and a Metrics list; each metric carries totals and a Buckets time series. Returned as dynamic so scripts need not reference the result type's assembly.
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
C#
Object GetPerfReportData(
string profileName,
DateTime from,
DateTime to,
string bucket
)Parameters
- profileName String
- Name of the performance report profile.
- from DateTime
- Range start, in server local time.
- to DateTime
- Range end (exclusive), in server local time.
- bucket String
- Time bucket size: "Minute" or "Hour" (defaults to Minute).
Return Value
ObjectA dynamic object exposing ProfileName, FromLocal, ToLocal, Bucket, BucketTargetPct, TargetPct and a Metrics list; each metric carries totals and a Buckets time series. Returned as dynamic so scripts need not reference the result type's assembly.