Skip to content

Commit

Permalink
docs: Add units to rate limit description (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
schew2381 authored Jul 31, 2024
1 parent afcd129 commit a6250c2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/all_keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ Read-Only:
- `project_id` (String) The ID of the project that the key belongs to.
- `public` (String) The public key.
- `rate_limit_count` (Number) Number of events that can be reported within the rate limit window.
- `rate_limit_window` (Number) Length of time that will be considered when checking the rate limit.
- `rate_limit_window` (Number) Length of time in seconds that will be considered when checking the rate limit.
- `secret` (String) The secret key.
2 changes: 1 addition & 1 deletion docs/data-sources/key.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ data "sentry_key" "first" {
- `project_id` (String) The ID of the project that the key belongs to.
- `public` (String) The public key.
- `rate_limit_count` (Number) Number of events that can be reported within the rate limit window.
- `rate_limit_window` (Number) Length of time that will be considered when checking the rate limit.
- `rate_limit_window` (Number) Length of time in seconds that will be considered when checking the rate limit.
- `secret` (String) The secret key.
2 changes: 1 addition & 1 deletion docs/resources/key.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "sentry_key" "default" {
### Optional

- `rate_limit_count` (Number) Number of events that can be reported within the rate limit window.
- `rate_limit_window` (Number) Length of time that will be considered when checking the rate limit.
- `rate_limit_window` (Number) Length of time in seconds that will be considered when checking the rate limit.

### Read-Only

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_all_client_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (d *AllClientKeysDataSource) Schema(ctx context.Context, req datasource.Sch
Computed: true,
},
"rate_limit_window": schema.Int64Attribute{
MarkdownDescription: "Length of time that will be considered when checking the rate limit.",
MarkdownDescription: "Length of time in seconds that will be considered when checking the rate limit.",
Computed: true,
},
"rate_limit_count": schema.Int64Attribute{
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_client_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (d *ClientKeyDataSource) Schema(ctx context.Context, req datasource.SchemaR
Computed: true,
},
"rate_limit_window": schema.Int64Attribute{
MarkdownDescription: "Length of time that will be considered when checking the rate limit.",
MarkdownDescription: "Length of time in seconds that will be considered when checking the rate limit.",
Computed: true,
},
"rate_limit_count": schema.Int64Attribute{
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_client_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (r *ClientKeyResource) Schema(ctx context.Context, req resource.SchemaReque
Required: true,
},
"rate_limit_window": schema.Int64Attribute{
MarkdownDescription: "Length of time that will be considered when checking the rate limit.",
MarkdownDescription: "Length of time in seconds that will be considered when checking the rate limit.",
Optional: true,
},
"rate_limit_count": schema.Int64Attribute{
Expand Down

0 comments on commit a6250c2

Please sign in to comment.