org.jboss.metrics:automated-metrics-api

JBoss-Automated-Metrics Api 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-api
Last Version

Last Version

1.0.4.Final
Release Date

Release Date

Type

Type

jar
Description

Description

org.jboss.metrics:automated-metrics-api
JBoss-Automated-Metrics Api 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-api

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
org.jboss.logging : jboss-logging jar 3.2.1.Final
org.jboss.metrics : jboss-automated-metrics-library jar 1.0.4.Final
org.jboss.metrics : jboss-automated-metrics-library2 jar 1.0.4.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