Comments (3)
It's not exposed because I want to be able to change the implementation (e.g. to add support for quantiles). However, I am open to adding e.g. Binary
instances or explicit decode
/encode
methods that could be used to transport stats over the network.
from ekg-core.
That would work too. I didn't see binary
dependency (though it's probably a transitive one) so I assumed exposing constructor would be less of a change.
Generic
and Typeable
would be nice too while you're changing it (from base
).
from ekg-core.
I think depending on binary is OK. If we don't want to commit to a specific library we could instead just offer:
encodeStats :: Stats -> ByteString
decodeStats :: ByteString -> Maybe Stats
This would allow us to change to use cereal or whatever in the future.
from ekg-core.
Related Issues (20)
- [Feature Request] Distributions should track percentiles HOT 3
- Dynamically creating metrics HOT 11
- Build failure with GHC HEAD
- Make a release HOT 7
- GHC 8.2.1 warnings HOT 4
- GHC 8.2.1 compilation error: Constructor ‘Stats.GCStats’ does not have the required strict field(s) HOT 5
- Distribution has N/A variance and mean HOT 5
- Support base-4.12 HOT 2
- Follow new naming in GHC.Stats? HOT 9
- `Stats` `min` is always 0 HOT 5
- build failure on ghc881 HOT 1
- RFC: Move all ekg-* packages into a monorepo HOT 4
- Linker error on Win32 — undefined reference to `__sync_fetch_and_add_8' etc. HOT 9
- Atomic C functions are not atomic. HOT 6
- Expand bounds for base + ghc-prim HOT 1
- publish to Hackage for GHC 9 support? HOT 6
- Allow ghc-prim == 0.10.0 HOT 1
- Allow specifying tags for metrics HOT 3
- Cannot build with GHC 7.10.1 HOT 1
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.
from ekg-core.