8

私は「newrelic_rpm gem」を使用しています。sqllite (つまり、レールに埋め込まれたデータベース) で正常に動作します。mongoid.yml を使用すると、mongoid の sql[0] が表示されます。また、 http: //localhost.com:3000/newrelic/show_sample_sql?id=91570930 に mongoid クエリをリストすることもできません。

new-relic はモンゴイドをサポートしていますか? new-relic アプリケーションに mongoid を含めるための手順を教えてください..、よろしくお願いします

4

2 に答える 2

15

Moped / Mongoid3のインストルメンテーションを追加するgemをリリースしました:https ://github.com/stevebartholomew/newrelic_moped

文字通り上がったばかりなので、今後数日間でプロジェクトを整理しますが、SQLタブで行ったすべてのクエリをログに記録して、完全に使用できます。

于 2012-06-22T13:48:59.880 に答える
6

Preface: I work for New Relic =)

New Relic unfortunately doesn't officially support MongoDB... I was wondering if have you tried using 'rpm_contrib'?

'rpm_contrib' is community sourced instrumentation that is only authored by New Relic, but does contain instrumentation for MongoDB. It doesn't add quite the same level of depth as our official instrumentation, but often times gets the job done. It may be have you're looking for, as far as mongoid support.

https://github.com/newrelic/rpm_contrib

Please feel free to open up a ticket on our support site:

https://support.newrelic.com/

If you have any questions in the future! We're always happy to help.

Best, Seve

于 2012-02-08T18:01:06.660 に答える