List of usage examples for com.amazonaws Request getServiceName
String getServiceName();
From source file:io.opentracing.contrib.aws.SpanDecorator.java
License:Apache License
static void onRequest(Request request, Span span) { Tags.COMPONENT.set(span, COMPONENT_NAME); Tags.HTTP_METHOD.set(span, request.getHttpMethod().name()); Tags.HTTP_URL.set(span, request.getEndpoint().toString()); Tags.PEER_SERVICE.set(span, request.getServiceName()); }