Vitalii Fedorenko
Vitalii Fedorenko

Reputation: 287

How to use dotnet monitor in windows containers to collect application metrics

I'm trying to set up the use of dotnet-monitor in a windows pod. But if I understand correctly, there are no images for use on Windows nodes https://hub.docker.com/_/microsoft-dotnet-monitor. Is there any way to install dotnet-monitor utilities in Dockerfile windows pod to start collecting metrics from my windows application?

Upvotes: 3

Views: 922

Answers (1)

Ansuman Bal
Ansuman Bal

Reputation: 11431

The side car approach for setting up Dotnet Monitor in a Windows Container to get the diagnostics logs of a different container is currently not supported as mentioned by Jander-MSFT in this Github Issue which might get resolved by this Issue.

As a Solution , You will have to install the tool on the same Windows container by running the below command :

dotnet tool install --global dotnet-monitor --version 6.0.0

You can refer this blog by Scott Hanselman for more details on the same .

Upvotes: 2

Related Questions