Skip to content

Commit

Permalink
added transform
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgeorgehope committed Jul 12, 2024
1 parent 30a197e commit 43ed5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes/elastic-helm/configmap-elastic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ data:
actions:
- key: http.url
action: extract
pattern: '^(?P<short.url>https?://[^/]+(?:/[^/]+)*)(?:/(?P<url.truncated.path>[^/?]+/[^/?]+))(?:\?|/?$)'
pattern: '^(?P<short_url>https?://[^/]+(?:/[^/]+)*)(?:/(?P<url_truncated_path>[^/?]+/[^/?]+))(?:\?|/?$)'
transform:
trace_statements:
- context: span
statements:
- set(name, concat(attributes["url.truncated.path"], "::", name))
- set(name, attributes["url_truncated_path"])
receivers:
httpcheck/frontendproxy:
targets:
Expand Down

0 comments on commit 43ed5b6

Please sign in to comment.