Pcp Monitoring docker Application of spring boot

  performance

What is pcp

Performance Co-Pilot provides a framework and a set of services to support the underlying performance monitoring and performance management. Provides a unified abstraction layer and API for all performance-sensitive applications.

Ubuntu’s docker version installs pcp

RUN echo "deb http://dl.bintray.com/pcp/trusty trusty main" | tee -a /etc/apt/sources.list
RUN apt-get update
RUN apt-get install pcp pcp-webapi --assume-yes --force-yes
RUN update-rc.d pmcd defaults
# Starting pmcd on startup
RUN update-rc.d pmwebd defaults
# Starting pmwebd on startup
RUN update-rc.d pmlogger defaults
# Starting Logger on startup
RUN service pmcd restart
RUN service pmwebd restart
RUN service pmlogger restart

EXPOSE 44321
EXPOSE 44323

Entrypoint startup

#!/bin/bash
service pmcd start
service pmlogger start
service pmie start
service pmwebd start

run

docker run -p 44321:44321 -p 44323:44323 --rm -it pcp-demo:0.1.0 /bin/bash

Docker runs vector

docker pull netflixoss/vector:latest
docker run \
  -d \
  --name vector \
  -p 10080:80 \
  netflixoss/vector:latest

examine

图片描述

doc