Add Elastic APM integration.

https://www.elastic.co/guide/en/apm/agent/ruby/4.x/introduction.html
This commit is contained in:
evazion
2022-04-11 01:46:08 -05:00
parent 98b313f8de
commit f69847fc59
6 changed files with 37 additions and 9 deletions

View File

@@ -547,6 +547,13 @@ module Danbooru
# "redis://localhost:6379"
end
# Optional. The URL of the Elastic APM server. Used for application performance monitoring.
#
# https://www.elastic.co/observability/application-performance-monitoring
def elastic_apm_server_url
# "http://localhost:8200"
end
# True if the Winter Sale is active.
def is_promotion?
false