Class DatadogCommand
- java.lang.Object
-
- org.nuxeo.lib.stream.tools.command.Command
-
- org.nuxeo.lib.stream.tools.command.MonitorCommand
-
- org.nuxeo.lib.stream.tools.command.DatadogCommand
-
public class DatadogCommand extends MonitorCommand
Monitors consumer latencies to Datadog.- Since:
- 11.1
-
-
Field Summary
Fields Modifier and Type Field Description protected String
apiKey
static String
COMPUTATION_NAME
protected static String
NAME
protected List<String>
tags
-
Fields inherited from class org.nuxeo.lib.stream.tools.command.MonitorCommand
ALL_LOGS, codec, count, DEFAULT_COUNT, DEFAULT_INTERVAL, DEFAULT_PORT, host, INPUT_STREAM, INTERNAL_LOG_PREFIX, interval, logNames, partition, port, prefix, processor, topology, udp, verbose
-
-
Constructor Summary
Constructors Constructor Description DatadogCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultPrefix()
protected List<String>
getTags(String tags)
protected void
initTopology(LogManager manager)
String
name()
boolean
run(LogManager manager, org.apache.commons.cli.CommandLine cmd)
void
updateOptions(org.apache.commons.cli.Options options)
-
Methods inherited from class org.nuxeo.lib.stream.tools.command.MonitorCommand
getLogNames, runProcessor
-
Methods inherited from class org.nuxeo.lib.stream.tools.command.Command
getRecordCodec, getRecordRenderer
-
-
-
-
Field Detail
-
COMPUTATION_NAME
public static final String COMPUTATION_NAME
- See Also:
- Constant Field Values
-
NAME
protected static final String NAME
- See Also:
- Constant Field Values
-
apiKey
protected String apiKey
-
-
Method Detail
-
name
public String name()
- Overrides:
name
in classMonitorCommand
-
updateOptions
public void updateOptions(org.apache.commons.cli.Options options)
- Overrides:
updateOptions
in classMonitorCommand
-
run
public boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd)
- Overrides:
run
in classMonitorCommand
-
initTopology
protected void initTopology(LogManager manager)
- Overrides:
initTopology
in classMonitorCommand
-
getDefaultPrefix
public String getDefaultPrefix()
- Overrides:
getDefaultPrefix
in classMonitorCommand
-
-