Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

oracle/wookiee-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Wookiee - Component: Metrics

Build Status Latest Release License

Main Wookiee Project

For Configuration information see Metrics Config

The metrics component allows users to track metrics for functionality on their services. It is based off the codahale github project. It includes the following metrics:

  • Counter - A metric that simply counts the number of time some event has occurred.
  • Gauge - Instantaneous measurements of something
  • Timer - Times how long a specific event takes to complete
  • Histogram - Tracks the distribution of a stream of values.
  • Meter - Marks the occurrence of an event

For a working example of how this would work see Wookiee - Metrics Example

Adding to Pom

Add the jfrog repo to your project first:

<repositories>
    <repository>
        <id>JFrog</id>
        <url>http://oss.jfrog.org/oss-release-local</url>
    </repository>
</repositories>

Add latest version of wookiee:

<dependency>
    <groupId>com.webtrends</groupId>
    <artifactId>wookiee-metrics_2.11</artifactId>
    <version>${wookiee.version}</version>
</dependency>

Contributing

This project is not accepting external contributions at this time. For bugs or enhancement requests, please file a GitHub issue unless it’s security related. When filing a bug remember that the better written the bug is, the more likely it is to be fixed. If you think you’ve found a security vulnerability, do not raise a GitHub issue and follow the instructions in our security policy.

Security

Please consult the security guide for our responsible security vulnerability disclosure process

License

Copyright (c) 2004, 2023 Oracle and/or its affiliates. Released under the Apache License Version 2.0