question

Alexander R. avatar image
Alexander R. asked ·

Ruby & ROR & sdk instrumentation

Hello community.

May be anybody have experience with RoR & Ruby monitoring.

in blog https://www.dynatrace.com/news/blog/dynatrace-onea... described about C SDK and language bindings ruby to C.

I wrote simple script (simple webrequest to web server), initialized OneAgent SDK. (it was simple)

But i have no idea how to initialize & instrumenting outgoing web requests.

Because, FFI (lib to convert Ruby -> to -> C) rises errors with "onesdk_outgoingwebrequesttracer_create".

Other language bindings don't approach.

May be someone can share example, how integrate OneAgent SDK for C and Ruby on Rails App.

In some case, i can imagine that it is not possible at all for RoR.

There are many projects where Ruby is used, why there are no roadmap & futures & plans for development of SDK for Ruby and other native?

Regards,

Alexander

Dynatrace Managedoneagentdynatrace saasoneagent sdk
ruby.jpg (35.7 KiB)
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.

Sonja C. avatar image
Sonja C. answered ·

Maybe a bit late to the conversation, but I wanted to mention it for future reference. Our engineers have produced a very basic, not complete and not supported sample of a Ruby binding: https://github.com/Dynatrace/OneAgent-SDK-Ruby-Sam...

This is only intended as a starting point for those wanting to integrate the OneAgent SDK for C/C++ with Ruby, there's definitively more work involved to fully integrate with a Ruby application.

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.

Sonja C. avatar image
Sonja C. answered ·

Hi Alexander,

we see now and then some requests for Ruby full blown support but not enough yet to build a solid business case for official support. Supporting a new language is not “just” about developing a new agent, but also having all the resources to test it, maintain it and support it in the long time. As there's a lot of things we want to work on, we need to be careful with our resources.

That's why we think the OneAgent SDK is a good compromise to enable our users to support additional frameworks and technologies.

Back to your problem: feel free to send me your sample project per mail (sonja.chevre@dynatrace.com) and we will take a look.

Sonja

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.

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions diagnostic tools session replay permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android