feat: improve Loki defaults, add org-id support, and fix install docs#25
Merged
noexecstack merged 2 commits intomainfrom Mar 31, 2026
Merged
feat: improve Loki defaults, add org-id support, and fix install docs#25noexecstack merged 2 commits intomainfrom
noexecstack merged 2 commits intomainfrom
Conversation
- Change default LogQL query to {container="cilium-agent"} which matches
the standard Cilium agent container label
- Add --loki-org-id flag to send X-Scope-OrgID header for multi-tenant
Loki deployments (auth_enabled=true)
- Reduce default Loki batch limit from 5000 to 1000 for reliability
- Increase Loki HTTP timeout from 30s to 120s for large queries
- Silently skip non-JSON log lines instead of warning (cilium agent logs
contain mixed content)
- Unwrap {"flow": {...}} envelope from Hubble dynamic exports via the
Cilium configmap (hubble.export.*)
- Fix README install instructions to use git+https instead of PyPI
(package is not published to PyPI)
- Update README flag reference with new defaults and --loki-org-id
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.
Summary
{app="hubble"}to{container="cilium-agent"}to match the standard Cilium agent container label--loki-org-idflag to sendX-Scope-OrgIDheader for multi-tenant Loki deployments (auth_enabled=true){"flow": {...}}envelope from Hubble dynamic exports via the Cilium configmap (hubble.export.*)git+httpsinstead ofpip installfrom PyPI (package is not published)--loki-org-idTest plan