Skip to content

Commit c5bbc98

Browse files
authored
Internal - Add cel sampler to test config (#588)
1 parent 1095873 commit c5bbc98

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

smoke-tests/sdk-config.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,15 @@ tracer_provider:
5757
timeout: 10000
5858
# Configure headers. Entries have higher priority than entries from .headers_list.
5959
headers_list: ${OTEL_EXPORTER_OTLP_HEADERS}
60-
60+
sampler:
61+
parent_based:
62+
root:
63+
cel_based:
64+
fallback_sampler:
65+
swo/sampler:
66+
expressions:
67+
- action: DROP
68+
expression: spanKind == 'SERVER' && attribute['http.request.method'] == 'HEAD'
6169
# Configure meter provider.
6270
meter_provider:
6371
# Configure metric readers.

0 commit comments

Comments
 (0)