metricman's Issues
Update README
Can you please add a README describing what metric man is and how it work.
Please add also the dependencies. As far I know metric man depends on exometer
which in turn could pull in snap which required mnesia, So a quite long dependency
tree behind metricman ?
Variable name clashing in subscription DSL
For example this module:
defmodule Mapping do
use Metricman.Subscription
@reporter expose: [:exometer_report_influxdb]
scope [:sessions], @reporter do
map [:total], [:sessions, :total]
map [:access_class, '$access_class'], [:sessions, :access_class '$access_class']
end
end
Will generate get/2
function which works like:
> Mapping.get [:sessions, :access_class, :online], :counter
{:ok, {[:sessions, :online, :access_class], [:value], [expose: [:exometer_report_influxdb]]}}
but it is not was expected. The correct result should looks like:
{:ok, {[:sessions, :access_class, :online], [:value], [expose: [:exometer_report_influxdb]]}}
It happens because we have names clashing: :access_class
and '$access_class'
.
If we rename '$access_class'
to '$class'
all works correct.
Add conform schema
For configuring exometer, setup and so on
Predefined recon metrics
Uptime metric not working
I added the following to my predefined
list in the exometer_config:
{[:erlang, :beam, :uptime], {:function, Metricman, :update_uptime, [], :proplist, [:value]}, []}
and I subscribe to the same in my subscribers
list as follows:
{:exometer_report_influxdb, [:erlang, :beam, :uptime], [:value], poll_interval, []}
but I keep getting the following lager warning,
11:01:28.968 [warning] Metric([erlang,beam,uptime]) Datapoint([value]) not found. Will not try again
In effect the metric is not pushed to InfluxDB. Other metric from the config.exs
work fine.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.