Skip to content

Commit 05105d7

Browse files
committed
fix
1 parent c78b7d7 commit 05105d7

File tree

1 file changed

+1
-1
lines changed
  • sdk/monitor/azure-monitor-opentelemetry-autoconfigure/src/main/java/com/azure/monitor/opentelemetry/autoconfigure/implementation

1 file changed

+1
-1
lines changed

sdk/monitor/azure-monitor-opentelemetry-autoconfigure/src/main/java/com/azure/monitor/opentelemetry/autoconfigure/implementation/SpanDataMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ private static String getDependencyName(SpanData span) {
202202
}
203203

204204
String url
205-
= getStableOrOldAttribute(span.getAttributes(), UrlAttributes.URL_FULL, UrlIncubatingAttributes.URL_FULL);
205+
= getStableOrOldAttribute(span.getAttributes(), UrlAttributes.URL_FULL, HttpIncubatingAttributes.HTTP_URL);
206206
if (url == null) {
207207
return name;
208208
}

0 commit comments

Comments
 (0)