Skip to content

AlekSi/pmm-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

pmm-workshop

Start PMM Server in Docker with:

docker-compose up pmm-server

Login into http://127.0.0.1/ with login "admin" and password "admin".

Start PMM Client in Docker with:

docker-compose up pmm-client

Add host computer into PMM Server's inventory and get Node ID:

docker exec -it pmm-client pmm-admin inventory add node generic \
    --address=host.docker.internal host

Add external Service running on the host computer (replace <HOST NODE ID> with Node ID from the previous step):

docker exec -it pmm-client pmm-admin add external \
    --listen-port=9100 \
    --metrics-path=/prom \
    --service-name=workshop \
    --service-node-id=<HOST NODE ID> \
    --agent-node-id=<HOST NODE ID>

Open those URLs:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published