Skip to content

Commit

Permalink
feat: Introduce activationThreshold/minMetricValue for Predictkube Sc… (
Browse files Browse the repository at this point in the history
  • Loading branch information
JorTurFer authored Jul 27, 2022
1 parent ef27be4 commit fd49849
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/docs/2.8/scalers/predictkube.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ triggers:
query: sum(rate(http_requests_total{deployment="my-deployment"}[2m]))
queryStep: "2m"
threshold: '100.50'
activationThreshold: '50.1'
```
**Parameter list:**
Expand All @@ -38,6 +39,7 @@ triggers:
- `query` - Predict the query that will yield the value for the scaler to compare against the `threshold`. The query must return a vector/scalar single element response.
- `queryStep` - The maximum time between two slices within the boundaries for QML range query, used in the query.
- `threshold` - Value to start scaling for. (This value can be a float)
- `activationThreshold`- 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)

### Authentication Parameters

Expand Down

0 comments on commit fd49849

Please sign in to comment.