-
Notifications
You must be signed in to change notification settings - Fork 17
Bootstrap docs for otel mappings troubleshooting #140
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
6 changes: 6 additions & 0 deletions
6
docs/latest/modules/en/pages/setup/otel/otelmappings/README.adoc
This file contains hidden or 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,6 @@ | ||
| ifdef::stackpacks2_enabled[] | ||
| = Getting Started with Open Telemetry Mappings | ||
| :revdate: 2025-11-26 | ||
| :page-revdate: {revdate} | ||
| :description: Overview of Open Telemetry Mappings | ||
| endif::stackpacks2_enabled[] |
6 changes: 6 additions & 0 deletions
6
docs/latest/modules/en/pages/setup/otel/otelmappings/concepts.adoc
This file contains hidden or 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,6 @@ | ||
| ifdef::stackpacks2_enabled[] | ||
| = Open Telemetry Mappings Concepts | ||
| :revdate: 2025-11-26 | ||
| :page-revdate: {revdate} | ||
| :description: Open Telemetry Mappings Concepts | ||
| endif::stackpacks2_enabled[] |
99 changes: 99 additions & 0 deletions
99
docs/latest/modules/en/pages/setup/otel/otelmappings/troubleshooting.adoc
This file contains hidden or 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,99 @@ | ||
| ifdef::stackpacks2_enabled[] | ||
| = Open Telemetry Mappings Troubleshooting | ||
| :revdate: 2025-11-26 | ||
| :page-revdate: {revdate} | ||
| :description: Troubleshooting Open Telemetry Mappings | ||
|
|
||
| == Overview | ||
|
|
||
| The xref:/setup/cli/cli-sts.adoc[SUSE Observability CLI] can be used to troubleshoot an open telemetry topology synchronization and fix issues that might prevent topology data from being correctly ingested and displayed in SUSE Observability. This page describes the general troubleshooting steps to take when debugging such an issue. | ||
aacevedoosorio marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| == General troubleshooting steps | ||
|
|
||
| . xref:/setup/otel/otelmappings/troubleshooting.adoc#_list_open_telemetry_component_mappings[Verify that the open telemetry mapping exists]. | ||
| ** If no mappings are present verify that the open telemetry stackpack is installed | ||
| . When missing components or relations of a certain type, xref:/setup/otel/otelmappings/troubleshooting.adoc#_show_an_open_telemetry_component_or_relation_mappings_status[get the status of the mapping]. | ||
| ** Check the latency metrics to determine if data is flowing or if the issue could be a communication issue between the open telemetry collector and the platform. | ||
| ** Fix the mapping errors reported as those are preventing some topology elements to be synced. | ||
aacevedoosorio marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ** A potential source of mappings "silently" not being processed as expected could be the conditions/filtering applied in the input field. For example, if a condition is false, there's no error - but the mapping is "skipped". | ||
|
|
||
| == Useful CLI commands | ||
|
|
||
| === List open telemetry component mappings | ||
|
|
||
| Returns a list of all current open telemetry mappings. | ||
|
|
||
| [,sh] | ||
| ---- | ||
| $ sts otel-component-mapping list | ||
| NAME | IDENTIFIER | ||
| Database | urn:stackpack:open-telemetry-2:shared:otel-component-mapping:database | ||
| Function Component | urn:stackpack:open-telemetry-2:shared:otel-component-mapping:function | ||
| Host Component | urn:stackpack:open-telemetry-2:shared:otel-component-mapping:host | ||
| Kubernetes Namespace | urn:stackpack:open-telemetry-2:shared:otel-component-mapping:namespace | ||
| Kubernetes Pod | urn:stackpack:open-telemetry-2:shared:otel-component-mapping:pod | ||
| OTel Service Component | urn:stackpack:open-telemetry-2:shared:otel-component-mapping:service-instance | ||
| OTel Service Instance | urn:stackpack:open-telemetry-2:shared:otel-component-mapping:service | ||
| Task Component | urn:stackpack:open-telemetry-2:shared:otel-component-mapping:task | ||
| ---- | ||
|
|
||
| === List open telemetry relation mappings | ||
|
|
||
| Returns a list of all current open telemetry mappings. | ||
|
|
||
| [,sh] | ||
| ---- | ||
| $ sts otel-relation-mapping list | ||
| NAME | IDENTIFIER | ||
| Database Relation | urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:database | ||
| Executes Relation (Function) | urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:executes-function | ||
| Executes Relation (Host) | urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:executes-host | ||
| Executes Relation (Task) | urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:executes-task | ||
| Kubernetes to OTEL Relation | urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:kubernetes-to-otel | ||
| OTel Async Relation (Consumer -> Peer) | urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:asynchronous-consumer-peer | ||
| OTel Async Relation (Producer -> Consumer) | urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:asynchronous-producer-consumer | ||
| OTel Async Relation (Producer -> Peer) | urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:asynchronous-producer-peer | ||
| OTel Synchronous Relation | urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:synchronous | ||
| OTel service instance provided-by service relation | urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:provided-by | ||
| ---- | ||
|
|
||
|
|
||
| === Show an open telemetry component or relation mappings status | ||
|
|
||
| The open telemetry component mapping status command returns the aggregated latency, throughput metrics ana amount of topology elements created. This is helpful when debugging why a particular part of the topology takes a long time to be synchronised. The output includes a section `Mapping errors` that will signal any issues occurring when applying the mapping rules to the open telemetry data. | ||
|
|
||
| [,sh] | ||
| ---- | ||
| $ sts otel-component-mapping status --identifier urn:stackpack:open-telemetry-2:shared:otel-component-mapping:service | ||
|
|
||
|
|
||
| Otel Component Mapping: | ||
| NAME | IDENTIFIER | COMPONENTS | RELATIONS | ||
| OTel Service Instance | urn:stackpack:open-telemetry-2:shared:otel-component-mapping:service | 9 | 0 | ||
|
|
||
|
|
||
| Otel Component Mapping Metrics: | ||
| METRIC | 500S AGO | 500-1000S AGO | 1000-1500S AGO | ||
| latency seconds | 44.45 | 44.45 | 41.19 | ||
| ---- | ||
|
|
||
| Analogous there is an open telemetry relation mapping status | ||
| [,sh] | ||
| ---- | ||
| otel-relation-mapping status --identifier urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:database | ||
|
|
||
|
|
||
| Otel Relation Mapping: | ||
| NAME | IDENTIFIER | COMPONENTS | RELATIONS | ||
| Database Relation | urn:stackpack:open-telemetry-2:shared:otel-relation-mapping:database | 0 | 2 | ||
|
|
||
|
|
||
| Otel Relation Mapping Metrics: | ||
| METRIC | 500S AGO | 500-1000S AGO | 1000-1500S AGO | ||
| latency seconds | 43.404 | 43.404 | 39.978 | ||
|
|
||
|
|
||
| Otel Relation Mapping Errors: | ||
| No otel relation mapping errors found. | ||
| ---- | ||
| endif::stackpacks2_enabled[] | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.