Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug in config_option shortcode #4709

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>