senx / sensision Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
How to reproduce:
curl http://127.0.0.1:9090/metrics
will always give timestamp in microseconds no matter what unit is set to.
Preliminary digging of the problem:
There is a typo in Sensition.SENSISION_TIME_UNIT
Even after fixing this, there seems to have hardcoded microseconds conversion (* 1000).
A class similar in spirit to warp10.continuum.TimeSource would be useful in sensision.
In Sensision.update method timestamp parameter should be in nanoseconds to avoid losing precision,
also need to convert to the unit used when forcing timestamp.
The method Sensition.update assumes the timestamp is in microseconds and push them to warp10 without conversion to the time unit in use.
To correctly convert to time unit without loosing precision update method should use nanoseconds instead of microseconds.
Note that it will break compatibility in warp10 that call Sensition.update with microseconds.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.