Docker-monitoring not working
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 194
- Avg merge
- 18m
- Merged PRs (30d)
- 3
Description
i'm trying to use: https://tianji.dev/docs/install/docker-monitoring
I have podman, and have setup my volume this way:
-v /run/user/"$(id -u)/podman/podman.sock":/var/run/docker.sock
If i go into the container I can see:
/app/tianji # ls -la /var/run/docker.sock
srw------- 1 root root 0 Sep 17 17:51 /var/run/docker.sock
/app/tianji # test -r /var/run/docker.sock && echo "readable" || echo "not readable"
readable
/app/tianji #
and if i try:
curl --unix-socket /var/run/docker.sock http://localhost/containers/json
i can see it returns all my containers, however, in the Tianji UI i don't see anything. I just ran a new Tianji, did not setup any websites etc, but i thought i will be able to see my containers metrics somewhere (under servers)...
There are no errors (nor anything about server monitoring)...
Can somebody please help 🙇
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Docker-monitoring documentation at https://tianji.dev/docs/install/docker-monitoring and reproduce the reported Podman volume mapping and curl request against /var/run/docker.sock. Then trace why the containers do not appear under the Tianji UI's servers area. Done means identifying the missing configuration or compatibility issue and documenting the expected monitoring behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100