Skip to content

docs: Replace deprecated Promtail with Grafana Alloy#5227

Draft
yanivagman wants to merge 1 commit intomainfrom
cursor/issue-5219-resolution-8b19
Draft

docs: Replace deprecated Promtail with Grafana Alloy#5227
yanivagman wants to merge 1 commit intomainfrom
cursor/issue-5219-resolution-8b19

Conversation

@yanivagman
Copy link
Copy Markdown
Collaborator

@yanivagman yanivagman commented Feb 1, 2026

1. Explain what the PR does

This PR resolves #5219 by comprehensively updating the "Accessing Tracee Logs" tutorial. The key changes include:

  • Migration from Promtail to Grafana Alloy: Replaced all references and configurations for Promtail with Grafana Alloy, which is the recommended agent for collecting logs, metrics, and traces.
  • Loki Helm Chart Update: Switched from the deprecated grafana/loki-distributed Helm chart to the modern grafana/loki chart (v3+), including updated configuration.
  • Loki Datasource URL: Updated the Loki datasource URL in Grafana configuration to reflect the new Loki deployment.
  • SSH Tunneling Instructions: Added a new section detailing how to access Grafana on remote servers using SSH port forwarding.
  • Migration Guide: Included a guide for users who previously followed the legacy Promtail tutorial to migrate to Grafana Alloy and the new Loki setup.
  • Documentation Cross-references: Updated related documentation links and navigation entries to reflect the change from Promtail to Grafana Alloy.

2. Explain how to test it

Follow the updated tutorial in docs/tutorials/promtail.md from start to finish.

  1. Deploy Tracee using the Helm chart as described.
  2. Deploy the observability stack (Grafana, Prometheus, Grafana Alloy, Loki) by applying the provided grafana-config.yaml, alloy-config.yaml, and loki-config.yaml files and installing the respective Helm charts.
  3. Port-forward to Grafana: kubectl port-forward service/prom-grafana -n monitoring 3000:80.
  4. Access Grafana at http://localhost:3000, log in, and navigate to the "Explore" section.
  5. Select "Loki" as the data source and verify that Tracee logs can be queried (e.g., using {app="tracee"}).
  6. (Optional) Test the SSH tunneling instructions if your cluster is on a remote server.

3. Other comments


Open in Cursor Open in Web

@cursor
Copy link
Copy Markdown

cursor bot commented Feb 1, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

…Helm chart

- Renamed promtail.md to grafana-alloy-loki.md
- Migrated tutorial from deprecated Promtail to Grafana Alloy
- Updated from deprecated loki-distributed Helm chart to loki Helm chart v3+
- Updated Loki datasource URL to use the new loki-gateway endpoint
- Added section on SSH tunneling for remote server access
- Added migration guide for users on legacy setup
- Updated mkdocs.yml navigation and cross-references

Fixes #5219

Co-authored-by: yaniv <yaniv@aquasec.com>
@cursor cursor bot force-pushed the cursor/issue-5219-resolution-8b19 branch from e64faf3 to 51fa039 Compare February 1, 2026 12:39
@yanivagman yanivagman changed the title Issue 5219 resolution docs: Replace deprecated Promtail with Grafana Alloy and loki-distributed with loki Helm chart Feb 1, 2026
@yanivagman yanivagman changed the title docs: Replace deprecated Promtail with Grafana Alloy and loki-distributed with loki Helm chart docs: Replace deprecated Promtail with Grafana Alloy Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace deprecated Promtail with Grafana Alloy

3 participants