feat(main): Implement record conversion & flushing to API
This implements the "meat" of the initial version of journaldriver. Records from journald are converted into the representation required by Stackdriver and forwarded to the API. In this initial version journaldriver is only supported on instances running on GCP.
This commit is contained in:
parent
2d8e057118
commit
4ef98fc2ba
4 changed files with 192 additions and 172 deletions
|
|
@ -13,8 +13,8 @@ serde = "1.0"
|
|||
serde_derive = "1.0"
|
||||
serde_json = "1.0"
|
||||
reqwest = "0.8"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
hyper = "*" # whatever reqwest drags in
|
||||
hyper = "0.11" # whatever reqwest drags in
|
||||
lazy_static = "1.0"
|
||||
|
||||
[build-dependencies]
|
||||
pkg-config = "0.3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue