Giter VIP home page Giter VIP logo

tnt4j-servlet-filter's Introduction

Servlet-Filter

Simple end-user tracking for Java EE web applications.

Servlet-Filter is an implementation of Java EE HTTP Servlet Filter. This servlet filter tracks the following:

  • End-user performance, behavior
  • HTTP request performance, errors, exceptions
  • HTTP header, request parameters and attributes
  • JVM context such as CPU, memory, GC

The output can be streamed to any of the TNT4J sinks: file, log4j, socket, visual analysis using jKoolCloud.

Adding Tracking to your web applications

Simply add the following to your application's web.xml:

<filter>
	<filter-name>ServletFilter</filter-name>
	<filter-class>com.jkoolcloud.tnt4j.servlet.filter.TrackingFilter</filter-class>
</filter>
<filter-mapping>
	<filter-name>ServletFilter</filter-name>
	<url-pattern>/*</url-pattern>
</filter-mapping>
<context-param>
	<param-name>op-level</param-name>
	<param-value>DEBUG</param-value>
</context-param>

NOTE: Make sure all jar files required by ServletFilter are in your application's classpath.

Project Dependencies

Servlet-Filter requires the following:

Please use JCenter or Maven and these dependencies will be downloaded automatically.

Servlet-Filter requires TNT4J. You will need to point TNT4J to it's property file via the -Dtnt4j.config argument. This property file is located here in GitHub under the /config directory. If using JCenter or Maven, it can be found in the zip assembly along with the source code and javadoc.

Available Integrations

tnt4j-servlet-filter's People

Contributors

amavashev avatar cbernardone avatar jbnas avatar kausandr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.