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: Add basic log analysis support with Loki #294

Merged
merged 5 commits into from
May 20, 2024

Conversation

CH3CHO
Copy link
Collaborator

@CH3CHO CH3CHO commented Feb 27, 2024

Ⅰ. Describe what this PR did

Add basic log collection support with Loki and Promtail.

  1. Move o11y configurations to global, so we can share the same "enabled" flag with higress-core.
  2. Install Loki using Deployment with a PersistentVolume attached for data storage.
  3. Configure a Loki datasource and access log dashboard during the console start-up, and allow anonymous viewers to edit query conditions.

Access log dashboard screenshot:

image

image

Ⅱ. Does this pull request fix one issue?

fixes alibaba/higress#836

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@CH3CHO CH3CHO marked this pull request as draft February 27, 2024 04:05
@CH3CHO CH3CHO changed the title feat: Add basic log collection support with Loki and Promtail feat: Add basic log analysis support with Loki Feb 28, 2024
@CH3CHO CH3CHO marked this pull request as ready for review February 28, 2024 14:27
@johnlanni johnlanni merged commit f79fc5c into higress-group:main May 20, 2024
4 checks passed
@CH3CHO CH3CHO deleted the feat/log-collection branch May 20, 2024 01:36
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.

建议公开监控面板的指标采集规则
2 participants