Causeway :: Metrics

CommonJava top-level parent POM.

License

License

Categories

Categories

JBoss Container Application Servers Metrics Application Testing & Monitoring Monitoring
GroupId

GroupId

org.jboss.pnc.causeway
ArtifactId

ArtifactId

causeway-metrics
Last Version

Last Version

1.7.2
Release Date

Release Date

Type

Type

ejb
Description

Description

Causeway :: Metrics
CommonJava top-level parent POM.

Download causeway-metrics

How to add to project

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

Dependencies

compile (5)

Group / Artifact Type Version
org.jboss.spec.javax.ejb : jboss-ejb-api_3.2_spec jar
io.dropwizard.metrics : metrics-core jar 4.0.2
io.dropwizard.metrics : metrics-jvm jar 4.0.2
io.dropwizard.metrics : metrics-graphite jar 4.0.2
org.slf4j : slf4j-api jar

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.6

Project Modules

There are no modules declared in this project.

Integration tests

Integration tests are run in phase integration-test. To run them use mvn verify.

Tests are using by default url http://pnc-host/pnc-rest/rest to connect to PNC (you can define IP for pnc-host in your hosts file).

Alternatively you can set the value by setting system property PNC_URL (eg. -DPNC_URL=http://my-pnc-host/pnc-rest/rest)

Disabling integration tests for PNC

Integration tests for PNC can be disabled by setting -Ddisable-pnc-it

Dependencies

To compile causeway you need to compile:

Metrics support

PNC tracks metrics of JVM and its internals via Dropwizard Metrics. The metrics can currently be reported to a Graphite server by specifying as system property or environment variables those properties:

  • metrics_graphite_server (mandatory)
  • metrics_graphite_port (mandatory)
  • metrics_graphite_prefix (mandatory)
  • metrics_graphite_interval (optional)

If the metrics_graphite_interval variable (interval specified in seconds) is not specified, we'll use the default value of 60 seconds to report data to Graphite.

The graphite reporter is configured to report rates per second and durations in terms of milliseconds.

org.jboss.pnc.causeway

Versions

Version
1.7.2
1.7.1
1.7.0
1.6.2
1.6.1
1.6.0
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0