Project 'platform-one/big-bang/bigbang' was moved to 'big-bang/bigbang'. Please update any links and bookmarks that may still have the old path.
Resolve "Configure alloy-logs to forward logs to Loki"
General MR
Summary
Configure Alloy to ship logs to Loki
NOTE: logging is disabled by default as there's no garantee Loki will be enabled; this will need to be enabled at the Umbrella separately.
- Added
alloy-logs
- Added
podLogs
- Disable unused features
- applicationObservability
- alloyReceiver
- alloy-metrics is technically also unused, but needs to be enabled due to templating issue #90 (closed)
- Update Maintenance docs for
alloy-logs
testing - Renamed destinations for more accurate endpoint
- Will be necessary to support multiple endpoints, such as mimir and/or prometheus
Relevant logs/screenshots
(Include any relevant logs/screenshots)
Linked Issue
Upgrade Notices
N/A
Edited by Brian Jackson
Merge request reports
Activity
added kindfeature statusdoing teamObservability labels
assigned to @bjacksonfv
added 1 commit
- fdfdf686 - disable appObs and receiver by default - currently unused
- Resolved by Brian Jackson
added 1 commit
- a77abcd7 - Update Network Policy to target all Alloy pods instead of just metrics
added 8 commits
-
a77abcd7...fcfd8dab - 2 commits from branch
main
- 7b0e21b2 - Enable alloy-logs, podLogs, set securityContext
- a09e2874 - move enabled to standard line
- 93f05a54 - disable appObs and receiver by default - currently unused
- dfff7d85 - Add protocol http to loki destination
- 750d79b6 - Update alloy testing instructions
- 2fe35437 - Destination name change
Toggle commit list-
a77abcd7...fcfd8dab - 2 commits from branch
added 1 commit
- 9120b5a5 - Disable podLogs by default; needs to be enabled by Umbrella
added 1 commit
- 76306e1f - Disable logging by default; needs to be enabled by Umbrella
Testing
- Checkout bigbang branch
alloy-log-kyverno-exceptions
- Deploy with following overrides
domain: dev.bigbang.mil flux: interval: 1m rollback: cleanupOnFail: false istio: enabled: true promtail: enabled: false fluentbit: enabled: false loki: enabled: true git: tag: null branch: loki-netpol-alloy addons: alloy: enabled: true git: tag: null branch: 88-alloy-logs values: k8s-monitoring: alloy-logs: enabled: true podLogs: enabled: true
- Login to Grafana, checkout loki dashboards - Ensure logs are populating.
Edited by Brian Jackson- Checkout bigbang branch
added statusreview label and removed statusdoing label
Please register or sign in to reply