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

Deprecation warning for time unit :microseconds #16

Closed
juulSme opened this issue Jan 17, 2019 · 0 comments
Closed

Deprecation warning for time unit :microseconds #16

juulSme opened this issue Jan 17, 2019 · 0 comments

Comments

@juulSme
Copy link
Contributor

juulSme commented Jan 17, 2019

Hi there! Thanks for the great work on this lib, using it for the first time and I like it :) I found a small issue (I also fixed it, will send PR right after). It's a Phoenix 1.4 project with Elixir 1.8.0 so the paint is still fresh. The problem is a deprecation warning for time unit :microseconds, originating in the instrumenter code.

warning: deprecated time unit: :microseconds. A time unit should be :second, :millisecond, :microsecond, :nanosecond, or a positive integer
  (my_app) lib/my_appmonitoring.ex:29: MyApp.EctoInstrumenter.log/1
  (telemetry) /home/me/Projects/my_app/deps/telemetry/src/telemetry.erl:113:anonymous fn/4 in :telemetry.execute/3
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