Enable/Disable Pyroscope from appsettings.json in .NET


I first posted my question in:

But I figured this site may be more appropriate for the question, so once again:

I was hoping someone could help me confirm if there is anyway to manage the usage of pyroscope through the appsettings.json in a .NET 8 App, There’s nothing i could find in the documentation, was hoping someone would have a suggestion.


Does not seem possible, you can archive this question, did a workaround in my pipelines!