Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

garethahealy/hawkular-apm-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status License

PLEASE READ

As Hawkular APM has moved in a different direction, this repo should be regarded as dead. See:

hawkular-apm-poc

PoC around Hawkluar APM monitoring

Running Hawkular APM

To run hawkular apm, you can use the following repo, which contains all the needed Dockerfiles:

git clone https://github.com/garethahealy/hawkular-aio-docker.git
cd hawkular-aio-docker
cd hawkular-apm
docker-compose up

Once the docker container has started, you can then log into apm:

http://{docker host}:8081/hawkular-ui/apm/

The docker image auto-generates a user/password, which is printed out at the begining of the start script, i.e.:

hawkular-apm_1  | ------------------------------------
hawkular-apm_1  | ATTENTION ATTENTION ATTENTION ATTENTION
hawkular-apm_1  | We automatically created an admin user for you to access the Hawkular APM web interface:
hawkular-apm_1  | Username: adminzkR0f-B
hawkular-apm_1  | Password: lzyVsCy-tD2e3Uumo
hawkular-apm_1  | ------------------------------------

Running Camel example

The cdi-simple-jetty example is based on:

https://github.com/fabric8io/ipaas-quickstarts/tree/cc3eb91c365936e40b759d321974329167073bc3/archetypes/cdi-camel-http-client-archetype 

The APM instrumentation config is located in:

cdi-simple-jetty/src/main/hawt-app/apmconfig/jvm

And the APM runtime config, which sets where the APM server is located, is:

cdi-simple-jetty/src/main/hawt-app/bin/setenv.sh

Once it is built, you can run the example by:

cd cdi-simple-jetty/target/hawt-app/bin
./run.sh

You can then go to:

http://localhost:8080/camel/hello?name=bob

Releases

No releases published

Packages

No packages published

Languages