mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 07:04:47 +02:00
added newrelic conf
This commit is contained in:
parent
16f7fa7c4e
commit
732120d7d2
3 changed files with 55 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,7 +9,6 @@
|
||||||
/config/application.yml
|
/config/application.yml
|
||||||
/config/environments/development.rb
|
/config/environments/development.rb
|
||||||
/config/deploy.rb
|
/config/deploy.rb
|
||||||
/config/newrelic.yml
|
|
||||||
/.idea
|
/.idea
|
||||||
|
|
||||||
# Do not commit one. Instead, download the latest from https://github.com/internetee/style-guide.
|
# Do not commit one. Instead, download the latest from https://github.com/internetee/style-guide.
|
||||||
|
|
|
@ -42,6 +42,8 @@ directo_invoice_url: 'https://domain/ddddd.asp'
|
||||||
cdns_scanner_input_file: '/opt/cdns/input.txt'
|
cdns_scanner_input_file: '/opt/cdns/input.txt'
|
||||||
cdns_scanner_output_file: '/opt/cdns/output.txt'
|
cdns_scanner_output_file: '/opt/cdns/output.txt'
|
||||||
dnssec_resolver_ips: 8.8.8.8, 8.8.4.4
|
dnssec_resolver_ips: 8.8.8.8, 8.8.4.4
|
||||||
|
|
||||||
|
newrelic_secret: 'some-secret'
|
||||||
#
|
#
|
||||||
# EPP
|
# EPP
|
||||||
#
|
#
|
||||||
|
@ -203,14 +205,14 @@ test:
|
||||||
cdns_scanner_output_file: 'test/fixtures/files/cdns_output.txt'
|
cdns_scanner_output_file: 'test/fixtures/files/cdns_output.txt'
|
||||||
dnssec_resolver_ips: 8.8.8.8, 8.8.4.4
|
dnssec_resolver_ips: 8.8.8.8, 8.8.4.4
|
||||||
legal_documents_dir: 'test/fixtures/files'
|
legal_documents_dir: 'test/fixtures/files'
|
||||||
|
|
||||||
openssl_config_path: 'test/fixtures/files/test_ca/openssl.cnf'
|
openssl_config_path: 'test/fixtures/files/test_ca/openssl.cnf'
|
||||||
crl_dir: 'test/fixtures/files/test_ca/crl'
|
crl_dir: 'test/fixtures/files/test_ca/crl'
|
||||||
crl_path: 'test/fixtures/files/test_ca/crl/crl.pem'
|
crl_path: 'test/fixtures/files/test_ca/crl/crl.pem'
|
||||||
ca_cert_path: 'test/fixtures/files/test_ca/certs/ca.crt.pem'
|
ca_cert_path: 'test/fixtures/files/test_ca/certs/ca.crt.pem'
|
||||||
ca_key_path: 'test/fixtures/files/test_ca/private/ca.key.pem'
|
ca_key_path: 'test/fixtures/files/test_ca/private/ca.key.pem'
|
||||||
ca_key_password: 'password'
|
ca_key_password: 'password'
|
||||||
|
|
||||||
cert_path: 'test/fixtures/files/webclient/webclient.crt.pem'
|
cert_path: 'test/fixtures/files/webclient/webclient.crt.pem'
|
||||||
key_path: 'test/fixtures/files/webclient/webclient.key.pem'
|
key_path: 'test/fixtures/files/webclient/webclient.key.pem'
|
||||||
epp_hostname: 'epp_proxy'
|
epp_hostname: 'epp_proxy'
|
||||||
|
|
51
config/newrelic.yml
Normal file
51
config/newrelic.yml
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
#
|
||||||
|
# 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 November 24, 2021
|
||||||
|
#
|
||||||
|
# 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: <%= ENV['newrelic_secret'] %>
|
||||||
|
|
||||||
|
# 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: Registry
|
||||||
|
|
||||||
|
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: Registry (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: Registry (Staging)
|
||||||
|
monitor_mode: false
|
||||||
|
|
||||||
|
|
||||||
|
production:
|
||||||
|
<<: *default_settings
|
||||||
|
monitor_mode: false
|
Loading…
Add table
Add a link
Reference in a new issue