Skip to content

Organise Tracing Policies - #5268

Open
paularah wants to merge 5 commits into
cilium:mainfrom
paularah:pr/paularah/organize-policies
Open

Organise Tracing Policies#5268
paularah wants to merge 5 commits into
cilium:mainfrom
paularah:pr/paularah/organize-policies

Conversation

@paularah

@paularah paularah commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Description

Summary

The Tetragon project currently lacks a centralized, well-organized collection of tracing policies. As a result, there is no single place where users can discover high-quality tracing policy examples or learn how to write their own.

This PR addresses that by organizing the existing tracing policies referenced throughout the documentation into a dedicated /policies directory, grouped by use case. This makes it significantly easier for users to discover relevant policies, understand how they work, and use them as references when authoring new tracing policies.

In addition, this PR introduces three new Hugo shortcodes for referencing tracing policies from the documentation. These shortcodes provide several benefits:

  • They establish a single source of truth for tracing policy examples used throughout the documentation.
  • They eliminate the risk of stale or broken links if policies are moved or reorganized in the future.
  • They ensure documentation always references the latest version of each policy.
  • They make it easy to reuse the same policy across multiple documentation pages without duplication.

Documentation describing how to use these shortcodes has been added to the documentation contribution guide.

As an example, the Kernel Modules section under the Host System use case has been updated to use the new shortcodes. Converting the remaining documentation to use these shortcodes will be done in a separate follow-up PR.

Changelog

paularah added 3 commits July 6, 2026 11:47
Signed-off-by: Paul Arah <paularah.self@gmail.com>
Signed-off-by: Paul Arah <paularah.self@gmail.com>
Signed-off-by: Paul Arah <paularah.self@gmail.com>
@netlify

netlify Bot commented Jul 10, 2026

Copy link
Copy Markdown

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit ddae465
🔍 Latest deploy log https://app.netlify.com/projects/tetragon/deploys/6a67799951d44f000862df58
😎 Deploy Preview https://deploy-preview-5268--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@paularah

paularah commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

@mtardy

some initial work here, still WIP. I choose to organise the policies around usecases. Then, i'll slightly change how we put policies in the docs. You write the policy, put it in the correct usecase directory, and then reference the path. LMK what you think.

@paularah
paularah marked this pull request as ready for review July 27, 2026 15:32
@paularah
paularah requested review from a team as code owners July 27, 2026 15:32
@paularah
paularah requested a review from mtardy July 27, 2026 15:32
@paularah paularah changed the title Pr/paularah/organize policies Organise Tracing Policies Jul 27, 2026
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.

1 participant