Returns
Returns a Monitor object for the given parameters, orNone if an error occurs.
Example
Parameters
Name of the monitor.
The ID of the product whose production sessions this monitor scores.
The metric family IDs (
metric.metric_group_id) the monitor scores with. At least one is required.
The monitor binds the family, not a specific revision, so revising a metric is picked up automatically.The ID of a single version to watch. Omit to watch every version of the product.
Percentage of production sessions to score, from just above
0 up to 100. Defaults to 10 (10%).Maximum credits to spend per month. Must be positive when set.
None (default) means uncapped.
The effective budget is min(organization balance, cap), so a cap may exceed the monthly allocation.Minutes of session inactivity before a session is treated as finished and eligible for scoring. Defaults to
5.