dotnet / dotnet/diagnostics

[Feature Request] dotnet trace should trigger based on namespace and frequency

Open
#832 5 comments 2 reactions 0 assignees View on GitHub
dotnet-trace enhancement question
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 3h
Merged PRs (30d)
38

Description

In production, one typically has a focused suspect area to investigate. Tracing in a busy/noisy production environment would be far more very productive if we could express "trace from `Product.Module.SuspectMethod` and do that once every 600 seconds."

example

```
dotnet-trace collect --trigger=MyProduct.MyModule.MyMethod --interval=600
```

Additionally, one could have

`--interval-jitter=100` to avoid sample aliasing effects.
`interval=0` or missing the params: just trace once and be done

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.