question

Simran A. avatar image
Simran A. asked ·

How to deploy one agent SDK for python and java application

Please tell me how to deploy one agent sdk for python and java applications.

Like does it require creating java and python files for deplyment like the way we do in one agent or active gate plugin?

oneagent sdk
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Wolfgang Z. avatar image
Wolfgang Z. answered ·

Hi,

you can add the OneAgnent SDK as dependencies/packages to the applications you want to instrument.

Java (Maven):

https://github.com/Dynatrace/OneAgent-SDK-for-java#dependencies


Python (PyPI):

https://github.com/Dynatrace/OneAgent-SDK-for-python#using-the-oneagent-sdk-for-python-in-your-application

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Thank you so much for your quick response!

0 Likes 0 · ·
Simran A. avatar image
Simran A. answered ·

@Wolfgang Z.

Like if we don't have access to souce code of application ,is it possible that python /java application calls to database would be visible with one agent sdk ?

If yes,please can you tell the steps of doing it?

4 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Using the OneAgent SDK requires access to the application's source code.

0 Likes 0 · ·
Simran A. avatar image Simran A. Wolfgang Z. ·

If it is not possible to access the source code ,would it be possible to use it?

0 Likes 0 · ·

No, using the SDK means changing your application.

0 Likes 0 · ·
Simran A. avatar image Simran A. Wolfgang Z. ·

Okay,thanks

0 Likes 0 · ·