Hawkular-APM
is the Application Performance Management solution offering:
- Distributed Tracing (e.g. for microservices)
- Application Performance Management
- Business Transaction Management (currently only using JVM javaagent based approach)
Applications can be instrumented, using a non-intrusive Java agent approach for JVM based applications, or through Zipkin client libraries (for polyglot environment).
In other words Hawkular APM provides the capabilities to monitor the flow of invocations across servers, tiers, on-premises and in the cloud. It also enables detailed performance analysis to be performed of the individual components that make up an application.
Running the latest version in OpenShift
A Docker image with the latest released version of Hawkular APM is published to Docker Hub. Additionally, we keep a set of files that can be used in conjunction with OpenShift, to enable a quick and easy way to start a new Hawkular APM instance. If you want to start this way, this is what you'll need:
docker-machine create -d virtualbox --virtualbox-memory 8192 --virtualbox-cpu-count 4 --engine-insecure-registry 172.30.0.0/16 openshift
oc cluster up --docker-machine=openshift
oc create -f https://raw.githubusercontent.com/jboss-dockerfiles/hawkular-apm/master/openshift-templates/hawkular-apm-server-deployment.yml
Note: you should be able to start with a simple oc cluster up
, but allocating more power to the underlying docker-machine
is a good idea.
Build & Run
To build and run execute:
$ mvn clean install -Pdev -DskipTests [-Pitest]
$ dist/target/hawkular-apm-${version}/bin/standalone.sh [-Djboss.http.port=9411]
-> go to http://localhost:[8080|9411]/ and log in with jdoe:password
The parameters to these commands are:
-Djboss.http.port=9411
- bind APM port to Zipkin 9411 port. Default APM port is 8080.-Pdev
- create user jdoe:password-Pitest
- run integration tests
Add non-intrusive Java instrumentation to instrument your applications (doc):
$ source dist/target/hawkular-apm-${version}/apm/setenv.sh <APM server port>
-> restart your Java applications
Documentation
Project documentation can be found here.
REST API documentation can be generated using -Pdocgen
profile. The doc is generated under rest/target
folder.
$ mvn clean install -Pdocgen
Project Structure
The project is divided into several areas:
Folder | Description |
---|---|
api | This module contains the Java interfaces for services and processors, as well as the information model for exchanging business transaction information. |
client | This folder contains the modules used to collector information from an execution environment. |
dist | This module builds a distribution containing a pre-packaged Hawkular server with APM installed. |
examples | This folder contains example applications. |
server | This folder contains the modules related to the server. |
tests | This folder contains the integration tests. |
ui | The angularjs based user interface. |
Related Repositories
License
Hawkular-APM is released under Apache License, Version 2.0 as described in the LICENSE document
Copyright 2015-2016 Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.