-
Notifications
You must be signed in to change notification settings - Fork 71
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
WIP: support log event stream processing and format improvement #219
Conversation
d6e4f41
to
137b7b1
Compare
137b7b1
to
d29a5c8
Compare
Now, let's see what SuaveReporter can be fidxed with |
Should be fairly stable to build now; yet to run all tests and fix suave reporter and influx, but I did set up a docker compose that runs influxdb locally on docker, so the distance to go there should be pretty small. |
ca6682e
to
b38d020
Compare
Builds on CI now, failing on tests due to ordering errors of new TypeShape file. |
@haf nice, glad you come back to push forward. will follow up in later days,a little busy these two days . |
remove pollServices in registry
Because supervisor will supervise minions, if an exception occurs, it will be handled according to policy. So there's no need for state polling, because we can't do much if we can get the status. the user's handle logic can be expressed by policy.
remove healthcheck & metric
remove healthcheck
Looks like metric can also be seen as a healthcheck, such as windows performance counters. when outside tick , metric generate some msg, which will be processed by user defined engine , they can decide their meaning (log or metric or healthcheck...) there.
remove metric
metric can be implemented by engine's process expression builder, what we need to do is schedule jobs for tick, in the corresponding time(like old metricConf.tickInterval) or manually tick. Metric's data sources can have two types, one is similar to WPC, generate data in real-time when ticked .the other is generate through the normal log message.
support multi targets on internallogger and apply rules when send msg to target
redefined Message
The aim here is to normalise the Gauge/Derived/Message semantics into a single semantic of 'things computed from events from your app'.
Value Modle
errors (exceptions)
is expressed by a context, not a field. user can define their own output template for decision whether or not to show them.
formatting
contexts other than fields in template will destructure with
@
in default message writertodo
more unit test
migrate whole solution help wanted
event format improvement mentioned by event format proposal #257
reorganize types in Events.fs
Support building for .Net Core and .Net FW
to be discussed
logWithAck
andlog
api inLogger
type,beacuselog
is just delegate call onlogWithAck
and ignore its result (promise
)