Class Ec2Resource

java.lang.Object
io.opentelemetry.sdk.extension.aws.resource.Ec2Resource

public final class Ec2Resource extends Object
A factory for a Resource which provides information about the current EC2 instance if running on AWS EC2.
  • Method Details

    • get

      public static io.opentelemetry.sdk.resources.Resource get()
      Returns a @link Resource} which provides information about the current EC2 instance if running on AWS EC2.