Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

MYSQL Queries tracking data not showing in Appinsights dashboard #64

Open
rajkumargovindasamy opened this issue Jan 25, 2019 · 0 comments

Comments

@rajkumargovindasamy
Copy link

Hi All,

We have installed Appinsights drupal 7 module with our instrumentation key in module admin level configuration , But our webapp mysql queries data doesn't getting reflected in Appinsights dashboard.

Are we going to sending the mysql query manually for tracking or the tracking will be handled automatically by the help of this module?

We have included Appinsights below javascript code in html.tpl.php front end tracking is working fine by the help of this javascript, my only concern how can we track the backend myqueries data?

"<script type="text/javascript">
var appInsights=window.appInsights||function(config){
function s(config){t[config]=function(){
var i=arguments;t.queue.push(function(){t[config].apply(t,i)})}}
var t={config:config},r=document,f=window,e="script",o=r.createElement(e),i,u;
for(o.src=config.url||"//az416426.vo.msecnd.net/scripts/a/ai.0.js",r.getElementsByTagName(e)[0].parentNode.appendChild(o),t.cookie=r.cookie,t.queue=[],i=["Event","Exception","Metric","PageView","Trace"];
i.length;)s("track"+i.pop());return config.disableExceptionTracking||(i="onerror",s("_"+i),u=f[i],f[i]=function(config,r,f,e,o){var s=u&&u(config,r,f,e,o);return s!==!0&&t"_"+i,s}),t }
({ instrumentationKey:"INSKEY"});
window.appInsights=appInsights; appInsights.trackPageView();
</script>"

Thanks in advance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant