Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions k8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ RUN mkdir -p ${RAILS_ROOT}/keys; chmod -R 0755 ${RAILS_ROOT}/keys; \
mkdir -p ${RAILS_ROOT}/tmp/sockets; chmod -R 0755 ${RAILS_ROOT}/tmp/sockets; \
mkdir -p ${RAILS_ROOT}/config/puma; chmod -R 0755 ${RAILS_ROOT}/config/puma;
COPY --chown=app --chmod=755 ./k8files/application.yml.default.docker ./config/application.yml
COPY --chown=app --chmod=755 ./k8files/newrelic.yml ./config/newrelic.yml
COPY --chown=app --chmod=755 ./k8files/puma_production ./config/puma/production.rb

# Expose port the app runs on
Expand Down
17 changes: 17 additions & 0 deletions k8files/newrelic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
common: &default_settings
code_level_metrics:
enabled: false
# Application log forwarding should always be disabled
application_logging:
forwarding:
enabled: false
production:
<<: *default_settings
agent_enabled: false
audit_log:
enabled: false
browser_monitoring:
auto_instrument: false
log_level: info
monitor_mode: false
log_file_path: 'STDOUT'