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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
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
Add metricman to your list of dependencies in mix.exs:
deps do
[{:metricman, github: "xerions/metricman"}]
Ensure metricman is started before your application:
application do
[applications: [:metricman]]
Include the metricman configuration to your config.exs:
do
import_config "../deps/metricman/config/config.exs"
ue
_ in _ -> :skip
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.