Skip to content

Question: is it possible to automate trace in dotnet-monitor and upload to S3 #5636

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

You must be logged in to vote

This is an existing example of how to collect a trace based on cpu usage: https://github.com/dotnet/dotnet-monitor/blob/main/documentation/collectionrules/collectionruleexamples.md#collect-trace---high-cpu-usage-eventcounter-trigger. With that, you just need to adjust the cpu threshold that you need and configure the egress provider. Here's the docs for the S3 egress provider: https://github.com/dotnet/dotnet-monitor/blob/main/documentation/configuration/egress-configuration.md#80-s3-storage-egress-provider

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jander-msft
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
Converted from issue

This discussion was converted from issue #5632 on November 06, 2023 17:15.