ApplicationInsights-Java
ApplicationInsights-Java copied to clipboard
Should there be constructor with URL argument too?
I am trying to use TelemetryClient to track a request and found that I can add a URL only via a setter method. I think there should also be a method with URL like:
public RequestTelemetry( String name, URL url, Date timestamp, long duration, String responseCode, boolean success)
https://github.com/microsoft/ApplicationInsights-Java/blob/f0a41702ac7cdb49f8efbc452b7951303b82bd86/classic-sdk/core/src/main/java/com/microsoft/applicationinsights/telemetry/RequestTelemetry.java#L36