Skip to main content
Skip table of contents

Configuring Dynatrace OpenTelemetry Connection in PowerConnect

Configuring Dynatrace OpenTelemetry Connection in PowerConnect

Category: Information

Priority: Normal

Platform: ABAP

Version: 1 from 01.07.2024

Description

Starting from PowerConnect 8.02, it is possible to send OpenTelemetry traces to Dynatrace. At the moment it requires NW 7.50+ or S/4HANA platforms to collect necessary data.

!It is recommended to send only OpenTelemetry Traces via OpenTelemetry endpoint. Logs and metrics still should be send using regular Dynatrace Log connection. In order to route logs to Log endpoints and Traces to trace endpoints manual filter setup is required.

Please ensure all endpoints have appropriate filters assigned as described below.

Following steps needs to be performed to get it setup:

  1. Upload Dynatrace certificate into STRUST (if not yet done).

  2. Administrator->Connection Setup->Upload Scheme

    image-20240701-081446.png
  3. (SP 8.02 Only) Define Group Def uploading filters to create ZTRACE_ONLY and ZLOGS_ONLY filters

  4. On the right side of the screen press Create OpenTelemetry endpoint

    image-20240701-092438.png

  5. Populate connection details

    image-20240701-092821.png

  6. (SP 8.02 Only) Change the endpoint parameter client.payload.max_event_size to 0

    image-20240704-091429.png
    image-20240704-091631.png

  7. Check the connection

    image-20240701-093036.png


    In case error message is shown, troubleshooting might be required to ensure outbound connectivity is allowed and SSL is setup properly.

  8. Drag and drop the endpoint from the right side of the screen to the Default Scheme node on left side of the screen. Set the Active flag and populate the filter as shown below:

    For PowerConnect SP 8.02: Filter is ZTRACE_ONLY (created on step #3 of this guide)
    For PowerConnect SP 8.03+: Filter is $KIND_TRACE_ONLY

    image-20240702-100009.png

    Filter definition is mandatory for this endpoint!

  9. (SP 8.02 Only) Double-click on all existing Log endpoints and assign the ZLOGS_ONLY filter to filter out trace data

    image-20240702-113839.png

    Filter definition is required for PowerConnect version SP 8.02

  10. Confirm the dialog and Save changes in Upload Scheme screen.

  11. Activate the trace data source extractor in Administrator->Setup Group Def menu option as described here: https://powerconnect.atlassian.net/wiki/x/AYCQuw
    Following trace sources are supported (only one needs to activated):
    - STATS_TRACE extractor (in systems where STATS tcode is available). Recommended SAP_BASIS 7.51+
    image-20240701-084030.png
    - STAD_TRACE extractor (for systems <=7.50)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.