-
Notifications
You must be signed in to change notification settings - Fork 37
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
feat(logs): add alloy + loki #451
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
8eb43d7
to
55efe88
Compare
6ec7912
to
f2a4f09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a few hitches getting things up, but seems generally good.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
* fix and clean up metrics * allow prom to be accessed by external services --------- Co-authored-by: x19 <[email protected]>
cc: @dnut i think https://github.com/orgs/Syndica/projects/2/views/16?pane=issue&itemId=92360295 is solved here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I just had a few minor nitpicks. I'm not very opinionated about any of this, so feel free to turn them down.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: alerting requires proper parsing of logs which requires some changes to our logger which ill put into a separate PR
logs/sig.log
TL;DR
Added log aggregation capabilities to the metrics stack using Loki and Alloy.
What changed?
/logs
to gitignoreHow to test?
./zig-out/bin/sig gossip -n testnet 2>&1 | tee -a logs/sig.log
docker compose -f compose_mac.yaml up -d
docker compose -f compose_linux.yaml up -d
localhost:3000
and verify logs are visible in Explore view