Skip to content

Is there a way to specify multiple collection Rules or we can specify only one rule? #5976

Answered by jander-msft
jaya-rama asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, the CollectionRules section is a mapping of names to collection rule options; see the JSON Schema for CollectionRules: https://github.com/dotnet/dotnet-monitor/blob/main/documentation/schema.json#L30

{
  "CollectionRules": {
    "Rule1": { ... },
    "Rule2": { ... },
    "Rule3": { ... },
    ...
  }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jaya-rama
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants