mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +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: {
|
variants: {
|
||||||
description:
|
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',
|
type: 'object',
|
||||||
additionalProperties: {
|
additionalProperties: {
|
||||||
type: 'integer',
|
type: 'integer',
|
||||||
|
@ -1540,7 +1540,7 @@ The provider you choose for your addon dictates what properties the \`parameters
|
|||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"type": "integer",
|
"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": {
|
"example": {
|
||||||
"variantA": 15,
|
"variantA": 15,
|
||||||
"variantB": 25,
|
"variantB": 25,
|
||||||
|
Loading…
Reference in New Issue
Block a user