dotnet / dotnet/aspnetcore

How does Dotnet Monitor analyze Docker applications?

Open
#64,328 0 comments 0 reactions 0 assignees View on GitHub
area-commandlinetools
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

How does Dotnet Monitor analyze Docker applications?
After running, I access curl http://127.0.0.1:52323/processes

There is no data available

```
docker run --rm -it --name dotnet-monitor \
-p 52323:52323 \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-e DOTNETMONITOR_Urls=http://0.0.0.0:52323 \
-e DOTNETMONITOR_Authentication__Scheme=NoAuth \
-e DOTNETMONITOR_Authentication__MonitorApiKey__Subject="5bfcb98a-5637-456e-9c97-df8e3be7fa4f" \
-e DOTNETMONITOR_Authentication__MonitorApiKey__PublicKey="eyJjcnYiOiJQLTM4NCIsImtleV9vcHMiOltdLCJrdHkiOiJFQyIsIm90aCI6W10sIngiOiJEWmkwZDkxSkRscFZxUjEwNXVjaHdKLVZKMW4tM21mQVhhN050ZFVVQjYwOFBBaFowVUVNcUs5SmNjRnpNaUNkIiwieDVjIjpbXSwieSI6IjMyYXItdDRVRkxLZ01NcmxCX0o5aHFyTnY5dk5BMnhxUmNqTENKQWV1ZE0zeGFkSWZxa09NX2NRdDhrTlQ4WXAifQ" \
mcr.microsoft.com/dotnet/monitor:10
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.