From 300825eb0e925b143a389bca069e738d5df8060e Mon Sep 17 00:00:00 2001 From: Simon Luo Date: Wed, 4 Oct 2023 01:28:33 -0700 Subject: [PATCH] debug {{notEmpty .value}} --- .../cases/php/expected/trace-info-detail.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/e2e-v2/cases/php/expected/trace-info-detail.yml b/test/e2e-v2/cases/php/expected/trace-info-detail.yml index b27e45df1db1..9d2d0016c123 100644 --- a/test/e2e-v2/cases/php/expected/trace-info-detail.yml +++ b/test/e2e-v2/cases/php/expected/trace-info-detail.yml @@ -35,9 +35,9 @@ spans: - key: url value: {{ notEmpty .value }} - key: http.method - value: {{ notEmpty .value }} + value: POST - key: http.status_code - value: {{ notEmpty .value }} + value: "200" {{- end }} logs: [] attachedevents: [] @@ -59,9 +59,9 @@ spans: tags: {{- contains .tags }} - key: url - value: {{ notEmpty .value }} + value: http://provider:9090/info - key: status_code - value: {{ notEmpty .value }} + value: ”200“ {{- end }} logs: [] attachedevents: [] @@ -89,13 +89,13 @@ spans: tags: {{- contains .tags }} - key: url - value: {{ notEmpty .value}} + value: http://provider:9090/info - key: http.method - value: {{ notEmpty .value }} - key: http.status_code - value: {{ notEmpty .value }} + value: GET + - key: http.status_code + value: "200" {{- end }} logs: [] attachedevents: [] - {{- end }} +{{- end }}