質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Q&A

0回答

982閲覧

Rails New Relicが動作しない

kenny_sayama

総合スコア1036

Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

0グッド

0クリップ

投稿2017/07/24 06:52

###前提・実現したいこと
開発中のアプリケーションで、New Relicを導入したいと考えています。
公式のドキュメンテーションを見てもうまく動作せず、ご教授願いたく思います。

###発生している問題・エラーメッセージ
Gemfileにgem 'newrelic_rpm'を追加し、
ダウンロードしてきたconfig/newrelic.configを配置してwebrickを再起動してもうまく動作しません。

###該当のソースコード

ruby

1 2newrelic.config 3# 4# This file configures the New Relic Agent. New Relic monitors Ruby, Java, 5# .NET, PHP, Python and Node applications with deep visibility and low 6# overhead. For more information, visit www.newrelic.com. 7# 8# Generated July 24, 2017 9# 10# This configuration file is custom generated for welks inc 11# 12# For full documentation of agent configuration options, please refer to 13# https://docs.newrelic.com/docs/agents/ruby-agent/installation-configuration/ruby-agent-configuration 14 15common: &default_settings 16 # Required license key associated with your New Relic account. 17 license_key: ff17bd16f54d968240c1f4ec160d891e00a97083 18 19 # Your application name. Renaming here affects where data displays in New 20 # Relic. For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications 21 app_name: my_app 22 23 # To disable the agent regardless of other settings, uncomment the following: 24 # agent_enabled: false 25 26 # Logging level for log/newrelic_agent.log 27 log_level: info 28 29 30# Environment-specific settings are in this section. 31# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment. 32# If your application has other named environments, configure them here. 33development: 34 <<: *default_settings 35 app_name: my_app (Development) 36 37test: 38 <<: *default_settings 39 # It doesn't make sense to report to New Relic from automated test runs. 40 monitor_mode: false 41 42staging: 43 <<: *default_settings 44 app_name: my_app (Staging) 45 46production: 47 <<: *default_settings 48

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

ykws

2017/07/24 10:29

どううまく動作していないのでしょうか? エラーが発生している場合はその内容を追記してみましょう
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問