Official Content

GeneXus enables that the telemetry data (traces, logs and metrics) of applications be sent to Lightstep Observability

The steps you must follow are:

  1. Accessing Lightstep.
  2. Set the Observability Provider property.
  3. Deploy your application.
  4. Configure the Environment Variables. 
  5. Executing the application’s Docker image. 

Access Lightstep

To start using this platform, the first thing you must do is create an account.

Then you must create a Lightstep access token. Make sure that you save the token generated. 

Set the Observability Provider property

Go to GeneXus and set the Observability Provider property to "OpenTelemetry" value. 

Deploy your application

Use the deployment engine tool to deploy your app to Docker (builds a Docker image).

Configure Environment Variables

Configure the following environment variables in the application’s Docker Image:

OTEL_EXPORTER_OTLP_TRACES_HEADERS: "lightstep-access-token=<YOUR_ACCESS_TOKEN>"
OTEL_SERVICE_NAME: "<service_name>"
OTEL_EXPORTER_OTLP_PROTOCOL: grpc
OTEL_EXPORTER_OTLP_ENDPOINT: "https://ingest.lightstep.com:443"
OTEL_TRACES_EXPORTER: logging,otlp
OTEL_METRICS_EXPORTER: logging,otlp

Where YOUR_ACCESS_TOKEN corresponds to the Lightstep access token obtained before.

Execute Docker image

And to end, execute the application’s Docker image. 

When you execute the app and make changes to it, you will be able to, for example, view the traces

Scope

Generator: Java

Availability

This functionality is available since GeneXus 18 Upgrade 4.

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant