Skip to main content
URL templatization replaces variable parts of URLs with parameter placeholders before the URL is recorded in OpenTelemetry signals (e.g., /users/123/users/{id}), keeping cardinality under control and making it easier to group traffic by endpoint pattern. There are two ways to add a URL templatization action: using odictl or using YAML files.
1

Launch odictl

odictl
2

Select the actions menu

Use Tab to focus on the Actions pane or press a, then press Enter or click + Add Action with your mouse.Select Actions menu
3

Select URL Templatization

Use the arrow keys to move through the list of action types. When URL templatization is highlighted, press Enter.Select URL Templatization action
4

Configure URL templatization

  1. Press i to enter INSERT mode.
  2. Add one or more templatization rules with a template (e.g., /api/v1/resource/{id}) and optional examples.
  3. When finished, press Esc, then type :wq to save and exit.
Configure URL templatization
To cancel creating the action, press Esc if you are in INSERT mode, then type :q! to exit without saving.
5

Complete adding the action

Select OK. The action appears in the Actions section in odictl.Complete adding the action
6

Verify the action has been created

Verify the action has been created