Skip to content

Commit 44b54f3

Browse files
[chore] Run prettier (#2892)
1 parent 254de0a commit 44b54f3

File tree

27 files changed

+110
-112
lines changed

27 files changed

+110
-112
lines changed

.prettierignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
/docs/**
66
!/docs/cloud*
77
!/docs/cloud*/**
8-
!/docs/registry*
9-
!/docs/registry*/**
8+
/docs/registry
109
!/docs/non-normative*
1110
!/docs/non-normative/groups*
1211
!/docs/non-normative/groups/system*

docs/cicd/cicd-logs.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@ When a trace context is available (cf. [CICD Spans](cicd-spans.md)) then emitted
1717

1818
Any resources of the [CICD and VCS resource conventions][cicdres] that apply SHOULD be used.
1919

20-
[cicdres]: /docs/resource/cicd.md (CICD and VCS resource conventions)
21-
20+
[cicdres]: /docs/resource/cicd.md "CICD and VCS resource conventions"
2221
[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status

docs/cicd/cicd-metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ When reporting host, container, runtime, and other metrics in CI/CD pipelines, i
5252

5353
The [`cicd.pipeline.run`](/docs/resource/cicd.md#cicd-pipeline-run) entity identifies a pipeline run. Associating it with metrics inherently causes high cardinality and may increase costs with some metric storage backends. Thus, `cicd.pipeline.run` entity MUST be opt-in.
5454

55-
[cicdres]: /docs/resource/cicd.md (CICD and VCS resource conventions)
55+
[cicdres]: /docs/resource/cicd.md "CICD and VCS resource conventions"
5656

5757
### Metric: `cicd.pipeline.run.duration`
5858

docs/cicd/cicd-spans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The conventions described in this section are specific to Continuous Integration
2020

2121
Any resources of the [CICD and VCS resource conventions][cicdres] that apply SHOULD be used.
2222

23-
[cicdres]: /docs/resource/cicd.md (CICD and VCS resource conventions)
23+
[cicdres]: /docs/resource/cicd.md "CICD and VCS resource conventions"
2424

2525
### Pipeline run
2626

docs/database/database-spans.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -366,12 +366,12 @@ instrumentation hooks or other sources.
366366
Otherwise:
367367

368368
- When instrumenting higher-level APIs that build queries internally - for example,
369-
those that create a table or execute a stored procedure - instrumentations SHOULD
370-
generate a `db.query.summary` from available operation(s) and target(s) using the
371-
format described in this section.
369+
those that create a table or execute a stored procedure - instrumentations SHOULD
370+
generate a `db.query.summary` from available operation(s) and target(s) using the
371+
format described in this section.
372372

373373
- When instrumenting APIs that operate at the query level, instrumentations that
374-
support query parsing SHOULD generate a query summary based on the `db.query.text`.
374+
support query parsing SHOULD generate a query summary based on the `db.query.text`.
375375

376376
The summary SHOULD preserve the following parts of query in the order they were provided:
377377

@@ -504,7 +504,6 @@ The instrumentation SHOULD allow users to pass a propagator to overwrite the glo
504504
```
505505

506506
Note that adding high cardinality comments, like `traceparent` and `tracestate`, to queries can impact the performance for some database systems, such as:
507-
508507
- Prepared statements in MySQL. See [this related issue](https://github.com/google/sqlcommenter/issues/284) for more details.
509508
- Oracle and SQL Server for both prepared and non-prepared statements.
510509

docs/database/redis.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ linkTitle: Redis
99
The Semantic Conventions for [Redis](https://redis.com/) extend and override the [Database Semantic Conventions](database-spans.md).
1010

1111
## Spans
12+
1213
<!-- semconv span.db.redis.client -->
1314
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
1415
<!-- see templates/registry/markdown/snippet.md.j2 -->

docs/database/sql-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Run the following command on the same physical connection as the SQL statement:
181181
-- The binary conversion may be done by the application or the driver.
182182
DECLARE @traceparent varbinary(55);
183183
SET @traceparent = CAST('00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01' AS varbinary(55));
184-
SET CONTEXT_INFO @traceparent;
184+
SET CONTEXT_INFO @traceparent;
185185
```
186186

187187
Then run the query:

docs/exceptions/exceptions-spans.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ possible representations of stacktraces in various languages. The table is not
5454
meant to be a recommendation for any particular language, although SIGs are free
5555
to adopt them if they see fit.
5656

57-
| Language | Format |
58-
| ---------- | ------------------------------------------------------------------- |
59-
| C# | the return value of [Exception.ToString()][csharp-stacktrace] |
60-
| Elixir | the return value of [Exception.format/3][elixir-stacktrace] |
61-
| Erlang | the return value of [`erl_error:format`][erlang-stacktrace] |
62-
| Go | the return value of [runtime.Stack][go-stacktrace] |
63-
| Java | the contents of [Throwable.printStackTrace()][java-stacktrace] |
64-
| Javascript | the return value of [error.stack][js-stacktrace] as returned by V8 |
65-
| Python | the return value of [traceback.format_exc()][python-stacktrace] |
66-
| Ruby | the return value of [Exception.full_message][ruby-full-message] |
57+
| Language | Format |
58+
| ---------- | ------------------------------------------------------------------ |
59+
| C# | the return value of [Exception.ToString()][csharp-stacktrace] |
60+
| Elixir | the return value of [Exception.format/3][elixir-stacktrace] |
61+
| Erlang | the return value of [`erl_error:format`][erlang-stacktrace] |
62+
| Go | the return value of [runtime.Stack][go-stacktrace] |
63+
| Java | the contents of [Throwable.printStackTrace()][java-stacktrace] |
64+
| Javascript | the return value of [error.stack][js-stacktrace] as returned by V8 |
65+
| Python | the return value of [traceback.format_exc()][python-stacktrace] |
66+
| Ruby | the return value of [Exception.full_message][ruby-full-message] |
6767

6868
Backends can use the language specified methodology for generating a stacktrace
6969
combined with platform information from the

docs/faas/aws-lambda.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ unless stated otherwise.
7474
<!-- END AUTOGENERATED TEXT -->
7575
<!-- endsemconv -->
7676

77-
[faas]: faas-spans.md (FaaS trace conventions)
78-
[faasres]: /docs/resource/faas.md (FaaS resource conventions)
79-
[cloud]: /docs/resource/cloud.md (Cloud resource conventions)
77+
[faas]: faas-spans.md "FaaS trace conventions"
78+
[faasres]: /docs/resource/faas.md "FaaS resource conventions"
79+
[cloud]: /docs/resource/cloud.md "Cloud resource conventions"
8080

8181
### AWS X-Ray active tracing considerations
8282

@@ -140,7 +140,7 @@ Example valid configuration when OpenTelemetry is reporting traces to another sy
140140

141141
API Gateway allows a user to trigger a Lambda function in response to HTTP requests. It can be configured to be
142142
a pure proxy, where the information about the original HTTP request is passed to the Lambda function, or as a
143-
configuration for a REST API, in which case only a deserialized body payload is available. In the case the API
143+
configuration for a REST API, in which case only a deserialized body payload is available. In the case the API
144144
gateway is configured to proxy to the Lambda function, the instrumented request handler will have access to all
145145
the information about the HTTP request in the form of an API Gateway Proxy Request Event.
146146

@@ -185,7 +185,7 @@ See [compatibility](../non-normative/compatibility/aws.md#context-propagation) f
185185

186186
### SQS message
187187

188-
For the SQS message span, the name MUST be `<event source> process`. The parent MUST be the `CONSUMER` span
188+
For the SQS message span, the name MUST be `<event source> process`. The parent MUST be the `CONSUMER` span
189189
corresponding to the SQS event. The [message system attributes][] (not message attributes, which are provided by
190190
the user) SHOULD be checked for the key `AWSTraceHeader`. If it is present, an OpenTelemetry `Context` SHOULD be
191191
parsed from the value of the attribute using the [AWS X-Ray Propagator](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.49.0/specification/context/api-propagators.md) and
@@ -312,5 +312,4 @@ Note that [`cloud.resource_id`][cloud] currently cannot be populated as a resour
312312
because it is not available until function invocation.
313313

314314
[environment variables]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime
315-
316315
[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status

docs/general/attribute-requirement-level.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,4 @@ Here are several examples of expensive operations to be avoided by default:
132132
- reading response stream to find `http.response.body.size` when
133133
`Content-Length` header is not available
134134

135-
[DocumentStatus]:
136-
https://opentelemetry.io/docs/specs/otel/document-status
135+
[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status

0 commit comments

Comments
 (0)