-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add dashboard, monitor, blacklist (#4)
- Loading branch information
1 parent
dae40be
commit 7f9c993
Showing
75 changed files
with
3,452 additions
and
2,487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "guance_blacklist Resource - guance" | ||
subcategory: "" | ||
description: |- | ||
Black List | ||
Guance Cloud supports filtering data that meets the conditions by setting a blacklist. | ||
After configuring the blacklist, the data that meets the conditions will no longer be reported to the Guance Cloud | ||
workspace, helping you save data storage costs. | ||
Create | ||
The first let me create a resource. We will send the create operation to the resource management service | ||
```terraform | ||
resource "guance_blacklist" "demo" { | ||
source = { | ||
type = "logging" | ||
name = "nginx" | ||
} | ||
filter_rules = [ | ||
{ | ||
name = "foo" | ||
operation = "in" | ||
condition = "and" | ||
values = ["oac-*"] | ||
} | ||
] | ||
} | ||
``` | ||
--- | ||
|
||
# guance_blacklist (Resource) | ||
|
||
# Black List | ||
|
||
Guance Cloud supports filtering data that meets the conditions by setting a blacklist. | ||
|
||
After configuring the blacklist, the data that meets the conditions will no longer be reported to the Guance Cloud | ||
workspace, helping you save data storage costs. | ||
|
||
## Create | ||
|
||
The first let me create a resource. We will send the create operation to the resource management service | ||
|
||
```terraform | ||
resource "guance_blacklist" "demo" { | ||
source = { | ||
type = "logging" | ||
name = "nginx" | ||
} | ||
filter_rules = [ | ||
{ | ||
name = "foo" | ||
operation = "in" | ||
condition = "and" | ||
values = ["oac-*"] | ||
} | ||
] | ||
} | ||
``` | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `source` (Attributes) Source (see [below for nested schema](#nestedatt--source)) | ||
|
||
### Optional | ||
|
||
- `filter_rules` (Attributes List) Filters (see [below for nested schema](#nestedatt--filter_rules)) | ||
|
||
### Read-Only | ||
|
||
- `created_at` (String) The RFC3339/ISO8601 time string of resource created at. | ||
- `id` (String) The Guance Resource Name (GRN) of cloud resource. | ||
|
||
<a id="nestedatt--source"></a> | ||
### Nested Schema for `source` | ||
|
||
Required: | ||
|
||
- `type` (String) Source Type, value must be one of: *logging*, *object*, *custom_object*, *network*, *tracing*, *rum*, *security*, *keyevent*, *metric*, other value will be ignored. | ||
|
||
Optional: | ||
|
||
- `name` (String) Source | ||
|
||
|
||
<a id="nestedatt--filter_rules"></a> | ||
### Nested Schema for `filter_rules` | ||
|
||
Required: | ||
|
||
- `condition` (String) Condition, represented by DQL | ||
- `name` (String) Name | ||
- `operation` (String) Operation, value must be one of: *in*, *not in*, *match*, *not match*, other value will be ignored. | ||
|
||
Optional: | ||
|
||
- `values` (List of String) Values | ||
|
||
|
Oops, something went wrong.