-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(mdx): Migrate files to
.mdx
and add meta title + desc (#3323)
* docs(convert mdx): round 1 * docs(migrate to mdx): concepts * docs(migrate to mdx): cli section * docs(migrate to mdx): config section * docs(migrate to mdx): core section * docs(migrate to mdx): examples-tutorials section * docs(migrate to mdx): getting started section * docs(migrate to mdx): tools and integrations * docs(migrating to mdx): web ui * docs(migrate to mdx): fix broken links
- Loading branch information
Adnan Rahić
authored
Nov 1, 2023
1 parent
4629c9a
commit 586a3a4
Showing
147 changed files
with
1,481 additions
and
785 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
id: common-problems | ||
title: Common Problems | ||
description: The Common Problems plugin analyzes spans part of a trace to identify errors. The Tracetest Analyzer analyzes OpenTelemetry traces. | ||
keywords: | ||
- tracetest | ||
- trace-based testing | ||
- observability | ||
- distributed tracing | ||
- testing | ||
image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1698686403/docs/Blog_Thumbnail_14_rsvkmo.jpg | ||
--- | ||
|
||
The `Common Problems` plugin is responsible of analyzing the spans that are part of a trace in order to identify frequent mistakes in the distributed system. | ||
|
||
## Rules | ||
|
||
- [prefer-dns](/analyzer/rules/prefer-dns) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
id: otel-semantic-conventions | ||
title: OTel Semantic Conventions | ||
description: The OpenTelemetry Semantic Conventions plugin analyzes spans part of a trace in order to identify problematic patterns. The Tracetest Analyzer analyzes OpenTelemetry traces. | ||
keywords: | ||
- tracetest | ||
- trace-based testing | ||
- observability | ||
- distributed tracing | ||
- testing | ||
image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1698686403/docs/Blog_Thumbnail_14_rsvkmo.jpg | ||
--- | ||
|
||
The `OpenTelemetry Semantic Conventions` plugin analyzes the spans that are part of a trace in order to identify problematic patterns. The set of rules follows the OpenTelemetry conventions to ensure the quality of the telemetry data. | ||
|
||
## Rules | ||
|
||
- [span-naming](/analyzer/rules/span-naming) | ||
- [attribute-naming](/analyzer/rules/attribute-naming) | ||
- [required-attributes](/analyzer/rules/required-attributes) | ||
- [no-empty-attributes](/analyzer/rules/no-empty-attributes) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
id: security | ||
title: Security | ||
description: The Security plugin is responsible for analyzing spans part of a trace to identify security problems. The Tracetest Analyzer analyzes OpenTelemetry traces. | ||
keywords: | ||
- tracetest | ||
- trace-based testing | ||
- observability | ||
- distributed tracing | ||
- testing | ||
image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1698686403/docs/Blog_Thumbnail_14_rsvkmo.jpg | ||
--- | ||
|
||
The `Security` plugin is responsible for analyzing the spans that are part of a trace in order to identify security problems in the distributed system. | ||
|
||
## Rules | ||
|
||
- [secure-https-protocol](/analyzer/rules/secure-https-protocol) | ||
- [no-api-key-leak](/analyzer/rules/no-api-key-leak) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
id: attribute-naming | ||
title: attribute-naming | ||
description: Enforce attribute keys to follow common specifications | The Tracetest Analyzer analyzes OpenTelemetry traces | ||
keywords: | ||
- tracetest | ||
- trace-based testing | ||
- observability | ||
- distributed tracing | ||
- testing | ||
image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1698686403/docs/Blog_Thumbnail_14_rsvkmo.jpg | ||
--- | ||
|
||
Enforce attribute keys to follow common specifications. | ||
|
||
## Rule Details | ||
|
||
An `Attribute` is a key-value pair, which is encapsulated as part of a span. The attribute key should follow a set of common specifications to be considered valid. | ||
|
||
The following OpenTelemetry Semantic Conventions for attribute keys are defined: | ||
|
||
- It must be a non-null and non-empty string. | ||
- It must be a valid Unicode sequence. | ||
- It should use namespacing to avoid name clashes. Delimit the namespaces using a dot character. For example `service.version` denotes the service version where `service` is the namespace and `version` is an attribute in that namespace. | ||
- Namespaces can be nested. For example `telemetry.sdk` is a namespace inside top-level `telemetry` namespace and `telemetry.sdk.name` is an attribute inside `telemetry.sdk` namespace. | ||
- For each multi-word separate the words by underscores (use snake_case). For example `http.status_code` denotes the status code in the http namespace. | ||
- Names should not coincide with namespaces. For example if `service.instance.id` is an attribute name then it is no longer valid to have an attribute named `service.instance` because `service.instance` is already a namespace. | ||
|
||
## Options | ||
|
||
This rule has the following options: | ||
|
||
- `"error"` requires attribute keys to follow the OTel semantic convention | ||
- `"disabled"` disables the attribute keys verification | ||
- `"warning"` verifies attribute keys to follow the OTel semantic convention but does not impact the analyzer score | ||
|
||
## When Not To Use It | ||
|
||
If you don’t want to enforce OTel attribute keys, don't enable this rule. |
13 changes: 12 additions & 1 deletion
13
docs/docs/analyzer/rules/no-api-key-leak.md → docs/docs/analyzer/rules/no-api-key-leak.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 12 additions & 1 deletion
13
...ocs/analyzer/rules/no-empty-attributes.md → ...cs/analyzer/rules/no-empty-attributes.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 12 additions & 1 deletion
13
...ocs/analyzer/rules/required-attributes.md → ...cs/analyzer/rules/required-attributes.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 12 additions & 1 deletion
13
...s/analyzer/rules/secure-https-protocol.md → .../analyzer/rules/secure-https-protocol.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 15 additions & 4 deletions
19
docs/docs/analyzer/rules/span-naming.md → docs/docs/analyzer/rules/span-naming.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 12 additions & 1 deletion
13
...-cd-automation/github-actions-pipeline.md → ...cd-automation/github-actions-pipeline.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 12 additions & 1 deletion
13
.../docs/ci-cd-automation/tekton-pipeline.md → ...docs/ci-cd-automation/tekton-pipeline.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.