Class Ec2Resource
java.lang.Object
io.opentelemetry.contrib.aws.resource.Ec2Resource
A factory for a
Resource which provides information about the current EC2 instance if
running on AWS EC2.-
Method Summary
Modifier and TypeMethodDescriptionstatic io.opentelemetry.sdk.resources.Resourceget()Returns a @link 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.
-