Git Product home page Git Product logo

http4s-micrometer-metrics's Introduction

Deprecated

This functionality has now been merged into Meters4s as meters4s-http4s

This is an implementation of http4s metrics based on meters4s.

Installation

libraryDependencies += "com.kaluza" %% "http4s-meters4s-metrics" % "<latestVersion>"

Metrics names

This module records the following meters:

  • Timer default.response-time
  • Timer default.response-headers-time
  • Gauge default.active-requests

The default.response-time timer has the status-code, method and termination tags. The default.response-headers-time timer has the method tag. The default.active-requests does not have any tag.

In addition to these tags, each metric will record the global tags set in the Config.

It is also possible to set a prefix for the metrics name using the prefix configuration setting.

The default name can be customised using a classifier function. With the same classifier function, it is possible to record additional tags using this syntax: classifier[tag1:value1,tag2:value2,tag3:value3]. The classifier part can be blank as well as the tags part can be empty.

The standard tags values are the following:

  • statusCode

    • 2xx
    • 3xx
    • 4xx
    • 5xx
  • method

    • head
    • get
    • put
    • patch
    • post
    • delete
    • options
    • move
    • trace
    • connect
    • other
  • termination

    • normal
    • abnormals
    • error
    • timeout

http4s-micrometer-metrics's People

Contributors

asteinwedel avatar d-fernandes avatar daenyth avatar filosganga avatar keirlawson avatar l-catallo avatar mergify[bot] avatar rajit-kaluza avatar rcdmrl avatar scala-steward avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

http4s-micrometer-metrics's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.