All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opentelemetry.javaagent.instrumentation.gwt.GwtRpcAttributesExtractor Maven / Gradle / Ivy

/*
 * Copyright The OpenTelemetry Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package io.opentelemetry.javaagent.instrumentation.gwt;

import io.opentelemetry.instrumentation.api.instrumenter.rpc.RpcAttributesExtractor;
import java.lang.reflect.Method;

final class GwtRpcAttributesExtractor extends RpcAttributesExtractor {
  @Override
  protected String system(Method method) {
    return "gwt";
  }

  @Override
  protected String service(Method method) {
    return method.getDeclaringClass().getName();
  }

  @Override
  protected String method(Method method) {
    return method.getName();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy