mirror of https://github.com/dapr/docs.git
Add tabpane shortcode
Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
This commit is contained in:
parent
72eaff18ac
commit
4d4c31e043
|
@ -144,6 +144,11 @@ Here are examples of both mechanisms:
|
|||
**1. Using Context Baggage (OpenTelemetry)**
|
||||
|
||||
When using OpenTelemetry SDK:
|
||||
|
||||
{{< tabpane text=true >}}
|
||||
|
||||
{{% tab header="Go" %}}
|
||||
|
||||
```go
|
||||
import otelbaggage "go.opentelemetry.io/otel/baggage"
|
||||
|
||||
|
@ -215,6 +220,10 @@ ctx = grpcMetadata.AppendToOutgoingContext(ctx,
|
|||
)
|
||||
```
|
||||
|
||||
{{% /tab %}}
|
||||
|
||||
{{< /tabpane >}}
|
||||
|
||||
#### Common Use Cases
|
||||
|
||||
Baggage is useful for:
|
||||
|
|
Loading…
Reference in New Issue