xerions/metricman

Name: metricman

Owner: xerions

Description: null

Created: 2015-07-07 15:23:38.0

Updated: 2017-03-26 06:46:54.0

Pushed: 2017-11-20 11:16:10.0

Homepage: null

Size: 42

Language: Elixir

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Metricman Build Status

It is just meta package which depends on Feuerlabs/exometer_core, travelping/exometer_influxdb and configures some VM metrics:

You can see the created metrics in config/config.exs. Note that the metrics are only created. If you want to expose them via a reporter then you need to subscribe to them from within your application.

Dependencies tree
xerions/metricman 
`--> travelping/exometer_influxdb
     `--> Feuerlabs/exometer_core
         `--> basho/lager
         |    `--> DeadZen/goldrush
         `--> uwiger/parse_trans
         |    `--> uwiger/edown
         `--> eproxus/meck
         `--> boundary/folsom
         |    `--> boundary/bear
         `--> uwiger/setup
         |    `--> uwiger/edown
     `--> benoitc/hackney
         `--> benoitc/erlang-idna
         `--> benoitc/mimerl
         `--> benoitc/metrics
         `--> certifi/erlang-certifi
         `--> deadtrickster/ssl_verify_hostname
`--> ferd/recon
Usage
  1. Add metricman to your list of dependencies in mix.exs:

    deps do
    [{:metricman, github: "xerions/metricman"}]
    
    
  2. Ensure metricman is started before your application:

    application do
    [applications: [:metricman]]
    
    
  3. Include the metricman configuration to your config.exs:

    do 
    import_config "../deps/metricman/config/config.exs"
    ue
    _  in _ -> :skip
    
    
  4. And you can add your own exometer reporter in your config.exs:

    ig :exometer_core, :report,
    reporters: [
        {:exometer_report_influxdb, [{:protocol, :http},
                                     {:host, "localhost"},
                                     {:port, 8086},
                                     {:db, "exometer"},
                                     {:tags, [{:region, :ru}]}]}
    ]
    

    or for InfluxDB you can use conform config:

    ux.db = http://127.0.0.1:8086/default_db
    ux.tags = node:node_name,region:de
    ux.batch_window_size = 50
    

    See this for more information about configuring the reportes plugins.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.