@@ -165,19 +165,19 @@ public class ProxyConfig extends Configuration {
165165
166166 // TODO: review export buffer
167167 @ Parameter (
168- names = {"--exportQueuePorts " },
168+ names = {"--exportQueueAtoms " },
169169 description =
170170 "Export queued data in plaintext "
171- + "format for specified ports (comma-delimited list) and exit. Set to 'all' to export "
172- + "everything. Default: none" )
173- String exportQueuePorts = null ;
171+ + "format for specified atoms (comma-delimited list) and exit. Set to 'all' to export "
172+ + "everything. Default: none, valid values: points, deltaCounters, histograms, sourceTags, spans, spanLogs, events, logs " )
173+ String exportQueueAtoms = null ;
174174
175175 @ Parameter (
176- names = {"--exportQueueOutputFile " },
176+ names = {"--exportQueueOutputDir " },
177177 description =
178178 "Export queued data in plaintext "
179179 + "format for specified ports (comma-delimited list) and exit. Default: none" )
180- String exportQueueOutputFile = null ;
180+ String exportQueueOutputDir = null ;
181181
182182 @ Parameter (
183183 names = {"--exportQueueRetainData" },
@@ -1236,12 +1236,12 @@ public String getSqsQueueIdentifier() {
12361236 return sqsQueueIdentifier ;
12371237 }
12381238
1239- public String getExportQueuePorts () {
1240- return exportQueuePorts ;
1239+ public String getExportQueueAtoms () {
1240+ return exportQueueAtoms ;
12411241 }
12421242
1243- public String getExportQueueOutputFile () {
1244- return exportQueueOutputFile ;
1243+ public String getExportQueueOutputDir () {
1244+ return exportQueueOutputDir ;
12451245 }
12461246
12471247 public boolean isExportQueueRetainData () {
@@ -2233,8 +2233,8 @@ public void verifyAndInit() {
22332233 customApplicationTags = config .getString ("customApplicationTags" , customApplicationTags );
22342234 customServiceTags = config .getString ("customServiceTags" , customServiceTags );
22352235
2236- exportQueuePorts = config .getString ("exportQueuePorts " , exportQueuePorts );
2237- exportQueueOutputFile = config .getString ("exportQueueOutputFile " , exportQueueOutputFile );
2236+ exportQueueAtoms = config .getString ("exportQueueAtoms " , exportQueueAtoms );
2237+ exportQueueOutputDir = config .getString ("exportQueueOutputDir " , exportQueueOutputDir );
22382238 exportQueueRetainData = config .getBoolean ("exportQueueRetainData" , exportQueueRetainData );
22392239 flushThreads = config .getInteger ("flushThreads" , flushThreads );
22402240 flushThreadsEvents = config .getInteger ("flushThreadsEvents" , flushThreadsEvents );
0 commit comments