Add Graylog logging configuration #252#264
Open
Alexj9837 wants to merge 18 commits into
Open
Conversation
Alexj9837
marked this pull request as ready for review
March 16, 2026 15:59
ZohebShaikh
reviewed
Mar 17, 2026
ZohebShaikh
reviewed
Mar 17, 2026
ZohebShaikh
reviewed
Mar 17, 2026
ZohebShaikh
left a comment
Contributor
There was a problem hiding this comment.
Looks good only few minor things
ZohebShaikh
reviewed
Mar 17, 2026
Alexj9837
force-pushed
the
numtracker_graylog
branch
from
March 18, 2026 15:44
bda4336 to
831a990
Compare
- Extract GraylogOptions into its own struct, independent of TracingOptions - Remove .vscode/launch.json (to be added in a separate PR) - Remove version/build additional_field calls from Graylog logger - Switch let-else to if-let in init_graylog - Warn when Graylog URL has no port rather than silently defaulting - Add reconnect loop so dropped connections recover automatically - Improve connection error messages to distinguish DNS failure from TCP errors
Alexj9837
force-pushed
the
numtracker_graylog
branch
from
March 30, 2026 13:56
831a990 to
0a86a82
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #264 +/- ##
==========================================
+ Coverage 76.44% 78.89% +2.45%
==========================================
Files 13 13
Lines 1944 2080 +136
==========================================
+ Hits 1486 1641 +155
+ Misses 458 439 -19 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
tpoliaw
requested changes
Mar 30, 2026
tpoliaw
left a comment
Collaborator
There was a problem hiding this comment.
Looks pretty good, thanks for looking at it. A couple of changes could make the error handling a bit cleaner and keep it more consistent with what is already there though.
Alexj9837
force-pushed
the
numtracker_graylog
branch
3 times, most recently
from
April 20, 2026 15:36
498354e to
59d5002
Compare
Alexj9837
force-pushed
the
numtracker_graylog
branch
from
April 20, 2026 15:42
59d5002 to
926a966
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#252
Summary
tracing-gelflayer to ship structured logs to a Graylog instance via GELF TCP--graylog <URL>and--logging-level <LEVEL>CLI flags (also viaNUMTRACKER_GRAYLOG/NUMTRACKER_GRAYLOG_LOG_LEVELenv vars)numtracker.graylog.enabled/host/levelvalues