mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
docs: mark 'yes' and no
as required, add more details to variants (#3984)
This change adds a little more detail to the client metrics schema. The description for variants felt a little unclear. --------- Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
This commit is contained in:
parent
bb026c0ba1
commit
2be143a64e
@ -81,7 +81,7 @@ export const clientMetricsSchema = {
|
||||
},
|
||||
variants: {
|
||||
description:
|
||||
'How many times each variant was returned',
|
||||
'An object describing how many times each variant was returned. Variant names are used as properties, and the number of times they were exposed is the corresponding value (i.e. `{ [variantName]: number }`).',
|
||||
type: 'object',
|
||||
additionalProperties: {
|
||||
type: 'integer',
|
||||
|
@ -1540,7 +1540,7 @@ The provider you choose for your addon dictates what properties the \`parameters
|
||||
"minimum": 0,
|
||||
"type": "integer",
|
||||
},
|
||||
"description": "How many times each variant was returned",
|
||||
"description": "An object describing how many times each variant was returned. Variant names are used as properties, and the number of times they were exposed is the corresponding value (i.e. \`{ [variantName]: number }\`).",
|
||||
"example": {
|
||||
"variantA": 15,
|
||||
"variantB": 25,
|
||||
|
Loading…
Reference in New Issue
Block a user