fixed docs (#3028)
This commit is contained in:
parent
f3089acbed
commit
5f32df7b9b
|
|
@ -18,7 +18,7 @@ import java.util.logging.Level;
|
|||
import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* A factory of a {@link Resource} which provides information about the current EC2 instance if
|
||||
* A factory for a {@link Resource} which provides information about the current EC2 instance if
|
||||
* running on AWS Elastic Beanstalk.
|
||||
*/
|
||||
public final class BeanstalkResource {
|
||||
|
|
@ -34,7 +34,7 @@ public final class BeanstalkResource {
|
|||
private static final Resource INSTANCE = buildResource();
|
||||
|
||||
/**
|
||||
* Returns a factory of a {@link Resource} which provides information about the current EC2
|
||||
* Returns a factory for a {@link Resource} which provides information about the current EC2
|
||||
* instance if running on AWS Elastic Beanstalk.
|
||||
*/
|
||||
public static Resource get() {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import java.util.logging.Level;
|
|||
import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* A factory of a {@link Resource} which provides information about the current EC2 instance if
|
||||
* A factory for a {@link Resource} which provides information about the current EC2 instance if
|
||||
* running on AWS EC2.
|
||||
*/
|
||||
public final class Ec2Resource {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import java.util.logging.Level;
|
|||
import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* A factory of a {@link Resource} which provides information about the current ECS container if
|
||||
* A factory for a {@link Resource} which provides information about the current ECS container if
|
||||
* running on AWS ECS.
|
||||
*/
|
||||
public final class EcsResource {
|
||||
|
|
@ -28,7 +28,7 @@ public final class EcsResource {
|
|||
private static final Resource INSTANCE = buildResource();
|
||||
|
||||
/**
|
||||
* Returns a factory of a {@link Resource} which provides information about the current ECS
|
||||
* Returns a factory for a {@link Resource} which provides information about the current ECS
|
||||
* container if running on AWS ECS.
|
||||
*/
|
||||
public static Resource get() {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import java.util.logging.Level;
|
|||
import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* A factory of a {@link Resource} which provides information about the current ECS container if
|
||||
* A factory for a {@link Resource} which provides information about the current ECS container if
|
||||
* running on AWS EKS.
|
||||
*/
|
||||
public final class EksResource {
|
||||
|
|
@ -40,7 +40,7 @@ public final class EksResource {
|
|||
private static final Resource INSTANCE = buildResource();
|
||||
|
||||
/**
|
||||
* Returns a factory of a {@link Resource} which provides information about the current ECS
|
||||
* Returns a factory for a {@link Resource} which provides information about the current ECS
|
||||
* container if running on AWS EKS.
|
||||
*/
|
||||
public static Resource get() {
|
||||
|
|
|
|||
|
|
@ -12,13 +12,13 @@ import io.opentelemetry.semconv.resource.attributes.ResourceAttributes;
|
|||
import java.util.Map;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
/** A factory of a {@link Resource} which provides information about the AWS Lambda function. */
|
||||
/** A factory for a {@link Resource} which provides information about the AWS Lambda function. */
|
||||
public final class LambdaResource {
|
||||
|
||||
private static final Resource INSTANCE = buildResource();
|
||||
|
||||
/**
|
||||
* Returns a factory of a {@link Resource} which provides information about the AWS Lambda
|
||||
* Returns a factory for a {@link Resource} which provides information about the AWS Lambda
|
||||
* function.
|
||||
*/
|
||||
public static Resource get() {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public final class OsResource {
|
|||
private static final Resource INSTANCE = buildResource();
|
||||
|
||||
/**
|
||||
* Returns a factory of a {@link Resource} which provides information about the current operating
|
||||
* Returns a factory for a {@link Resource} which provides information about the current operating
|
||||
* system.
|
||||
*/
|
||||
public static Resource get() {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ public final class ProcessResource {
|
|||
private static final Resource INSTANCE = buildResource();
|
||||
|
||||
/**
|
||||
* Returns a factory of a {@link Resource} which provides information about the current running
|
||||
* Returns a factory for a {@link Resource} which provides information about the current running
|
||||
* process.
|
||||
*/
|
||||
public static Resource get() {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public final class ProcessRuntimeResource {
|
|||
|
||||
private static final Resource INSTANCE = buildResource();
|
||||
|
||||
/** Returns a factory of a {@link Resource} which provides information about the Java runtime. */
|
||||
/** Returns a factory for a {@link Resource} which provides information about the Java runtime. */
|
||||
public static Resource get() {
|
||||
return INSTANCE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue