Heroku addon and dashboard customization - heroku

I saw that some Heroku addons are adding information to the Heroku dashboard (e.g. Logging addons show a graphical view of the logs, monitoring addons show nice graphical pie-charts).
Could anyone please point me to some reference, as to how to achieve this with my own Addon which i'm currently writing?
I used the basic tutorial (https://devcenter.heroku.com/articles/building-a-heroku-add-on) but it doesn't mention anything about dashboard interation
thanks

Related

Is it possible to embed pages from Sentry.io to another Website?

Currently, I have a Sentry.io account and push errors to the dashboard interface.
I was wondering if the following is possible:
Take the pages on the existing Sentry.io dashboard
Embed some of the panels and pages in a page on a custom website
Errors and interface would appear the same way on the custom website
Can interact with the interface and errors in the same way in terms of viewing sub-tabs and sub-pages
I'm primarily interested in the:
Projects tab and navigate to subtabs like Project Details and individual errors
Issues tab and the ability to search and view errors
Thank you.
Just came across Sentry a few weeks ago. According to the API documentation, it states the ability to GET, PUT/POST, and DELETE data even from Projects. So I think your API will allow you to push alerts to your site and if the site is interactive, you should be able to make changes( e.g. resolve issues) and it will also reflect on Sentry.
Keep in mind that the data coming from the API is unstructured, you might need to streamline what you want to show on your site depending on how your site is designed.
I am not sure if I am able to help in some way. I am also open to learning if you are able to discover how to do it or if I am wrong.

How can I see backend logs in a published Corvid site

I'm creating a site with Corvid by Wix and I'm having trouble debugging my backend code. I have no problem with using console.log in the front end but I can't see my logs from the backend.
A quick Google search on "wix site monitoring" will answer all your questions related to this.
Also see this: https://support.wix.com/en/article/corvid-about-site-monitoring

AppInsights - Logging the Network tab

I've been asked to get something similar to the waterfall like report that can be found in most browsers network tabs.
We have the End-to-End Transactions report in App Insights, which is close, but for the pageViews section I am only seeing the AJAX dependencies. What about all the other categories like XHR/JS/CSS/Img/Media/Font/Doc/WS/Manifest/Other (As seen in Chrome network tab filters)?
I was looking at this snippet a JS and realized this may be everything in the network tab. window.performance.getEntries()
I'm wondering if its an advisable endeavour to try and log all these other categories as dependencies to App Insights?
Thoughts,
Devin
I'm able to see the css/js in Performance blade, screenshot as below:
Please correct me if I'm misunderstanding.
And you'd better provide your sample code and screenshot about your portal, then I will continue on it.

How to do chrome debugging?

I have developed a website. Some clients are getting the issue on chrome while opening a website. It's working on other search engines like firefox etc. How should I debug it in inspect mode(how to take his/her MOBILE(only) )on support? I know one solution which USB debugging but we can't take clients phone and do debugging. Is there any solution so that we can take his/her phone on inspect mode remotely?
One way that you can try is trying to plug error tracker on your website.
One of them is Sentry https://sentry.io (Its free, but if you want to use it with more volume and features, you have to pay for it.)
The way it works is you put sentry raven.js on your html head block
<script src="https://cdn.ravenjs.com/3.24.2/raven.min.js" crossorigin="anonymous"></script>
and then configure it by attaching the sentry api key (you can look at their documentation as well, they provide you with some code examples https://docs.sentry.io/clients/javascript/).
And after you can ask the client to browse your website using their device. By default sentry will track their session and show it in your sentry dashboard, including all of the javascript error and console output (just like when you do when you open inspect mode in your web browser). so you can try to debug the problem without having to take your client device.

Google in-page analytics doesn't work in my ASP.NET MVC 3 Razor website

We've recently launched a new website http://atlascode.com and since the launch I've been unable to get in-page analytics working on the website. Google also claims that my tracking code is not working but I think this is a misnomer.
Whenever I attempt to load in-page analytics I receive the error:
We've identified problems in your setup. These may cause problems loading In-Page Analytics.
Your site doesn't load ga.js from Google.
If you host the Google tracking code on your own servers, it isn't updated automatically and can miss important changes.
We didn't find a tracking snippet on your site. In-Page Analytics cannot load. Please make sure you have tracking installed correctly. If your snippet is included in a separate JavaScript file, you'll have to manually check it is being loaded correctly.
-ENDS-
I've simply copy and pasted the tracking code on to the website and haven't done anything out of the ordinary. I've also checked to make sure that under Web Property Settings my Web property name and default URL is atlascode.com.
Any ideas you guys have really would be welcomed.
EDIT: Added screenshot of Google Analytics error http://min.us/mdqlrhj
Thanks in advance
Simon
Well there's whole buncha people in the web complaining about the same issue.
I've noticed something funny.
Most of developers love to exclude Analytics tracking code for logged in administrators and trying to check out In-Page Analytics while they're logged in. So there's really no any ga.js.
In my experience, this occurred when I hadn't set my default URL to exactly match the URL set in the profile.
Matt
P.S. Someone beat me to your source!
Got the same problem on Magento Enterprise, but solution was pretty simple: GA code just need to be placed before <head> tags. After this simple fix In-Page tracking works perfectly.
Update
Also, be sure you have no framekiller installed in your site.

Resources