Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-06-16 | chore(main): Send logs in smaller chunks of 250 entries | Vincent Ambo | 1 | -1/+4 | |
In some cases sending 1000 entries seemingly results in a vague "Bad request" error. This reduces the chunk size to something that should be more manageable. | |||||
2018-06-16 | fix(main): Attempt to read with next_record before waiting | Vincent Ambo | 1 | -1/+13 | |
Without this fix new records are only "pushed out" when something appends to the journal. | |||||
2018-06-16 | feat(build): Add toggle for tests to Nix derivation | Vincent Ambo | 1 | -1/+4 | |
2018-06-16 | feat(main): Persist & load persisted cursor positions | Vincent Ambo | 1 | -9/+66 | |
Adds support for persisting the cursor position in a file (by default `/var/journaldriver/cursor.pos`, overridable via the environment variable `CURSOR_POSITION_FILE`). This lets journaldriver resume from a known journal position after service restarts. This closes #3 | |||||
2018-06-16 | Merge pull request #5 from aprilabank/feat/json-payloads | Vincent Ambo | 2 | -3/+130 | |
feat(main): Implement parsing of JSON payloads | |||||
2018-06-16 | feat(main): Implement parsing of JSON payloads | Vincent Ambo | 2 | -3/+130 | |
Stackdriver supports structured JSON payloads in addition to simple plain-text payloads. This commit introduces a new feature in which journaldriver will attempt to parse incoming log messages into JSON vaues and forward them as structured payloads if they are JSON objects. Messages that can not be parsed into JSON objects will continue to be forwarded as plain text messages. | |||||
2018-06-15 | fix(build): Update cargo dependency hash after deps change | Vincent Ambo | 1 | -1/+1 | |
2018-06-15 | docs: Add contribution guidelines | Vincent Ambo | 1 | -0/+114 | |
Adds contribution guidelines. These are a slightly modified version of the guidelines I use for my personal projects. | |||||
2018-06-15 | docs: Add code of conduct | Vincent Ambo | 1 | -0/+29 | |
2018-06-15 | feat(build): Enable Nix builds in Travis.CI | Vincent Ambo | 1 | -0/+2 | |
2018-06-15 | chore: License under GPL 3.0 | Vincent Ambo | 3 | -7/+697 | |
2018-06-15 | docs(README): Add usage instructions & other information to README | Vincent Ambo | 1 | -4/+37 | |
2018-06-15 | feat(build): Add initial Nix build derivation | Vincent Ambo | 1 | -0/+16 | |
2018-06-15 | feat(main): Implement record conversion & flushing to API | Vincent Ambo | 4 | -175/+195 | |
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. | |||||
2018-06-14 | feat(main): Add fetching of tokens from metadata server | Vincent Ambo | 1 | -0/+39 | |
2018-06-05 | feat(main): Emit output in chunks of max. 1000 records | Vincent Ambo | 1 | -9/+15 | |
Required by the Stackdriver API. | |||||
2018-05-28 | feat(stackdriver): Add initial Stackdriver API type definitions | Vincent Ambo | 4 | -1/+1138 | |
2018-05-28 | refactor(main): Simplify receiver | Vincent Ambo | 1 | -21/+8 | |
Departing from the initial approach. There's no reason to multithread this for now. | |||||
2018-05-27 | feat(main): Implement receiver & flushing logic | Vincent Ambo | 4 | -86/+329 | |
The only thing missing for a 0.1 test run is the actual gRPC call to Stackdriver. | |||||
2018-05-27 | feat(journald): Implement initial libsystemd journal calls | Vincent Ambo | 3 | -1/+94 | |
2018-05-27 | feat(build): Configure linking to libsystemd | Vincent Ambo | 1 | -0/+6 | |
2018-05-27 | chore: Add project bootstrap | Vincent Ambo | 4 | -0/+176 | |
2018-05-27 | chore: Initial commit | Vincent Ambo | 0 | -0/+0 | |