Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 27be25d

Browse files
bpotchingor13
authored andcommitted
Fix 'Bad metadata value given' for grpc integration (#115)
1 parent 9585b65 commit 27be25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Trace/Integrations/Grpc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public static function updateMetadata($metadata, $jwtAuthUri)
116116
if ($context = Tracer::spanContext()) {
117117
$propagator = new GrpcMetadataPropagator();
118118
$metadata += [
119-
$propagator->key() => $propagator->formatter()->serialize($context)
119+
$propagator->key() => [$propagator->formatter()->serialize($context)]
120120
];
121121
}
122122
return $metadata;

0 commit comments

Comments
 (0)