Comments (5)
SFTP calls are not instrumented by the Java agent: https://learn.microsoft.com/azure/azure-monitor/app/opentelemetry-add-modify?tabs=java
You could use the Java agent and create spans for each SFTP call from your application code: https://opentelemetry.io/docs/languages/java/instrumentation/#create-spans
The tracer can be retrieved from GlobalOpenTelemetry
:
import io.opentelemetry.api.GlobalOpenTelemetry;
Tracer tracer = GlobalOpenTelemetry.getTracer("instrumentation-scope-name", "instrumentation-scope-version");
https://central.sonatype.com/artifact/io.opentelemetry/opentelemetry-api
from applicationinsights-java.
SFTP dependencies are not automatically collected : https://learn.microsoft.com/azure/azure-monitor/app/opentelemetry-add-modify?tabs=java
See https://opentelemetry.io/docs/languages/java/instrumentation/ for manual instrumentation
from applicationinsights-java.
@jeanbisutti, thank you for the details. We are using the MuleSoft library to connect to SFTP servers, and we are unable to modify its codebase.
It seems that manual instrumentation is only possible if the library code can be modified, allowing us to initialize OpenTelemetry settings to enable SFTP logging.
Is this correct? Or do we have any other options to initialize OpenTelemetry outside of the SFTP connector library?
from applicationinsights-java.
@jeanbisutti One more point to add in above question,
- As We are using codeless agent, Can we use this manual setup in conjunction with codeless agent ?
- Is it correct that manual instrumentation is only possible if the library code can be modified, allowing us to initialize OpenTelemetry settings to enable SFTP logging?
from applicationinsights-java.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.
from applicationinsights-java.
Related Issues (20)
- Support for OTEL Synchronous Gauge HOT 3
- ignore InProc sampling dependencies
- Sampling override with http.response.status_code doesn't work HOT 6
- MySql dependency tree not available with applicationinsights-agent-3.5.1 HOT 5
- Question: How to turn off instrumentation of just Azure Service Bus
- Workflow failed: OWASP dependency check (daily) (#585)
- Custom Availability telemetry not working HOT 2
- Azure ServiceBus dependency tree not available with applicationinsights-agent-3.5.2 HOT 2
- Can't load log handler "com.microsoft.applicationinsights.TelemetryClient" - AI 3.5.2 in Java HOT 2
- APPLICATIONINSIGHTS_CONNECTION_STRING does not work in 3.5.x, works in 3.4.x HOT 14
- Connection String with `ApplicationId` crashes SDK 3.4.19 HOT 1
- MySql dependency tree not available with applicationinsights-agent-3.5.2 HOT 3
- Not all exceptions are populated with exception type and message HOT 4
- Workflow failed: OWASP dependency check (daily) (#650) HOT 32
- Current version 3.5.3 has 1 CVE: CVE-2024-35255
- Connection refused: eastasia-0.in.applicationinsights.azure.com/[0:0:0:0:0:0:0:0]:443 HOT 1
- APPLICATIONINSIGHTS_CONFIGURATION_CONTENT will not be considered in Azure Functions HOT 7
- Should there be constructor with URL argument too? HOT 2
- Sampling overrides with multiple telemetry types, with different default sampling rates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applicationinsights-java.