Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg committed Aug 15, 2023
1 parent 627271f commit be6cc34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buildscripts/templates/SemanticAttributes.java.j2
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public final class {{class}} {
{%- if attribute.note %}
*
* <p>Notes:
<ul> {{attribute.note | replace(">", "") | render_markdown(code="{{@code {0}}}", paragraph="<li>{0}</li>", list="{0}")}} </ul>
<ul> {{attribute.note | replace("> ", "") | render_markdown(code="{{@code {0}}}", paragraph="<li>{0}</li>", list="{0}")}} </ul>

{%- endif %}
{%- if (attribute.stability | string()) == "StabilityLevel.DEPRECATED" %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public final class ResourceAttributes {
* href="https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id">Fully
* Qualified Resource ID</a> of the invoked function, <em>not</em> the function app, having
* the form {@code
* /subscriptions/<SUBSCIPTION_GUID/resourceGroups/<RG/providers/Microsoft.Web/sites/<FUNCAPP/functions/<FUNC}.
* /subscriptions/<SUBSCIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>}.
* This means that a span attribute MUST be used, as an Azure function app can host multiple
* functions that would usually share a TracerProvider.
* </ul>
Expand Down Expand Up @@ -427,7 +427,7 @@ public final class ResourceAttributes {
* <li>For some cloud providers, the above definition is ambiguous. The following definition of
* function name MUST be used for this attribute (and consequently the span name) for the
* listed cloud providers/products:
* <li><strong>Azure:</strong> The full name {@code <FUNCAPP/<FUNC}, i.e., function app name
* <li><strong>Azure:</strong> The full name {@code <FUNCAPP>/<FUNC>}, i.e., function app name
* followed by a forward slash followed by the function name (this form can also be seen in
* the resource JSON for the function). This means that a span attribute MUST be used, as an
* Azure function app can host multiple functions that would usually share a TracerProvider
Expand Down

0 comments on commit be6cc34

Please sign in to comment.