Skip to content
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: Support collecting gateway access logs with Promtail #846

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

CH3CHO
Copy link
Collaborator

@CH3CHO CH3CHO commented Feb 28, 2024

Ⅰ. Describe what this PR did

  1. Deploy Promtail as a sidecar of Higress Gateway.
  2. Write access logs to a local file instead of /dev/stdout when enabling o11y.
  3. Send collected logs to Loki service deployed with Higress Console.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Log file rotation IS NOT included.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 38.14%. Comparing base (9c112a0) to head (42166fc).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #846   +/-   ##
=======================================
  Coverage   38.14%   38.14%           
=======================================
  Files          61       61           
  Lines       10434    10434           
=======================================
  Hits         3980     3980           
  Misses       6154     6154           
  Partials      300      300           

@CH3CHO CH3CHO changed the base branch from main to feat/istio-1.19.0 March 13, 2024 01:23
Copy link
Collaborator

@johnlanni johnlanni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johnlanni johnlanni merged commit c93c565 into alibaba:feat/istio-1.19.0 Apr 23, 2024
8 checks passed
@CH3CHO CH3CHO deleted the feat/log-collection branch April 23, 2024 07:55
johnlanni pushed a commit to johnlanni/higress that referenced this pull request May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants