Skip to content

Commit 53699b7

Browse files
authored
Support float queryValue for MongoDB scaler (#1553)
Signed-off-by: rickbrouwer <[email protected]>
1 parent 3bc347e commit 53699b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/2.17/scalers/mongodb.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ The `mongodb` trigger always requires the following information:
6464
- `dbName` - Name of the database.
6565
- `collection` - Name of the collection.
6666
- `query` - A MongoDB query that should return single numeric value.
67-
- `queryValue` - A threshold that will define when scaling should occur.
68-
- `activationQueryValue` - Target value for activating the scaler. Learn more about activation [here](./../concepts/scaling-deployments.md#activating-and-scaling-thresholds). (Default: `0`, Optional)
67+
- `queryValue` - A threshold that will define when scaling should occur. This value can be a float.
68+
- `activationQueryValue` - Target value for activating the scaler. Learn more about activation [here](./../concepts/scaling-deployments.md#activating-and-scaling-thresholds). (Default: `0`, Optional). This value can be a float.
6969

7070
To connect to the MongoDB server, you can provide either:
7171

0 commit comments

Comments
 (0)