Code Monkey home page Code Monkey logo

kieker-source-instrumentation-dagere's Introduction

Kieker Source Instrumentation

This is temporary fork, which is needed to deploy the artifacts to maven central. As soon as regular Kieker builds are possible, this repository will be discontinued.

To measure the performance of method executions, measurement probes need to be inserted to the measured method. This projects provides instrumentation by changing the source code of the project. Alternatives, e.g. instrumentation via AspectJ, create more overhead and might therefore hinder identification of performance changes.

Library Usage

If you want to use kieker-source-instrumentation into your project to instrument other projects, add

<dependency>
	<groupId>de.dagere.kieker</groupId>
	<artifactId>kieker-source-instrumentation-library</artifactId>
	<version>1.15.1</version>
</dependency>

to your project. Then call InstrumentKiekerSource with a InstrumentationConfiguration.

Starter Usage

To instrument the project $PROJECT using source instrumentation, build this project (mvn clean package) and then call java -jar kieker-source-instrumentation-starter/target/kieker-source-instrumentation-1.15.1-SNAPSHOT.jar --folder=$PROJECT. To execute the project with instrumentation, add Kieker to the build path of your project, e.g. using

<dependency>
	<groupId>net.kieker-monitoring</groupId>
	<artifactId>kieker</artifactId>
	<version>1.15</version>
</dependency>

in maven. Afterwards, you can build and run your instrumented project without AspectJ.

You might also specify the following options:

  • --extractMethod: Extract original method to own method (might improve performance)
  • --aggregate: Whether to aggregate invocations
  • --aggregationCount: How many method invocations to aggregate (default: 1000)
  • --includedPatterns: Semicolon-seperated list of patterns of methods to include (if empty, just *)
  • --excludedPatterns: Semicolon-seperated list of patterns of methods to exclude

Versioning

The major version of kieker-source-instrumentation equals the major version of Kieker, i.e. versions built to instrument with Kieker 1.15 will be named 1.15.x (or 1.15.x-SNAPSHOT).

kieker-source-instrumentation-dagere's People

Contributors

dagere avatar mawhbt avatar bam-hbt 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.