Skip to content

Commit 44d2830

Browse files
alexottnkvuong
andauthored
[Doc] Improve description of metric field in databricks_job resource (#4595)
## Changes <!-- Summary of your changes that are easy to understand --> ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [ ] `make test` run locally - [x] relevant change in `docs/` folder - [ ] covered with integration tests in `internal/acceptance` - [ ] using Go SDK - [ ] using TF Plugin Framework Co-authored-by: vuong-nguyen <[email protected]>
1 parent 436221c commit 44d2830

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* Improve documentation for `databricks_access_control_rule_set` ([#4580](https://github.com/databricks/terraform-provider-databricks/pull/4580)).
1717
* Correct `first_on_demand` documentation for `aws_attributes` in `databricks_cluster`.
1818
* Added file events permissions to GCP external location documentation. ([#4415](https://github.com/databricks/terraform-provider-databricks/pull/4415)).
19+
* Improve description of `metric` field in `databricks_job` resource [#4595](https://github.com/databricks/terraform-provider-databricks/pull/4595)
1920

2021
### Exporter
2122

docs/resources/job.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ The following parameter is only available on task level.
468468
This block describes health conditions for a given job or an individual task. It consists of the following attributes:
469469

470470
* `rules` - (List) list of rules that are represented as objects with the following attributes:
471-
* `metric` - (Required) string specifying the metric to check. The only supported metric is `RUN_DURATION_SECONDS` (check [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create) for the latest information).
471+
* `metric` - (Required) string specifying the metric to check, like `RUN_DURATION_SECONDS`, `STREAMING_BACKLOG_FILES`, etc. - check the [Jobs REST API documentation](https://docs.databricks.com/api/workspace/jobs/create#health-rules-metric) for the full list of supported metrics.
472472
* `op` - (Required) string specifying the operation used to evaluate the given metric. The only supported operation is `GREATER_THAN`.
473473
* `value` - (Required) integer value used to compare to the given metric.
474474

0 commit comments

Comments
 (0)