Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uptime metric not working #28

Open
kansi opened this issue Apr 21, 2017 · 6 comments
Open

Uptime metric not working #28

kansi opened this issue Apr 21, 2017 · 6 comments

Comments

@kansi
Copy link

kansi commented Apr 21, 2017

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.

@surik
Copy link
Member

surik commented Apr 21, 2017

What is your pool_interval and can you say exometer_core revision from your mix.lock?

@kansi
Copy link
Author

kansi commented Apr 21, 2017

pool_interval: 3_000
exometer_core version 1.4.0

@surik
Copy link
Member

surik commented Apr 21, 2017

Try exomete_core from master. This change, probably, not available in 1.4.0.

@kansi
Copy link
Author

kansi commented Apr 21, 2017

I already have added that change to my current exometer_core dependency but it still gives the same issue.

@surik
Copy link
Member

surik commented Apr 21, 2017

Can you provide a small demo?

@kansi
Copy link
Author

kansi commented Apr 21, 2017

That will take a little bit of time to setup. Will post back the link to git repo here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants