Comments (3)
I am definitely interested in adding support for telemetry. I would be happy to accept contributions. It would be great if you could put together a spec that explains what events (including metadata, measurements) would be published, sort of like this
from memcachex.
Cool! Their documentation is really neat; I'll get a first draft out as soon as I can :)
from memcachex.
[:memcachex, :commands]
:elapsed_time
(integer) the elapsed time that it took to send the pipeline to the server and get a reply. (a measurement):server
the server the commands were sent to:opts
the options that were sent along with the command:server_options
the server options that were sent along with the command:commands
the commands sent to the server:start_time
the system time when the commands were issued
[:memcachex, :commands, :error]
:server
the server the commands were sent to:opts
the options that were sent along with the command:server_options
the server options that were sent along with the command:commands
the commands sent to the server:start_time
the system time when the commands were issued:reason
the error reason.
[:memcachex, :connection]
:reconnected
boolean to indicate this was a reconnection:opts
the connection options
[:memcachex, :connection, :error]
:opts
the connection options:reason
the error reason.
Some notes:
- I'm not intimately familiar with the codebase
- I followed the Redix patterns, they seem to make sense
- I'm not sure the connection should include the entire
opts
or just the host/port for privacy/security reasons - not sure I'd have a separate event for reconnection like Redix, seems overkill
- I assumed that even with a single command, it'd be wrapped in a list (ie commands)
Let me know what you think!
from memcachex.
Related Issues (13)
- Please create a more comprehensive readme file
- Support for mget and mset? HOT 2
- Cluster? HOT 3
- Dalli Compatibility HOT 1
- Encoding issue on incr HOT 2
- ASCII Protocol HOT 1
- typespec errors when using Erlang/Json encoder HOT 1
- [BUG] :get return invalid digit format after :decr HOT 6
- Support `:ttl` option on `cas/4`
- Support `:default` option on `cas/4`
- [question] Release schedule? HOT 2
- Poison 5.0 compatibility? 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 memcachex.