The pcp container
  • Dockerfile 50.9%
  • Shell 49.1%
Find a file
2020-05-07 14:57:43 +02:00
root enable additional PMDAs, set version 2020-05-07 14:38:55 +02:00
Dockerfile revert version back to 0 (depends on when the image was built) 2020-05-07 14:57:43 +02:00
help.md initial container import 2020-04-15 20:47:28 +02:00
README.md initial container import 2020-04-15 20:47:28 +02:00

Performance Co-Pilot container

Performance Co-Pilot is a system performance analysis toolkit.

Usage

$ podman run -d \
    --systemd always \
    -p 44322:44322 \
    -v pcp-archives:/var/log/pcp/pmlogger \
    --name pcp \
    registry.fedoraproject.org/pcp

Note: On SELinux enabled systems, the following boolean needs to be set: sudo setsebool -P container_manage_cgroup true

Enabling host processes, network, container and eBPF metrics

$ sudo podman run -d \
    --privileged \
    --net host \
    --systemd always \
    -v pcp-archives:/var/log/pcp/pmlogger \
    -v /:/host:ro,rslave \
    -v /lib/modules:/lib/modules:ro \
    -e HOST_MOUNT=/host \
    --name pcp \
    registry.fedoraproject.org/pcp

Environment Variables

HOST_MOUNT

Path inside the container to the bind mount of / on the host.

REDIS_SERVERS

Redis connection spec(s) - could be any individual cluster host, and all hosts in the cluster will be automatically discovered. Alternately, use comma-separated hostspecs (non-clustered setup)

Volumes

/var/log/pcp/pmlogger

Performance Co-Pilot archive files with historical metrics.

Ports

44322/tcp

The pmproxy daemon listens on this port and exposes a REST API to access metrics.

Documentation

https://pcp.io