Guillaume
02/07/2023, 9:33 AMprocessors:
filter:
spans:
exclude:
match_type: regexp
attributes:
- Key: http.route
Value: .*\/health.*
- Key: http.route
Value: .*\/prometheus.*
- Key: operation
Value: OperationHandler.handle
It doesn't work so far, even though the string itself /actuator/health/**
supposed to be caught by the regex .*\/health.*
Ankit Nayan
02/07/2023, 9:37 AMSrikanth Chekuri
02/07/2023, 10:34 AMGuillaume
02/07/2023, 2:34 PMpipelines:
traces:
receivers: [otlp]
processors: [signozspanmetrics/prometheus, batch, filter]
exporters: [clickhousetraces]
Srikanth Chekuri
02/07/2023, 2:40 PMhttp.route
tag value rather a operation whose filter criteria is hard coded to simply match the value OperationHandler.handle
Services
tab. processors: [filter, signozspanmetrics/prometheus, batch]
Guillaume
02/08/2023, 8:55 AMhttp.route
? But the right sidebar with more details about this trace seems to indicate it isAnkit Nayan
02/08/2023, 9:52 AM/actuator/health/**
. I marked it in the image in orange. But the screenshot you shared now, has it in http.route
attribute key- Key: operation
also in the filter processorGuillaume
02/08/2023, 12:58 PMfilter:
spans:
exclude:
match_type: regexp
attributes:
- Key: http.route
Value: .*\/health.*
- Key: operation
- Key: .*\/health.*
Ankit Nayan
02/08/2023, 1:06 PMfilter:
spans:
exclude:
match_type: regexp
span_names:
- .*\/health.*
attributes:
- Key: http.route
Value: .*\/health.*
as operation
is not attribute but name
of spanGuillaume
02/08/2023, 1:28 PM- Key: operation
Value: OperationHandler.handle
should be this in the end:
filter:
spans:
exclude:
match_type: regexp
span_names:
- .*\/health.*
- OperationHandler.handle
attributes:
- Key: http.route
Value: .*\/health.*
Ankit Nayan
02/08/2023, 1:29 PMGuillaume
02/15/2023, 10:18 AM