73c0e50936
No changes are needed in prod, since the `enabled` setting defaults to "true", and prod obviously isn't setting this ENV.
14 lines
489 B
YAML
14 lines
489 B
YAML
# config/elastic_apm.yml:
|
|
|
|
# Set service name - allowed characters: a-z, A-Z, 0-9, -, _ and space
|
|
# Defaults to the name of your Rails app
|
|
service_name: <%= ENV['ELASTIC_APM_SERVICE_NAME'] || 'gabsocial' %>
|
|
|
|
# Use if APM Server requires a token
|
|
secret_token: <%= ENV['ELASTIC_APM_SECRET_TOKEN'] || '' %>
|
|
|
|
# Set custom APM Server URL (default: http://localhost:8200)
|
|
server_url: <%= ENV['ELASTIC_APM_URL'] || 'http://localhost:8200'%>
|
|
|
|
enabled: <%= ENV['ELASTIC_APM_ENABLED'] || 'true' %>
|