wikijs-fork/server/modules/analytics/elasticapm/code.yml

13 lines
459 B
YAML
Raw Permalink Normal View History

2019-06-24 02:57:04 +00:00
head: |
<!-- Elastic APM RUM -->
<script>
2020-09-06 20:57:45 +00:00
;(function(d, s, c) {
var j = d.createElement(s),
t = d.getElementsByTagName(s)[0]
j.src = 'https://unpkg.com/@elastic/apm-rum/dist/bundles/elastic-apm-rum.umd.min.js'
j.onload = function() {elasticApm.init(c)}
t.parentNode.insertBefore(j, t)
})(document, 'script', {serviceName: '{{serviceName}}', serverUrl: '{{serverUrl}}', environment: '{{environment}}'})
2019-06-24 02:57:04 +00:00
</script>