Instrumentation for the Servlet API


License

License

Categories

Categories

Glowroot Application Testing & Monitoring Monitoring
GroupId

GroupId

org.glowroot.instrumentation
ArtifactId

ArtifactId

instrumentation-servlet
Last Version

Last Version

0.14.9
Release Date

Release Date

Type

Type

jar
Description

Description

Instrumentation for the Servlet API
Instrumentation for the Servlet API
Project Organization

Project Organization

Glowroot contributors

Download instrumentation-servlet

How to add to project

<!-- https://jarcasting.com/artifacts/org.glowroot.instrumentation/instrumentation-servlet/ -->
<dependency>
    <groupId>org.glowroot.instrumentation</groupId>
    <artifactId>instrumentation-servlet</artifactId>
    <version>0.14.9</version>
</dependency>
// https://jarcasting.com/artifacts/org.glowroot.instrumentation/instrumentation-servlet/
implementation 'org.glowroot.instrumentation:instrumentation-servlet:0.14.9'
// https://jarcasting.com/artifacts/org.glowroot.instrumentation/instrumentation-servlet/
implementation ("org.glowroot.instrumentation:instrumentation-servlet:0.14.9")
'org.glowroot.instrumentation:instrumentation-servlet:jar:0.14.9'
<dependency org="org.glowroot.instrumentation" name="instrumentation-servlet" rev="0.14.9">
  <artifact name="instrumentation-servlet" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.glowroot.instrumentation', module='instrumentation-servlet', version='0.14.9')
)
libraryDependencies += "org.glowroot.instrumentation" % "instrumentation-servlet" % "0.14.9"
[org.glowroot.instrumentation/instrumentation-servlet "0.14.9"]

Dependencies

provided (3)

Group / Artifact Type Version
org.glowroot.instrumentation : instrumentation-api jar 0.14.9
javax.servlet : javax.servlet-api jar 3.0.1
org.apache.tomcat.embed : tomcat-embed-core jar 7.0.91

test (11)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 1.7.1
com.google.guava : guava jar 20.0
org.glowroot.instrumentation : instrumentation-test-harness jar 0.14.9
com.ning : async-http-client jar 1.8.17
org.apache.tomcat.embed : tomcat-embed-jasper jar 7.0.91
org.apache.tomcat.embed : tomcat-embed-logging-juli jar 7.0.91
org.springframework : spring-test jar 4.3.22.RELEASE
org.springframework : spring-web jar 4.3.22.RELEASE
org.eclipse.jetty : jetty-server jar 8.1.22.v20160922
org.glowroot.instrumentation : instrumentation-executor jar 0.14.9

Project Modules

There are no modules declared in this project.

Requirements

  • Runtime supports Java 6+

Building

The usual:

mvn clean install

Building requires Java 8+ and Maven 3.3.1+.

Contributing

This project uses Immutables annotation processing to eliminate maintenance on lots of boilerplate code. If you are using Eclipse, this requires installing the m2e-apt plugin and changing Window > Preferences > Maven > Annotation Processing to "Automatically configure JDT APT".

Integration tests

Integration tests are run during Maven's standard integration-test lifecycle phase.

The test harness makes it easy to run sample application code and then validate the trace captured by the instrumentation. The test harness is able to run tests both using a custom weaving class loader (which is very convenient for running and debugging inside your favorite IDE), and by spawning a JVM with the -javaagent flag (which more correctly simulates real world conditions).

Code quality

SonarQube is used to check Java coding conventions, code coverage, duplicate code, package cycles and much more. See analysis at https://sonarcloud.io.

Checker Framework is used to eliminate fear of null with its rigorous Nullness Checker. It is run as part of every Travis CI build (see the job with TARGET=checker) and any violation fails the build.

License

Source code is licensed under the Apache License, Version 2.0.

org.glowroot.instrumentation

Versions

Version
0.14.9
0.14.8
0.14.7
0.14.6
0.14.5
0.14.4
0.14.3
0.14.2
0.14.1
0.14.0