# Ruby & ROR & SDK instrumentation

**URL:** <https://community.dynatrace.com/t/ruby-ror-sdk-instrumentation/14054>\
**Category:** Open Q&A\
**Tags:** oneagent-sdk\
**Created:** [July 23, 2018, 8:55am UTC](https://community.dynatrace.com/t/ruby-ror-sdk-instrumentation/14054 "2018-07-23T08:55:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romanenkov\_Alex](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/romanenkov_alex/32/27497_2.png) [@Romanenkov\_Alex](https://community.dynatrace.com/u/Romanenkov_Alex)\
**Post date:** [July 23, 2018, 8:55am UTC](https://community.dynatrace.com/t/ruby-ror-sdk-instrumentation/14054/1 "2018-07-23T08:55:04Z")

</div>

Hello community.

May be anybody have experience with RoR & Ruby monitoring.

in blog [https://www.dynatrace.com/news/blog/dynatrace-onea…](https://www.dynatrace.com/news/blog/dynatrace-oneagent-sdk-c-service-transaction-monitoring-c-native-applications/) 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)

 ![17671-ruby.jpg](https://global.discourse-cdn.com/dynatrace/original/2X/1/14c5b4080d4e097db051e890683a942bb04d851a.jpeg)

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

---

<div class="post-metadata">

**Author:** ![sonja](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sonja/32/10349_2.png) [@sonja](https://community.dynatrace.com/u/sonja)\
**Post date:** [July 24, 2018, 6:36am UTC](https://community.dynatrace.com/t/ruby-ror-sdk-instrumentation/14054/2 "2018-07-24T06:36:51Z")

</div>

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](mailto:sonja.chevre@dynatrace.com)) and we will take a look.

Sonja

---

<div class="post-metadata">

**Author:** ![sonja](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sonja/32/10349_2.png) [@sonja](https://community.dynatrace.com/u/sonja)\
**Post date:** [December 6, 2018, 7:55am UTC](https://community.dynatrace.com/t/ruby-ror-sdk-instrumentation/14054/3 "2018-12-06T07:55:13Z")

</div>

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…](https://github.com/Dynatrace/OneAgent-SDK-Ruby-Sample-Binding)

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.
