Returns
Returns a Monitor object for the given parameters, orNone if an error occurs.
Example
Parameters
string
required
Name of the monitor.
string
required
The ID of the product whose production sessions this monitor scores.
list[string]
required
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.string
The ID of a single version to watch. Omit to watch every version of the product.
number
default:"10"
Percentage of production sessions to score, from just above
0 up to 100. Defaults to 10 (10%).int
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.