public class ECSEnvironment extends AgentBasedEnvironment
| Constructor and Description |
|---|
ECSEnvironment(Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureContext(MetricsContext context) |
java.lang.String |
getLogGroupName()
Get log group name.
|
java.lang.String |
getName()
Get the environment name.
|
java.lang.String |
getType()
Get the environment type.
|
boolean |
probe()
Determines whether or not we are executing in this environment.
|
getLogStreamName, getSinkpublic ECSEnvironment(Configuration config)
public boolean probe()
Environmentpublic java.lang.String getName()
EnvironmentgetName in interface EnvironmentgetName in class AgentBasedEnvironmentpublic java.lang.String getType()
Environmentpublic java.lang.String getLogGroupName()
EnvironmentgetLogGroupName in interface EnvironmentgetLogGroupName in class AgentBasedEnvironmentpublic void configureContext(MetricsContext context)
context - the context to configure with environment properties