Following this guide I tried to setup monitoring of Jira in Instana but no data are received:
https://www.instana.com/docs/website_monitoring/#installation
I have troubles to upload below script to Jira HTML code as Instana requires:
<script>
(function(s,t,a,n){s[t]||(s[t]=a,n=s[a]=function(){n.q.push(arguments)},
n.q=[],n.v=2,n.l=1*new Date)})(window,"InstanaEumObject","ineum");
ineum('reportingUrl', 'https://eum-blue-saas.instana.io');
ineum('key', 'XXXXXXXXXXXXXX');
ineum('trackSessions');
</script>
<script defer crossorigin="anonymous" src="https://eum.instana.io/eum.min.js"></script>
Can anybody advice how I can update e.g. Jira login page to have that code in it?
Thanks in advance
What are you trying with your "upload"?
This is the guide directly from Instana:I Tried to update login.jsp with above script but so success. Nothing is visible in Instana. Even when I try to see source code in browser I can't see my updates there.
Elsewhere I found that not reflected changes might be cause by caching and there was recommended to comment out below login.jsp lines in web.xml to make changes visible. I restarted Jira few times but still no success.
Note: There is one more file called login.jsp in folder decorators and I didn't touch that one so far.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jamming javascript chunks into jsp pages generally does not work, you will need to look at all the code in Jira that generates the pages and work out where to inject the code at a higher level than individual pages, as it needs to be run as part of the whole, not a subset page.
I'm not sure where Jira gets all of its javascript from, when it serves the main page up. I've never looked beyond finding the odd error that's usually been on a jsp or a velocity template. Some of it might be being generated by the java (although I doubt it, it is a possibility)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.