explaingit

conung-vic/oneagent-sdk-delphi

Analysis updated 2026-05-18

15PascalAudience · developerComplexity · 2/5Setup · easy

TLDR

An unofficial Delphi wrapper for the Dynatrace OneAgent C SDK, letting Delphi Windows apps add distributed tracing and observability to services monitored by Dynatrace.

Mindmap

mindmap
  root((OneAgent SDK Delphi))
    What it does
      Distributed tracing
      Service spans
      Log enrichment
    Tracer types
      Custom service
      Remote calls
      Database requests
      HTTP requests
    Setup
      Delphi 10.2 plus
      onesdk_shared.dll
      Windows only
    Audience
      Delphi developers
      Dynatrace users
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add Dynatrace distributed tracing to a Delphi Windows application without writing C interop manually

USE CASE 2

Trace outgoing SQL queries and remote calls from a Delphi service so they appear in the Dynatrace UI

USE CASE 3

Enrich Delphi log messages with W3C trace and span IDs for correlation with other monitored services

What is it built with?

PascalDelphiC/C++Windows

How does it compare?

conung-vic/oneagent-sdk-delphiregyssilveira/radia-plugincoldzer0/luadecompiler
Stars151312
LanguagePascalPascalPascal
Setup difficultyeasymoderatehard
Complexity2/53/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Requires a Dynatrace OneAgent installed on the host to capture data, the SDK is a safe no-op if no agent is present.

In plain English

OneAgent SDK for Delphi is an unofficial, community-built library that lets Delphi applications participate in Dynatrace distributed tracing. Dynatrace is a monitoring platform that tracks how software systems perform across multiple connected services. Its OneAgent monitoring software can automatically capture a lot of information, but it cannot infer where custom business operations begin and end, or how calls travel between services that it did not instrument. This library fills that gap for Delphi code. The library wraps the official Dynatrace OneAgent SDK for C/C++, which is released by Dynatrace under an open-source license. The Delphi wrapper exposes this through a small interface-based API that fits naturally with Delphi's style. You can use the SDK to mark the start and end of custom service operations, trace calls going out to remote services and link them with calls arriving at other services, capture SQL database requests with the query text and row count, trace outgoing HTTP requests, and attach the current trace ID and span ID to log messages for correlation. If no Dynatrace OneAgent is installed on the host machine, the SDK returns no-op objects that silently do nothing. This means you can add tracing to your code without conditional compilation for environments where Dynatrace is not running. Installation involves adding the src directory to your Delphi project's search path and copying the prebuilt onesdk_shared.dll next to your executable. Two DLL versions are included: one for 64-bit Windows and one for 32-bit Windows. The library targets Delphi 10.2 Tokyo or later and is tested on Windows. This is aimed at Delphi developers working in organizations that use Dynatrace for monitoring and want to instrument their Delphi services alongside other monitored services.

Copy-paste prompts

Prompt 1
How do I add OneAgent-SDK-Delphi to my Delphi project, including search path and the correct onesdk_shared.dll?
Prompt 2
Show me Delphi code that traces a custom business operation using the OneAgent SDK from start to finish.
Prompt 3
How do I trace an outgoing remote call in Delphi and propagate the Dynatrace tag to the receiving service?
Prompt 4
What happens when I call CreateOneAgentSDK on a machine that does not have Dynatrace OneAgent installed?

Frequently asked questions

What is oneagent-sdk-delphi?

An unofficial Delphi wrapper for the Dynatrace OneAgent C SDK, letting Delphi Windows apps add distributed tracing and observability to services monitored by Dynatrace.

What language is oneagent-sdk-delphi written in?

Mainly Pascal. The stack also includes Pascal, Delphi, C/C++.

How hard is oneagent-sdk-delphi to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is oneagent-sdk-delphi for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub conung-vic on gitmyhub

Verify against the repo before relying on details.