Class GCPPlatformDetector
- java.lang.Object
-
- com.google.cloud.opentelemetry.detection.GCPPlatformDetector
-
public class GCPPlatformDetector extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGCPPlatformDetector.SupportedPlatformSupportedPlatform represents the GCP platforms that can currently be detected by the resource-detector.
-
Field Summary
Fields Modifier and Type Field Description static GCPPlatformDetectorDEFAULT_INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectedPlatformdetectPlatform()Detects the GCP platform on which the application is running.
-
-
-
Field Detail
-
DEFAULT_INSTANCE
public static final GCPPlatformDetector DEFAULT_INSTANCE
-
-
Method Detail
-
detectPlatform
public DetectedPlatform detectPlatform()
Detects the GCP platform on which the application is running.- Returns:
- the specific GCP platform on which the application is running.
-
-