Is there a way to specify multiple collection Rules or we can specify only one rule? #5976
-
currently, I have configured one collection rule named HigCPURule can I specify more rules or only one rule? |
Beta Was this translation helpful? Give feedback.
Answered by
jander-msft
Feb 5, 2024
Replies: 1 comment
-
|
Yes, the {
"CollectionRules": {
"Rule1": { ... },
"Rule2": { ... },
"Rule3": { ... },
...
}
} |
Beta Was this translation helpful? Give feedback.
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
Yes, the
CollectionRulessection is a mapping of names to collection rule options; see the JSON Schema forCollectionRules: https://github.com/dotnet/dotnet-monitor/blob/main/documentation/schema.json#L30{ "CollectionRules": { "Rule1": { ... }, "Rule2": { ... }, "Rule3": { ... }, ... } }