We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c117b42 commit 3628fcdCopy full SHA for 3628fcd
tests/framework_grpc/test_distributed_tracing.py
@@ -138,6 +138,11 @@ def _test():
138
decoded["d"].pop("tk", None)
139
w3c_data.pop("tk")
140
141
+ # Round priority of newrelic header to 6 decimal places so it match tracestate.
142
+ pr = decoded.get("pr", None)
143
+ if pr:
144
+ decoded["pr"] = float(f"{pr:.6f}")
145
+
146
assert decoded["d"] == w3c_data
147
148
_test()
0 commit comments