de.keawe.metrics:mongodb-metrics-parent

Reporter extension for the Codahale/DropWizard Metrics library that stores data in MongoDB

License

License

Categories

Categories

MongoDB Data Databases Metrics Application Testing & Monitoring Monitoring
GroupId

GroupId

de.keawe.metrics
ArtifactId

ArtifactId

mongodb-metrics-parent
Last Version

Last Version

0.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

de.keawe.metrics:mongodb-metrics-parent
Reporter extension for the Codahale/DropWizard Metrics library that stores data in MongoDB
Project URL

Project URL

http://github.com/keawe-software/mongodb-metrics-reporter
Source Code Management

Source Code Management

http://github.com/keawe-software/mongodb-metrics-reporter

Download mongodb-metrics-parent

How to add to project

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

Dependencies

compile (7)

Group / Artifact Type Version
io.dropwizard.metrics : metrics-core jar 4.1.9
org.mongodb : mongo-java-driver jar 3.12.5
org.slf4j : slf4j-api jar 1.7.30
ch.qos.logback : logback-classic jar 1.2.3
junit : junit jar 4.13
org.mockito : mockito-core jar 3.3.3
de.flapdoodle.embed : de.flapdoodle.embed.mongo jar 2.2.0

Project Modules

There are no modules declared in this project.

mongodb-metrics-reporter

Build Status Apache License maven status

MongoDB-Metrics-Reporter provides a reporter for CodaHale/DropWizard Metrics library to store the metric data in MongoDB. This is a fork of aparnachaudhary/mongodb-metrics-reporter, which seems to be discontinued.

How does it work?

  1. Define MetricsRegistry which is a JVM wide singleton for metric data
  2. Metrics Reporter is associated with the Metrics Registry
  3. Application services are instrumented with DropWizard Metrics
  4. The reporter reads the data from registry at fixed defined interval and writes this data to the MongoDB datastore is the relevant collection

MongoDB-Metrics

Build Requirements:

  • Apache Maven version 3.x
  • Java8

Building

Clone the repository using command

git clone git://github.com/aparnachaudhary/mongodb-metrics-reporter.git

To build, issue this from the command line

mvn clean install

Dependencies

The module has following compile time dependencies

  • io.dropwizard.metrics:metrics-core:jar:4.1.9
  • org.mongodb:mongo-java-driver:jar:3.12.5
  • org.slf4j:slf4j-api:jar:1.7.30

Documentation

Refer to the documents in the doc directory.

Versions

Version
0.0.4