soudai / isucon10-qualify

今年こそちゃんと予選突破するんじゃ!!!!!
3 stars 0 forks source link

NewRericを試す #5

Closed soudai closed 4 years ago

soudai commented 4 years ago

当日は特別ライセンスが配布される。

https://blog.newrelic.co.jp/developers/how-to-utilize-isucon-special-license/

事前に導入、確認、外し方 を確認すること

soudai commented 4 years ago

確認した。 当日は @kamipo に任せる。

soudai commented 4 years ago
#
# This file configures the New Relic Agent.  New Relic monitors Ruby, Java,
# .NET, PHP, Python, Node, and Go applications with deep visibility and low
# overhead.  For more information, visit www.newrelic.com.
#
# Generated September 11, 2020
#
# This configuration file is custom generated for NewRelic Administration
#
# For full documentation of agent configuration options, please refer to
# https://docs.newrelic.com/docs/agents/ruby-agent/installation-configuration/ruby-agent-configuration

common: &default_settings
  # Required license key associated with your New Relic account.
  license_key: 56e464509fd0673b711b005c37093638d2ffNRAL

  # Your application name. Renaming here affects where data displays in New
  # Relic.  For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications
  app_name: isucon10q

  distributed_tracing:
    enabled: true

  # To disable the agent regardless of other settings, uncomment the following:
  # agent_enabled: false

  # Logging level for log/newrelic_agent.log
  log_level: info

# Environment-specific settings are in this section.
# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.
# If your application has other named environments, configure them here.
development:
  <<: *default_settings
  app_name: isucon10q (Development)

test:
  <<: *default_settings
  # It doesn't make sense to report to New Relic from automated test runs.
  monitor_mode: false

staging:
  <<: *default_settings
  app_name: isucon10q (Staging)

production:
  <<: *default_settings

当日用

soudai commented 4 years ago
gem 'newrelic_rpm', '6.11.0.365'

bundle install
soudai commented 4 years ago

設定した