Skip to content

Commit

Permalink
chore(userconfig): generate schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and rriski committed Sep 25, 2024
1 parent 7ae11e8 commit 1dfed67
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/data-sources/thanos.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ Read-Only:
Read-Only:

- `compactor` (List of Object) (see [below for nested schema](#nestedobjatt--thanos_user_config--compactor))
- `env` (Map of String)
- `ip_filter` (Set of String)
- `ip_filter_object` (Set of Object) (see [below for nested schema](#nestedobjatt--thanos_user_config--ip_filter_object))
- `ip_filter_string` (Set of String)
Expand Down Expand Up @@ -164,6 +165,8 @@ Read-Only:
- `query_lookback_delta` (String)
- `query_metadata_default_time_range` (String)
- `query_timeout` (String)
- `store_limits_request_samples` (Number)
- `store_limits_request_series` (Number)


<a id="nestedobjatt--thanos_user_config--query_frontend"></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/opensearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Optional:
- `action_destructive_requires_name` (Boolean) Require explicit index names when deleting.
- `auth_failure_listeners` (Block List, Max: 1) Opensearch Security Plugin Settings (see [below for nested schema](#nestedblock--opensearch_user_config--opensearch--auth_failure_listeners))
- `cluster_max_shards_per_node` (Number) Controls the number of shards allowed in the cluster per data node. Example: `1000`.
- `cluster_routing_allocation_node_concurrent_recoveries` (Number) How many concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen on a node. Defaults to 2.
- `cluster_routing_allocation_node_concurrent_recoveries` (Number) How many concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen on a node. Defaults to node cpu count * 2.
- `email_sender_name` (String) Sender name placeholder to be used in Opensearch Dashboards and Opensearch keystore. Example: `alert-sender`.
- `email_sender_password` (String, Sensitive) Sender password for Opensearch alerts to authenticate with SMTP server. Example: `very-secure-mail-password`.
- `email_sender_username` (String) Sender username for Opensearch alerts. Example: `jane@example.com`.
Expand Down
3 changes: 3 additions & 0 deletions docs/resources/thanos.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ Read-Only:
Optional:

- `compactor` (Block List, Max: 1) ThanosCompactor (see [below for nested schema](#nestedblock--thanos_user_config--compactor))
- `env` (Map of String) Environmental variables.
- `ip_filter` (Set of String, Deprecated) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
- `ip_filter_object` (Block Set, Max: 1024) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16` (see [below for nested schema](#nestedblock--thanos_user_config--ip_filter_object))
- `ip_filter_string` (Set of String) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
Expand Down Expand Up @@ -159,6 +160,8 @@ Optional:
- `query_lookback_delta` (String) The maximum lookback duration for retrieving metrics during expression evaluations in PromQL. PromQL always evaluates the query for a certain timestamp, and it looks back for the given amount of time to get the latest sample. If it exceeds the maximum lookback delta, it assumes the series is stale and returns none (a gap). The lookback delta should be set to at least 2 times the slowest scrape interval. If unset, it will use the promql default of 5m. Default: `5m`.
- `query_metadata_default_time_range` (String) The default metadata time range duration for retrieving labels through Labels and Series API when the range parameters are not specified. The zero value means the range covers the time since the beginning. Default: `0s`.
- `query_timeout` (String) Maximum time to process a query by the query node. Default: `2m`.
- `store_limits_request_samples` (Number) The maximum samples allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. NOTE: For efficiency, the limit is internally implemented as 'chunks limit' considering each chunk contains a maximum of 120 samples. The default value is 100 * store.limits.request-series. Default: `0`.
- `store_limits_request_series` (Number) The maximum series allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. The default value is 1000 * cpu_count. Default: `0`.


<a id="nestedblock--thanos_user_config--query_frontend"></a>
Expand Down
2 changes: 1 addition & 1 deletion internal/sdkprovider/userconfig/service/opensearch.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions internal/sdkprovider/userconfig/service/service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions internal/sdkprovider/userconfig/service/thanos.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1dfed67

Please sign in to comment.