Class SystemInfo


  • public class SystemInfo
    extends java.lang.Object
    Information about the system the agent is running on.
    • Constructor Detail

      • SystemInfo

        public SystemInfo​(java.lang.String architecture,
                          java.lang.String hostname,
                          java.lang.String platform)
    • Method Detail

      • create

        public static SystemInfo create​(@Nullable
                                        java.lang.String hostname)
      • getNameOfLocalHost

        public static java.lang.String getNameOfLocalHost()
      • getArchitecture

        public java.lang.String getArchitecture()
        Architecture of the system the agent is running on.
      • getHostname

        public java.lang.String getHostname()
        Hostname of the system the agent is running on.
      • getPlatform

        public java.lang.String getPlatform()
        Name of the system platform the agent is running on.
      • getContainerInfo

        @Nullable
        public SystemInfo.Container getContainerInfo()
        Info about the container this agent is running on, where applies
        Returns:
        container info
      • getKubernetesInfo

        @Nullable
        public SystemInfo.Kubernetes getKubernetesInfo()
        Info about the kubernetes Pod and Node this agent is running on, where applies
        Returns:
        container info