Skip to content

Commit

Permalink
docs: update documents
Browse files Browse the repository at this point in the history
  • Loading branch information
ttys3 committed Mar 1, 2024
1 parent 4c7bc68 commit ef1a40d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/content/observability/access-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ The available filters are:
- `statusCodes`, to limit the access logs to requests with a status codes in the specified range
- `retryAttempts`, to keep the access logs when at least one retry has happened
- `minDuration`, to keep access logs when requests take longer than the specified duration (provided in seconds or as a valid duration format, see [time.ParseDuration](https://golang.org/pkg/time/#ParseDuration))
- `serviceNames` to keep access logs with service names in the whitelist

```yaml tab="File (YAML)"
# Configuring Multiple Filters
Expand All @@ -125,6 +126,10 @@ accessLog:
- "300-302"
retryAttempts: true
minDuration: "10ms"
serviceNames:
- "service1@file"
- "service2@consulcatalog"
- "service3@consulcatalog"
```

```toml tab="File (TOML)"
Expand Down

0 comments on commit ef1a40d

Please sign in to comment.