Monitor JDBC calls ApplicationInsights Java Application - azure-application-insights

I try to monitor my jdbc requests with ApplicationInsights, already added the SDK to my Java app, works fine with request monitoring.
All I found was to "Install the Application Insights agent for Java" but how should I do this on App Services-Resource? I think I cannot change the startup script.
Regards

In an Azure Web App environment, where you don't have the ability to modify the application server's startup script, installing the Java agent isn't possible and therefore this scenario isn't supported.
There is currently no workaround for this unfortunately.
Thanks,
Harel

Related

Trigger a Donet console application from outside the container

We have a requirement to trigger(using a JCL command) a Dotnet Core Console application (hosted on a PCF container) from outside the container. What would be a good solution approach in this context.
One option we have is to convert the console app into a web api and host an API endpoint which can be called from external sources. Web api can then trigger a long running task (may be use something like Hangfire to handle the execution). Would like to hear if there are better approaches that can be used here. Thanks in advance.
Cloud Foundry includes support for running tasks which might be all you need. Additionally, Steeltoe includes some functionality for building tasks into your application. There is a Steeltoe Sample that can run EntityFramework migrations via cf runtask

iFrame related tests failing on azure devops

I'm running Selenium UI Tests on azure devops build pipeline. the tests have iFrame invocation. They pass locally when running on visual studio but when running in the pipeline, the iframe is not being detected. iFrame not detected and they are failing. can someone please help me?
iFrame related tests failing on azure devops
If you are using hosted agent, there will be many factors that cause this problem, such as network speed, browser version, Selenium Web Drivers version, and some other browser settings, etc.
You could check this agent info from the Microsoft-hosted agents.
To resolve this issue, we need create a self-hosted agent. You could check this document to create your private agent so that you have an agent closer to your local environment:
How to Set Up a Private Agent in Visual Studio Team Services
Hope this helps.

Application Insights picks up SQL telemetry locally but not in a real environment

Generally I've had pretty good luck with Application Insights' auto-detection of a SQL dependency. However, in a recent case where we added Application Insights to a Web API project, we are not seeing dependency tracking for SQL Server in the portal. Version info:
Application Insights 2.5.0
Entity Framework 6.x
.NET 4.5.2
The funny thing is that Azure will automatically pick up SQL calls when developers are using the debugger from Visual Studio. What do we need to do to capture timings for SQL calls on a real environment?
Thanks,
BGU
The solution was to upgrade the Web API project to a more recent version of .NET (4.6 or higher). Good luck out there.
https://learn.microsoft.com/en-us/azure/application-insights/app-insights-monitor-performance-live-website-now
Dependency diagnostics like full sql command text will be available in Application insights only at runtime. If web api project is hosted on IIS server, then try integrating your web application virtual directory to app insights resource using status monitor. Once you do that, it will push full sql command text to d app insights portal.Comparison Build time and run time integration

About Apache Ignite Monitoring

I Have Build and Deploy Ignite Web Console Locally.And Start Manager Console on http://localhost:9000/ But problem is there no Monitoring Option Available.Can Anybody Explain How To Monitor Apache Ignite Locally via Web Console
This is catch monitoring tab is only available in grid gain hosted ingite web console.
so frustrating but I also got same issue.
http://apache-ignite-users.70518.x6.nabble.com/Setup-Web-agent-and-Web-console-on-locally-td8341.html
According to documentation, this is an enterprise feature and not available in the open-source version.
https://apacheignite-tools.readme.io/docs/ignite-web-console
The web console also features cluster monitoring functionality (available separately as GridGain plugin) that shows various cache and node metrics as well as CPU and heap usage.
If you have the enterprise edition, it should be possible to deploy your own instance for monitoring. The following documentation contains more details.
http://docs.gridgain.com/docs/deploy-web-console-from-docker-image

Stop application if db version is wrong

I have an web application that runs in JBoss and i use FlyWay in command line mode to migrate between database versions.
I want integrate Flyway in to my application using Spring Framework and only stop the deployment in to the web server if the db version is wrong. Is this possible?
First of all, I strongly recommend migrating the database on application startup so a mismatch can never occur.
If this is not an option, you can implement custom logic to check the results of Flyway.info() against the desired version.

Resources