public class Ec2Resource
extends io.opentelemetry.sdk.resources.ResourceProvider
ResourceProvider
which provides information about the current EC2 instance if running
on AWS EC2.Constructor and Description |
---|
Ec2Resource()
Returns a
Ec2Resource which attempts to compute information about this instance if
available. |
Modifier and Type | Method and Description |
---|---|
io.opentelemetry.common.Attributes |
getAttributes() |
public Ec2Resource()
Ec2Resource
which attempts to compute information about this instance if
available.