Interface Plugin

All Known Implementing Classes:
EC2Plugin, ECSPlugin, EKSPlugin, ElasticBeanstalkPlugin

public interface Plugin
  • Method Summary

    Modifier and Type Method Description
    default java.util.Set<AWSLogReference> getLogReferences()  
    java.lang.String getOrigin()
    Returns the name of the origin associated with this plugin.
    java.util.Map<java.lang.String,​@Nullable java.lang.Object> getRuntimeContext()  
    java.lang.String getServiceName()  
    default boolean isEnabled()  
  • Method Details

    • getOrigin

      java.lang.String getOrigin()
      Returns the name of the origin associated with this plugin. The AWSXRayRecorder contains a prioritized list of origins from least to most specific.
      Returns:
      the name of the origin associated with this plugin.
    • getServiceName

      java.lang.String getServiceName()
    • isEnabled

      default boolean isEnabled()
      Returns:
      true if an environment inspection determines X-Ray is operating in the correct environment for this plugin OR if X-Ray cannot accurately determine if it's in this plugin's environment
    • getRuntimeContext

      java.util.Map<java.lang.String,​@Nullable java.lang.Object> getRuntimeContext()
    • getLogReferences

      default java.util.Set<AWSLogReference> getLogReferences()