Skip to content

Commit

Permalink
fix bug in config_option shortcode
Browse files Browse the repository at this point in the history
Signed-off-by: svrnm <[email protected]>
  • Loading branch information
svrnm committed Jun 18, 2024
1 parent 7591d4d commit 64c1e66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/zero-code/java/agent/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ is the name of a remote service to which a connection is made. It corresponds to
`service.name` in the [resource](/docs/specs/semconv/resource/#service) for the
local service.

{{% config_option name="otel.instrumentation.common.peer-service-mapping" %}}
{{< config_option name="otel.instrumentation.common.peer-service-mapping" >}}

Used to specify a mapping from host names or IP addresses to peer services, as a
comma-separated list of `<host_or_ip>=<user_assigned_name>` pairs. The peer
Expand All @@ -150,7 +150,7 @@ while `1.2.3.4:443` will have have `peer.service` of `cats-service` and requests
to `dogs-abcdef123.serverlessapis.com:80/api/v1` will have an attribute of
`dogs-api`.

{{% /config_option %}}
{{< /config_option >}}

### DB statement sanitization

Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/config_option.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
<span class="label">Default</span>: {{ .Get "default" }}<br>
{{ end -}}
<span class="label">Description</span>:
{{ trim .InnerDeindent "\n " }}
{{ trim .InnerDeindent "\n " | markdownify }}
</div>

0 comments on commit 64c1e66

Please sign in to comment.