Spring Insight uses a plug-in architecture to collect, correlate, and analyze performance metrics from your application and from different pieces of third-party software that work with the application. You can deploy a native application to a Spring Insight-enabled tc Runtime instance and see diagnostics immediately, without further instrumentation. Or, you can use the Spring Insight Development Kit to create plug-ins tailored to the needs of your application. The Developer Kit provides a copy of the source code for all plug-ins shipped with Spring Insight and includes a sample plug-in to use as a starting point for creating your own plug-in.
Use the Developer Kit to create plug-ins that extend Spring Insight functionality; for example:
Among the metrics that the core plug-ins collect are:
Note: The Spring Insight Developer Kit and supporting APIs are published under the Apache Software License, version 2.0. Other portions of Spring Insight, primarily the Trace repository and dashboard user interface, are licensed under the Pivotal EULA. Plug-in authors are free to license their plug-ins as they see fit.
Before you install the Spring Insight Developer Kit:
Download the Spring Insight Developer Kit from the SpringSource Community Web site. The name of the bundle is insight-developer-kit-version.zip
.
Create a directory that will hold the Developer Kit files and unzip the downloaded file into it. For example:
$ mkdir ~/dev/insight-dev
$ cd ~/dev/insight-dev
$ unzip /path/to/insight-developer-kit-version.zip
This creates a sub-directory called insight-developer-kit
.
The Developer Kit installation consists of the following files:
samples/payme-insight-plugin
samples/payme-webapp
insight-plugins/annotation
insight-plugins/grails
insight-plugins/hibernate
insight-plugins/jdbc
insight-plugins/method-endpoint
insight-plugins/servlet
...