jinsight
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>ai.apptuit</groupId> <artifactId>jinsight</artifactId> <version>1.0.10</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>ai.apptuit</groupId> <artifactId>jinsight</artifactId> <name>JInsight</name> <version>1.0.10</version> <description>Open source java agent to transparently instrument and monitor your Java web applications</description> <url>https://github.com/ApptuitAI/JInsight/</url> <issueManagement> <system>GitHub Issues</system> <url>https://github.com/ApptuitAI/JInsight/issues</url> </issueManagement> <inceptionYear>2017</inceptionYear> <developers> <developer> <name>JInsight Developers</name> <email>hello+jinsight@apptuit.ai</email> <organization>apptuit.ai</organization> <organizationUrl>https://apptuit.ai</organizationUrl> </developer> </developers> <licenses> <license> <name>Apache 2.0</name> <url>https://github.com/ApptuitAI/JInsight/blob/master/LICENSE</url> </license> </licenses> <scm> <connection>scm:git:git://github.com/ApptuitAI/jinsight.git</connection> <developerConnection>scm:git:git@github.com:ApptuitAI/jinsight.git</developerConnection> <url>https://github.com/ApptuitAI/JInsight</url> </scm> <build> <plugins> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M2</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>${maven.version}</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>3.1.1</version> <executions> <execution> <id>copy-dependency-jars</id> <phase>compile</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.jboss.byteman</groupId> <artifactId>byteman</artifactId> <version>${byteman.version}</version> <type>jar</type> <overWrite>false</overWrite> <outputDirectory>${byteman.jar.dir}/</outputDirectory> <destFileName>byteman.jar</destFileName> </artifactItem> <artifactItem> <groupId>org.jacoco</groupId> <artifactId>org.jacoco.agent</artifactId> <version>${jacoco.version}</version> <type>jar</type> <classifier>runtime</classifier> <overWrite>false</overWrite> <outputDirectory>${project.build.directory}/</outputDirectory> <destFileName>jacoco-agent-rt.jar</destFileName> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>3.0.0</version> <executions> <execution> <id>merge-btm-files</id> <phase>compile</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <path> <fileset /> </path> <pathconvert> <map /> </pathconvert> <concat> <fileset> <include /> </fileset> </concat> <java> <jvmarg /> <arg /> <arg /> </java> </target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.jboss.byteman</groupId> <artifactId>byteman-rulecheck-maven-plugin</artifactId> <version>${byteman.version}</version> <executions> <execution> <id>check-byteman-rules</id> <phase>compile</phase> <goals> <goal>rulecheck</goal> </goals> <configuration> <scriptDir>${byteman.merge.dir}</scriptDir> <includes> <include>**/*.btm</include> </includes> <verbose>false</verbose> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.1.1</version> <executions> <execution> <id>default-jar</id> <phase>generate-test-resources</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <archive> <manifestEntries> <Premain-Class>ai.apptuit.metrics.jinsight.Agent</Premain-Class> <Agent-Class>ai.apptuit.metrics.jinsight.Agent</Agent-Class> <Agent-Version>${project.version}</Agent-Version> <Implementation-Version>${project.version}</Implementation-Version> <Can-Redefine-Classes>true</Can-Redefine-Classes> <Can-Retransform-Classes>true</Can-Retransform-Classes> </manifestEntries> </archive> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <phase>generate-test-resources</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> <configuration> <createDependencyReducedPom>true</createDependencyReducedPom> <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope> <promoteTransitiveDependencies>true</promoteTransitiveDependencies> <relocations> <relocation> <pattern>com.codahale.metrics</pattern> <shadedPattern>ai.apptuit.metrics.jinsight.relo.codahale</shadedPattern> </relocation> <relocation> <pattern>org.slf4j</pattern> <shadedPattern>ai.apptuit.metrics.jinsight.relo.slf4j</shadedPattern> </relocation> <relocation> <pattern>io.prometheus</pattern> <shadedPattern>ai.apptuit.metrics.jinsight.relo.prom</shadedPattern> </relocation> <relocation> <pattern>ai.apptuit.metrics.client</pattern> <shadedPattern>ai.apptuit.metrics.jinsight.relo.client</shadedPattern> </relocation> <relocation> <pattern>ai.apptuit.metrics.dropwizard</pattern> <shadedPattern>ai.apptuit.metrics.jinsight.relo.dwizreporter</shadedPattern> </relocation> </relocations> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>${surefire.version}</version> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit4</artifactId> <version>${surefire.version}</version> </dependency> </dependencies> <configuration> <argLine>${jvm.debug.options} -javaagent:${jacoco.rt.jar.path}=${jacoco.agent.opts} -javaagent:${built.jar.path} -Djinsight.config=${project.build.testOutputDirectory}/jinsight-config-test.properties ${byteman.debug.options}</argLine> <systemPropertyVariables> <memcached.addr>${env.memcached.addr}</memcached.addr> <redis.addr>${env.redis.addr}</redis.addr> <project.version>${project.version}</project.version> </systemPropertyVariables> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>generate-sources-jar</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>3.0.0-M5</version> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> <configuration> <argLine>${jvm.debug.options} -javaagent:${jacoco.rt.jar.path}=${jacoco.agent.opts} -javaagent:${built.jar.path} -Djinsight.config=${project.build.testOutputDirectory}/jinsight-config-test.properties ${byteman.debug.options}</argLine> <skipTests>${skipITs}</skipTests> </configuration> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.1.1</version> <executions> <execution> <id>java-style-check</id> <phase>verify</phase> <goals> <goal>check</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>8.36.1</version> </dependency> </dependencies> <configuration> <configLocation>google_checks.xml</configLocation> <encoding>UTF-8</encoding> <logViolationsToConsole>true</logViolationsToConsole> <failOnViolation>${enforce.code.style}</failOnViolation> <violationSeverity>warning</violationSeverity> <outputFile>${project.build.directory}/reports/checkstyle-results-java.xml</outputFile> <skip>${skipVerifications}</skip> </configuration> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>0.13</version> <executions> <execution> <phase>verify</phase> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <ignoreErrors>${ignore.license.checks}</ignoreErrors> <reportStyle>xml</reportStyle> <reportFile>${project.build.directory}/reports/license-check-results.xml</reportFile> <excludes> <exclude>${project.basedir}/dependency-reduced-pom.xml</exclude> <exclude>pkg/**/*</exclude> <exclude>conf/signingkey.*</exclude> </excludes> <skip>${skipVerifications}</skip> </configuration> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>4.0.4</version> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <xmlOutput>true</xmlOutput> <effort>Max</effort> <failOnError>${enforce.spotbugs}</failOnError> <includeTests>false</includeTests> <xmlOutputDirectory>${project.build.directory}/reports/</xmlOutputDirectory> <outputDirectory>${project.build.directory}/reports/</outputDirectory> <skip>${skipVerifications}</skip> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> <executions> <execution> <id>default-report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> </goals> </execution> <execution> <id>default-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule> <element>BUNDLE</element> <limits> <limit> <counter>COMPLEXITY</counter> <value>COVEREDRATIO</value> <minimum>${minimum.complexity.coverage}</minimum> </limit> <limit> <counter>INSTRUCTION</counter> <value>COVEREDRATIO</value> <minimum>${minimum.instruction.coverage}</minimum> </limit> </limits> </rule> </rules> <skip>${skipTests}</skip> </configuration> </execution> </executions> <configuration> <includes> <include>${jacoco.includes}</include> </includes> </configuration> </plugin> <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>groovy-maven-plugin</artifactId> <version>2.1</version> <executions> <execution> <id>enforce-agent-jar-size</id> <phase>package</phase> <goals> <goal>execute</goal> </goals> <configuration> <properties> <filename>${project.build.directory}/${project.build.finalName}.${project.packaging}</filename> <maxSizeMB>${max.agent.file.size}</maxSizeMB> </properties> <source>float maxSize = Float.parseFloat(properties['maxSizeMB']) File file = new File(properties['filename']) log.info("${file} is of size ${file.length()} bytes") if (file.length() > maxSize * 1024 * 1024) { log.error("Package exceeds maximum size allowed size: ${maxSize} MB") fail() } else log.info("File size OK")</source> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <skip>${skip.signing}</skip> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.7.1</version> </plugin> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.0.0</version> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>ai.apptuit.metrics</groupId> <artifactId>metrics-apptuit-dropwizard</artifactId> <version>0.9.7</version> <scope>provided</scope> </dependency> <dependency> <groupId>ai.apptuit.metrics</groupId> <artifactId>metrics-apptuit-send-client</artifactId> <version>0.9.7</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.prometheus</groupId> <artifactId>simpleclient_dropwizard</artifactId> <version>0.14.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.prometheus</groupId> <artifactId>simpleclient</artifactId> <version>0.14.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.prometheus</groupId> <artifactId>simpleclient_tracer_otel</artifactId> <version>0.14.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.prometheus</groupId> <artifactId>simpleclient_tracer_common</artifactId> <version>0.14.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.prometheus</groupId> <artifactId>simpleclient_tracer_otel_agent</artifactId> <version>0.14.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.prometheus</groupId> <artifactId>simpleclient_httpserver</artifactId> <version>0.14.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.prometheus</groupId> <artifactId>simpleclient_common</artifactId> <version>0.14.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.jboss.byteman</groupId> <artifactId>byteman</artifactId> <version>4.0.18</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-core</artifactId> <version>4.2.7</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.32</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-jvm</artifactId> <version>4.2.7</version> <scope>provided</scope> </dependency> </dependencies> <reporting> <plugins> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.0.0</version> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>3.3.0</version> <reportSets> <reportSet> <reports> <report>javadoc</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <artifactId>maven-jxr-plugin</artifactId> <version>3.0.0</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jdepend-maven-plugin</artifactId> <version>2.0</version> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.0.0</version> <configuration> <configLocation>google_checks.xml</configLocation> <encoding>UTF-8</encoding> </configuration> <reportSets> <reportSet> <reports> <report>checkstyle</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>0.12</version> </plugin> <plugin> <artifactId>maven-surefire-report-plugin</artifactId> <version>${surefire.version}</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> <configuration> <includes> <include>${jacoco.includes}</include> </includes> </configuration> <reportSets> <reportSet> <reports> <report>report</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> <version>2.4</version> <configuration> <tagListOptions> <tagClasses> <tagClass> <displayName>Todo List</displayName> <tags> <tag> <matchString>todo</matchString> <matchType>ignoreCase</matchType> </tag> <tag> <matchString>FIXME</matchString> <matchType>ignoreCase</matchType> </tag> </tags> </tagClass> </tagClasses> </tagListOptions> </configuration> </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId> <version>3.11.0</version> <reportSets> <reportSet> <reports> <report>pmd</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>4.0.4</version> <configuration> <effort>Max</effort> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.7</version> <reportSets> <reportSet> <reports> <report>dependency-updates-report</report> <report>plugin-updates-report</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> <distributionManagement> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <properties> <max.agent.file.size>2.5</max.agent.file.size> <skipVerifications>false</skipVerifications> <apptuit.reporter.version>0.9.7</apptuit.reporter.version> <maven.version>3.5</maven.version> <ignore.license.checks>false</ignore.license.checks> <skipITs>false</skipITs> <enforce.code.style>false</enforce.code.style> <byteman.jar.dir>${project.build.outputDirectory}/META-INF/boot/</byteman.jar.dir> <byteman.merge.dir>${project.build.outputDirectory}/META-INF/btm-scripts/</byteman.merge.dir> <minimum.instruction.coverage>0.80</minimum.instruction.coverage> <jacoco.includes>ai/apptuit/**/*</jacoco.includes> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <minimum.complexity.coverage>0.60</minimum.complexity.coverage> <junit.version>4.13.2</junit.version> <netty.version>4.1.15.Final</netty.version> <built.jar.path>${project.build.directory}/${project.build.finalName}.jar</built.jar.path> <env.memcached.addr>${env.server.ip}:11211</env.memcached.addr> <java.version>1.8</java.version> <enforce.spotbugs>true</enforce.spotbugs> <env.redis.addr>${env.server.ip}:6379</env.redis.addr> <byteman.version>4.0.18</byteman.version> <env.server.ip>jinsight-services</env.server.ip> <jacoco.agent.opts>destfile=${jacoco.dest.path},includes=${jacoco.includes}</jacoco.agent.opts> <maven.compiler.target>1.8</maven.compiler.target> <skipTests>false</skipTests> <skip.signing>true</skip.signing> <prometheus.version>0.14.1</prometheus.version> <surefire.version>3.0.0-M5</surefire.version> <jacoco.rt.jar.path>${project.build.directory}/jacoco-agent-rt.jar</jacoco.rt.jar.path> <jacoco.version>0.8.7</jacoco.version> <metrics.version>4.2.7</metrics.version> <jacoco.dest.path>${project.build.directory}/jacoco.exec</jacoco.dest.path> </properties> </project>