org.jboss.metrics:automated-metrics

JBoss-Automated-Metrics Core Wildfly-Standalone-Version

License

License

Categories

Categories

JBoss Container Application Servers Auto Application Layer Libs Code Generators Metrics Application Testing & Monitoring Monitoring
GroupId

GroupId

org.jboss.metrics
ArtifactId

ArtifactId

automated-metrics
Last Version

Last Version

1.0.4.Final
Release Date

Release Date

Type

Type

jar
Description

Description

org.jboss.metrics:automated-metrics
JBoss-Automated-Metrics Core Wildfly-Standalone-Version
Project URL

Project URL

https://developer.jboss.org/wiki/JBoss-Automated-MetricsEverythingIsAPotentialMetric
Project Organization

Project Organization

JBoss by Red Hat

Download automated-metrics

How to add to project

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

Dependencies

compile (17)

Group / Artifact Type Version
org.jboss.metrics : automated-metrics-api jar 1.0.4.Final
org.jboss.logging : jboss-logging jar 3.2.1.Final
org.jboss.spec.javax.annotation : jboss-annotations-api_1.2_spec jar 1.0.0.Final
org.jboss.invocation : jboss-invocation jar 1.3.0.Final
org.jboss.spec.javax.interceptor : jboss-interceptors-api_1.2_spec jar 1.0.0.Final
javax.inject : javax.inject jar 1
javax.enterprise : cdi-api jar 1.2
org.jboss.resteasy : resteasy-jaxrs jar 3.0.11.Final
org.jboss.resteasy : jaxrs-api jar 3.0.11.Final
org.jboss.resteasy : resteasy-jaxb-provider jar 3.0.11.Final
org.jboss.resteasy : resteasy-jackson2-provider jar 3.0.11.Final
org.jboss.resteasy : resteasy-client jar 3.0.11.Final
com.github.yannrichet : JMathPlot jar 1.0.1
commons-lang : commons-lang jar 2.3
com.google.guava : guava jar 19.0
io.swagger : swagger-annotations jar 1.5.10
com.fasterxml.jackson.core : jackson-annotations jar 2.8.1

provided (3)

Group / Artifact Type Version
javax : javaee-api jar 7.0
org.jboss.logging : jboss-logging-annotations Optional jar 1.2.0.Final
org.jboss.logging : jboss-logging-processor Optional jar 1.2.0.Final

Project Modules

There are no modules declared in this project.

JAM-Application-Metrics


A PROJECT UNDER THE ΙΔΕΑ STATEMENT


This library is created to facilitate the creation, record and monitoring of metrics for any deployment. (Initial project JBoss-Automated Metrics renamed)

How to use

Just define in your deployment the operations of JAM-Application-Metrics that you would like to enable using the JBossAutomatedMeticsProperties api.

Then, annotate the method of your ejb with the annotation @Metric(fieldName = {"field name of first metric","field name of second metric", etc}, deploymentName="some name characteristic to the deployment") .

The annotation parameter deploymentName is used for grouping of metrics under the same metric-properties configuration.

Example of usage

An example of usage can be found under the folder ApplicationMetricsStandalone/ApplicationMetricsApiTest.

Deploy the generated .war file on Wildfly server to see the metrics being printed.


JAM-Application-Metrics are now available as a Wildfly Subsystem Extension

Please, read WILDFLY_SUBSYSTEM_EXTENSION.md to see how you can add JAM-Application-Metrics as a Wildfly Subsystem Extension.


JAM-Application-Metrics are now availbale using JAVA SE

Please, check the example in JavaSeApplicationMetrics/ApplicationMetricsJavaSeApiTest directory to see how you can use JAM-Application-Metrics with JAVA SE.


JAM Presentation

JAM Presentation


JAM Possible Next Steps

  • Memory management of the group metrics
  • Integration of gaeger (another tracing system)
  • Send the metrics to the JBoss Console

License

This project uses a part of jmathplot library which is released under thE BSD license.

Versions

Version
1.0.4.Final
1.0.3.Final