Skip to content

OpenTelemetry Collectorでヘルスチェックリクエストを除外する

tail_sampling プロセッサで除外できる。

processors:
tail_sampling:
policies:
- name: drop /server/avail requests
type: string_attribute
string_attribute:
key: http.route
values: ["/server/avail"]
invert_match: true
service:
pipelines:
traces:
processors: [tail_sampling]