Skip to content

Commit

Permalink
Fix typo in cortex tenant parameter (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
djetelina authored Sep 30, 2022
1 parent a17d853 commit 2458c5c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions content/docs/2.7/scalers/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ triggers:
threshold: '100'
# Optional fields:
namespace: example-namespace # for namespaced queries, eg. Thanos
cortexOrgId: my-org # Optional. X-Scope-OrgID header for Cortex.
cortexOrgID: my-org # Optional. X-Scope-OrgID header for Cortex.
```
**Parameter list:**
Expand All @@ -31,7 +31,7 @@ triggers:
- `query` - Query to run.
- `threshold` - Value to start scaling for.
- `namespace` - A namespace that should be used for namespaced queries. These are required by some highly available Prometheus setups, such as [Thanos](https://thanos.io). (Optional)
- `cortexOrgId` - The `X-Scope-OrgID` header to query multi tenant [Cortex](https://cortexmetrics.io/). (Optional)
- `cortexOrgID` - The `X-Scope-OrgID` header to query multi tenant [Cortex](https://cortexmetrics.io/) or [Mimir](https://grafana.com/oss/mimir/). (Optional)

### Authentication Parameters

Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.8/scalers/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ triggers:
activationThreshold: '5.5'
# Optional fields:
namespace: example-namespace # for namespaced queries, eg. Thanos
cortexOrgId: my-org # Optional. X-Scope-OrgID header for Cortex.
cortexOrgID: my-org # Optional. X-Scope-OrgID header for Cortex.
ignoreNullValues: false # Default is `true`, which means ignoring the empty value list from Prometheus. Set to `false` the scaler will return error when Prometheus target is lost
```
Expand All @@ -34,7 +34,7 @@ triggers:
- `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)
- `namespace` - A namespace that should be used for namespaced queries. These are required by some highly available Prometheus setups, such as [Thanos](https://thanos.io). (Optional)
- `cortexOrgId` - The `X-Scope-OrgID` header to query multi tenant [Cortex](https://cortexmetrics.io/). (Optional)
- `cortexOrgID` - The `X-Scope-OrgID` header to query multi tenant [Cortex](https://cortexmetrics.io/) or [Mimir](https://grafana.com/oss/mimir/). (Optional)
- `ignoreNullValues` - Value to reporting error when Prometheus target is lost (Values: `true`,`false`, Default: `true`, Optional)

### Authentication Parameters
Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.9/scalers/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ triggers:
activationThreshold: '5.5'
# Optional fields:
namespace: example-namespace # for namespaced queries, eg. Thanos
cortexOrgId: my-org # Optional. X-Scope-OrgID header for Cortex.
cortexOrgID: my-org # Optional. X-Scope-OrgID header for Cortex.
ignoreNullValues: false # Default is `true`, which means ignoring the empty value list from Prometheus. Set to `false` the scaler will return error when Prometheus target is lost
unsafeSsl: false # Default is `false`, Used for skipping certificate check when having self signed certs for Prometheus endpoint
```
Expand All @@ -35,7 +35,7 @@ triggers:
- `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)
- `namespace` - A namespace that should be used for namespaced queries. These are required by some highly available Prometheus setups, such as [Thanos](https://thanos.io). (Optional)
- `cortexOrgId` - The `X-Scope-OrgID` header to query multi tenant [Cortex](https://cortexmetrics.io/). (Optional)
- `cortexOrgID` - The `X-Scope-OrgID` header to query multi tenant [Cortex](https://cortexmetrics.io/) or [Mimir](https://grafana.com/oss/mimir/). (Optional)
- `ignoreNullValues` - Value to reporting error when Prometheus target is lost (Values: `true`,`false`, Default: `true`, Optional)
- `unsafeSsl` - Used for skipping certificate check e.g: using self signed certs (Values: `true`,`false`, Default: `false`, Optional)

Expand Down

0 comments on commit 2458c5c

Please sign in to comment.