Class Ec2Resource


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

      • 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.