Class AgentBasedEnvironment

    • Constructor Detail

      • AgentBasedEnvironment

        protected AgentBasedEnvironment​(Configuration config)
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Environment
        Get the environment name. This will be used to set the ServiceName dimension.
        Specified by:
        getName in interface Environment
        Returns:
        the name of the environment
      • getLogGroupName

        public java.lang.String getLogGroupName()
        Description copied from interface: Environment
        Get log group name. This will be used to set the LogGroup dimension.
        Specified by:
        getLogGroupName in interface Environment
        Returns:
        the log group name
      • getLogStreamName

        public java.lang.String getLogStreamName()
      • getSink

        public ISink getSink()
        Specified by:
        getSink in interface Environment
        Returns:
        an appropriate sink for this environment