Skip to content

Commit

Permalink
Adds docs related with metricName (kedacore#533)
Browse files Browse the repository at this point in the history
Signed-off-by: jorturfer <[email protected]>
  • Loading branch information
Jorge Turrado Ferrero authored Oct 4, 2021
1 parent b5ef50c commit 686076b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/docs/2.5/scalers/azure-log-analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ triggers:
- `workspaceId` - Id of Log Analytics workspace. Follow [this](https://docs.microsoft.com/en-us/cli/azure/monitor/log-analytics/workspace?view=azure-cli-latest#az-monitor-log-analytics-workspace-list) link to get your Log Analytics workspace id.
- `query` - Log Analytics [kusto](https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/get-started-queries) query, JSON escaped. You can use [this](https://www.freeformatter.com/json-escape.html) tool to convert your query from Log Analytics query editor to JSON escaped string, and then review YAML specific escapes.
- `threshold` - Value that is used as a threshold to calculate # of pods for scale target.
- `metricName`: An optional name to assign to the metric. If not set, KEDA will generate a name based on the workspaceId.

The authentication parameters could be provided using environmental variables, instead of setting them directly in metadata. Here is a list of parameters you can use to retrieve values from environment variables:

Expand Down

0 comments on commit 686076b

Please sign in to comment.