Comments (1)
comments on vmadm events
Some example output and details for the sake of discussion: https://gist.github.com/trentm/bfc164985c3dabdc3a61aec856ecd1da
-
Is there prior art for event stream output formatting that is guiding this?
FWIW, see some 'docker events' examples at
https://docs.docker.com/engine/reference/commandline/events/#examples2017-01-05T00:35:58.859401177+08:00 container create 0fdb48addc82871eb34eb23a847cfd033dedd1a0a37bef2e6d9eb3870fc7ff37 (image=alpine:latest, name=test) 2017-01-05T00:36:04.703631903+08:00 network connect e2e1f5ceda09d4300f3a846f0acfaa9a8bb0d89e775eb744c5acecd60e0529e2 (container=0fdb...ff37, name=bridge, type=bridge) 2017-01-05T00:36:04.795031609+08:00 container start 0fdb...ff37 (image=alpine:latest, name=test) 2017-01-05T00:36:09.830268747+08:00 container kill 0fdb...ff37 (image=alpine:latest, name=test, signal=15) 2017-01-05T00:36:09.840186338+08:00 container die 0fdb...ff37 (exitCode=143, image=alpine:latest, name=test)
This includes some smarts for showing some relevant fields depending on what changed.
-
What are the events? Would be nice to spec them.
-
Examples in the man page would be nice.
-
Why
--full
? Is this common enough for '-f' short opt? Perhaps '-l, --long'
a lals
andtriton ...
commands? Or reverse it and make full info
the default and use -s,--short. I don't care strongly. -
--ready
Perhaps useful to example the motivation for ready event? I assume
it is for callers to know that they can only establish a starting state
after that ready event? -
perhaps 'time' instead of 'date'?
-
why 'path' and 'prettyPath'? What's an example where path has multiple
elements? Where are those values from?
Found one: tag change:"changes":[{"prettyPath":"tags.foo","path":["tags","foo"],"action":"added","to":"bar"}]}
So it is about JSON lookup path.
-
for 'create' event there is no 'changes' field. Will that surprise using code?
-
what is the vm.pid field about?
[2017-12-13T23:50:52.268Z] ddd12fb0-7ce7-668d-ddac-d3e3f656caac trent0 modify: pid changed :: 84625 -> 4294967295
-
what are these transition_ events about?
[23:59:44.700Z] 4492085e trent1 modify: transition_to removed :: "running" -> undefined [23:59:44.700Z] 4492085e trent1 modify: transition_expire removed :: 1513209839551 -> undefined
-
would it be possible to optionally include the req_id if an event originated
from an explicitvmadm ...
command? Perhaps not.
from rfd.
Related Issues (20)
- RFD 156: SmartOS/Triton Boot Modernization HOT 24
- RFD 150 Operationalizing Prometheus discussion HOT 20
- Discussion for RFD 158 HOT 14
- RFD 117: Discussion HOT 2
- RFD 159 Discussion HOT 4
- RFD 160 Discussion: CloudWatch-like Metrics for Manta HOT 1
- RFD 163 Cloud Firewall Logging discussion HOT 13
- RFD 164 Open Source Policy HOT 4
- RFD 165 Discussion HOT 8
- RFD 166 Improving phy Management
- RFD 168 Bootstrapping a Manta Buckets deployment HOT 5
- RFD 169 Encrypted kernel crash dump HOT 7
- RFD 170 Manta Picker Component HOT 11
- RFD 171 Discussion!!! 🎉 HOT 32
- RFD 172 CNS Aggregation Discussion HOT 10
- RFD 174 Manta storage efficiency discussion HOT 46
- RFD 175 SmartOS integration process changes discussion HOT 27
- RFD 176: discussion HOT 5
- RFD 181: Improving Manta Storage Unit Cost (MinIO) Discussion HOT 3
- RFD 182: Altering system pool detection in SmartOS/Triton
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 rfd.