Public | Automated Build

Last pushed: 3 months ago
Short Description
Pinpoint Agent and OpenJRE Dockerfile
Full Description

pinpointagent-openjre

Pinpoint Agent and OpenJRE Dockerfile

To run container

docker run -it --rm \
   -e COLLECTOR_IP="192.168.0.18" \
   -p 8080:8080 \
   -v /PATH/TO/YOUR/SPRINGBOOT-APP.jar:/opt/apps/app.jar \
   marcosamm/pinpointagent-openjre \
   /bin/sh -c "java -javaagent:/opt/pinpoint-agent/pinpoint-bootstrap.jar -Dpinpoint.agentId=YOURAGENTID -Dpinpoint.applicationName=YOURAPPNAME -jar /opt/apps/app.jar"

To access

http://localhost:8080

Notes

  • The following environment variables can be used to set pinpoint-agent configuration properties (pinpoint.config):
    • COLLECTOR_IP
    • PROFILER_APPLICATIONSERVERTYPE
    • PROFILER_TOMCAT_CONDITIONAL_TRANSFORM
    • PROFILER_SAMPLING_RATE
    • PROFILER_INCLUDE
    • PROFILER_ENTRYPOINT
    • PROFILER_JSON_JSONLIB
    • PROFILER_JSON_JACKSON
    • PROFILER_JSON_GSON
  • You can map a custom configuration file as a volume with the option: -v /path/to/pinpoint.config:/assets/pinpoint-agent/pinpoint.config
Docker Pull Command
Owner
marcosamm
Source Repository