Skip to content

Commit

Permalink
feat(o11y): Configure opentelemetry filter at runtime (#7701)
Browse files Browse the repository at this point in the history
Enabling or disabling tracing at runtime can be useful to debug issues with nodes running too slow. This allows us to avoid restarting a node, which is known to have a rather large impact on the node.

Tested that all combinations of logs verbosity and opentelemetry verbosity work well together.
Tested by reconfiguring logging as follows:

```
echo '{"verbose_module":"", "opentelemetry_level": "DEBUG"}' > ~/.near/betanet/log_config.json ; killall -SIGHUP neard
```
  • Loading branch information
nikurt committed Sep 29, 2022
1 parent 87706b5 commit 6ed9f4b
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 173 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

Loading

0 comments on commit 6ed9f4b

Please sign in to comment.