Hi all,
I need to some python code.
have I any possibilities with ADK?
Thanks
Antonio
Answer by NessPro S. ·
Hi Roman,
my source file is written in Python, is it the same? The only worry is how to call a C/C++ library (dtagent.dll for Windows), right?
many thanks and regards
Antonio
Answer by NessPro S. ·
Roman,
the reasons fo the question is becuase I see in the examples the include of #include <dynatrace_adk.h>
and I suppose must be compiled.
Many thanks again
Antonio
Answer by NessPro S. ·
Hi Roman,
yes we are using Windows systems for Python applications. But what I don't understood well is regarding the ADK functions.
For example: I insert "DYNATRACE START_PUREPATH" function in my Python source, this function does is found in DTAGENT.DLL and it's enought to call the dtagent.dll or do I need to compile the ADK functions?
Many thanks for your help.
regards
Antonio
Answer by NessPro S. ·
Hi Christian,
to use C/C++ library functions of ADK in my Python code do I need to load DTAGENT.DLL?
Many thanks for the replay.
Antonio
Hi Antonio,
That depends on what platform you want to use the ADK. The DLL would be for Windows systems. Check out https://apmcommunity.compuware.com/community/display/DOCDT41/Agent+Development+Kit#AgentDevelopmentKit-NativeADK for examples of how to use the ADK in C/C++ apps.
Please note that you will require native agent licenses on the dynaTrace server.
Best, Roman
Answer by Christian S. ·
hi Antonio,
as long as you are able to call functions in a native library (e.g. like in here: http://docs.python.org/library/ctypes.html), you should be able to use the ADK pretty well.
best,
Christian
JANUARY 15, 3:00 PM GMT / 10:00 AM ET