Enabling Application Insights from Mule Application Options.
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- azure, java
- Domain
- cloud, observability
Research direction
Start with the linked Application Insights Java 3.x release information and the MuleSoft article, then verify the documented restrictions on -javaagent for CloudHub and Runtime Fabric. Done would be a confirmed supported configuration for starting the agent without JVM arguments, or clear documentation that this deployment model is unsupported.
Written by the indexing model from the issue text.
Description
Hi, Good evening, I am trying to enable AppInsights into a Mulesoft API to do POC. I came across the following article on implementing the AppInsights using log4j appender.
The above article works and it is sending log data to App Insight workspace but it is not send dependencies and other information to the workspace to create Application MAP etc. Also the above article says "This document applies to Application Insights Java 2.x which is no longer recommended (although not excluded from use) by Microsoft. Documentation for the latest version can be found at Application Insights Java 3.x, however, this new version requires the addition of a jar file that can be called using -javaagent. We don't support the use of -javaagent on Cloudhub or Runtime Fabric at this time."
Based on the Microsoft website (https://github.com/microsoft/ApplicationInsights-Java/releases/tag/3.4.0) there is no need of Log4j2 as it automatically captured if we use agent. How can we invoke/start the agent within API using configuration ( like spring bean and DI) not using java argument to pass the JAR file. Is this feature is available with current version or can we use applicationinsights-runtime-attach or any other wrapper to invoke it. Can anyone provide some guidance so that we can implement AppInsights in Mulesoft API application.
Thank you for your help.
Thanks
Ram
- Dominant language
- Java
- Stars
- 327
- Forks
- 222
- Avg merge
- 22h 34m
- Merged PRs (30d)
- 14
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/ApplicationInsights-Java
-
microsoft/ApplicationInsights-Java#4851 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/ApplicationInsights-Java#4817 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
microsoft/ApplicationInsights-Java#4770 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
microsoft/ApplicationInsights-Java#4769 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/ApplicationInsights-Java#4729 · 121 comments ·
All issues in microsoft/ApplicationInsights-Java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
elastic/gradle-plugins#157 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cryptomator/hub#497 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
johanhaleby/occurrent#1120 ·