Official Content

Generates a span for the telemetry traces of Procedures, Data Providers, and Business Components.


Yes Allows the generation of spans in OpenTelemetry traces.
No Default value.


Objects: Business Component, Data Provider, Procedure

Generators: Java, .NET


The Generate Observability Span property becomes available once the Observability Provider property is set to a value other than "None".

By setting the property to "Yes", you enable the generation of spans in OpenTelemetry traces for the main methods of Procedures, Data Provider operations, and Business Component methods.

The property has to be enabled at object level. By default, it is disabled for all objects.

Runtime/Design time

This property applies only at runtime.


Sample #1

Suppose you have defined a Procedure called procedurebc that uses a Business Component to get and update some data.

When you run procedurebc, you will be able to view the Traces. For this you can use AWS X-Ray, for example, which displays the information as shown in the following image, where the spans are highlighted with a red box:


However, you can use any tool to display the traces, depending on your configuration and your Observability Provider.

Sample #2

With .NET Generator, the name of the span is the fully qualified name of the object (followed by the method).

For Business Components, the name is Sdt<Transaction Name> followed by the operation (insert, update, delete, etc.).

Below is an Azure Monitor screen of the application generated using .NET.


In the image above, the spans are the ones highlighted with a red box.

How to apply changes

To apply the corresponding changes when the property value is configured, execute a Build with this Only of the object.

Last update: November 2023 | © GeneXus. All rights reserved. GeneXus Powered by Globant