org.jboss.metrics:jboss-automated-metrics-library

JBoss-Automated-Metrics Library used in JBoss-Automated-Metrics Api

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

jboss-automated-metrics-library
Last Version

Last Version

1.0.4.Final
Release Date

Release Date

Type

Type

jar
Description

Description

org.jboss.metrics:jboss-automated-metrics-library
JBoss-Automated-Metrics Library used in JBoss-Automated-Metrics Api
Project URL

Project URL

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

Project Organization

JBoss by Red Hat

Download jboss-automated-metrics-library

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.jboss.logging : jboss-logging jar 3.2.1.Final
org.jboss.metrics : jboss-automated-metrics-properties jar 1.0.4.Final

provided (1)

Group / Artifact Type Version
javax : javaee-api jar 7.0

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