Skip to content

Commit

Permalink
deal with multiple configs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgeorgehope committed Jul 12, 2024
1 parent d4e78c1 commit 30a197e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions kubernetes/elastic-helm/configmap-elastic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ data:
- key: http.url
action: extract
pattern: '^(?P<short.url>https?://[^/]+(?:/[^/]+)*)(?:/(?P<url.truncated.path>[^/?]+/[^/?]+))(?:\?|/?$)'
span:
name:
from_attributes: ['url.truncated.path']
separator: "::"
transform:
trace_statements:
- context: span
statements:
- set(name, concat(attributes["url.truncated.path"], "::", name))
receivers:
httpcheck/frontendproxy:
targets:
Expand Down Expand Up @@ -78,7 +79,7 @@ data:
processors:
- resource
- attributes
- span
- transform
- batch
receivers:
- otlp
Expand Down

0 comments on commit 30a197e

Please sign in to comment.