Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.46 KB

TODO.md

File metadata and controls

31 lines (21 loc) · 1.46 KB

TODO

What I want to do

  • have metadata and data that I can pass to google cloud logging client to create an entry

  • turn that metadata and data into an output that I can pass to std

  • for STD can i use any logname or will it always be stdout/stderr and will the projectId in logname automatically be set ?

  • construct full trace string (not only the id)

  • test error logging

  • outsource stackdriver into it's own npm module (maybe a public github module?)

  • implement middleware utils for express

  • implement log transport for tslog (include formatter of log args to prepare error etc.)

  • add extensive readme about our assumptions and how it works

    • if no resource is set, it'll be global
    • latency can be full seconds and nanos or seconds only as float
    • logName and trace will always be converted into a fully qualified name
    • might look a bit complicated but thanks to types it isn't - it just provides a good amount of control
    • we can have additional formatters (e.g. for fluentbit) that require the std json
      • timestamp > time for std fluent-bit