Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update readme to match new name of config var
  • Loading branch information
Evedel committed Nov 18, 2022
commit 377806aae144d9e88d366957a6a369e85b2ebf1b
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,21 @@ receivers:
* A route can have many sub-routes, forming a tree.
* Routing starts from the root route.

## Note:

If you are operating a big cluster with many events, you might want to adjust the following values in configuration to
avoid throttling issues:

```
kubeQPS: 60
kubeBurst: 60
```
## Troubleshoot "Events Discarded" warning:

- If there are `client-side throttling` warnings in the event-exporter log:
Adjust the following values in configuration:
```
kubeQPS: 100
kubeBurst: 500
```
> `Burst` to roughly match your events per minute
> `QPS` to be 1/5 of the burst
- If there is no request throttling, but events are still dropped:
Consider increasing events cut off age
```
maxEventAgeSeconds: 60
```

### Opsgenie

Expand Down Expand Up @@ -271,13 +277,10 @@ Standard out is also another file in Linux. `logLevel` refers to the application
`trace`, `debug`, `info`, `warn`, `error`, `fatal` and `panic`. When not specified, default level is set to `info`. You
can use the following configuration as an example.

By default, events emit with eventime > 5seconds since catching are not collected.
You can set this period with trottlePeriod in seconds. Consider to increase time of seconds to catch more events like "Backoff".

```yaml
logLevel: error
logFormat: json
trottlePeriod: 5
maxEventAgeSeconds: 5
route:
routes:
- match:
Expand Down
2 changes: 1 addition & 1 deletion config.example.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
logLevel: debug
logFormat: json
throttlePeriod: 10
maxEventAgeSeconds: 10
kubeQPS: 60
kubeBurst: 60
# namespace: my-namespace-only # Omitting it defaults to all namespaces.
Expand Down