Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyuan committed Sep 19, 2024
1 parent 17ba7c6 commit cabeccc
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/resources/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ resource "sentry_project" "default" {
resolve_age = 720
default_rules = false
filters = {
blacklisted_ips = ["127.0.0.1", "0.0.0.0/8"]
releases = ["1.*", "[!3].[0-9].*"]
error_messages = ["TypeError*", "*: integer division or modulo by zero"]
}
}
```

Expand Down Expand Up @@ -59,9 +65,9 @@ resource "sentry_project" "default" {

Optional:

- `blacklisted_ips` (Set of String) Filter events from these IP addresses.
- `error_messages` (Set of String) Filter events by error messages. Allows [glob pattern matching](https://en.wikipedia.org/wiki/Glob_(programming)).
- `releases` (Set of String) Filter events from these releases. Allows [glob pattern matching](https://en.wikipedia.org/wiki/Glob_(programming)).
- `blacklisted_ips` (Set of String) Filter events from these IP addresses. (e.g. 127.0.0.1 or 10.0.0.0/8)
- `error_messages` (Set of String) Filter events by error messages. Allows [glob pattern matching](https://en.wikipedia.org/wiki/Glob_(programming)). (e.g. TypeError* or *: integer division or modulo by zero)
- `releases` (Set of String) Filter events from these releases. Allows [glob pattern matching](https://en.wikipedia.org/wiki/Glob_(programming)). (e.g. 1.* or [!3].[0-9].*)

## Import

Expand Down

0 comments on commit cabeccc

Please sign in to comment.