gipeshka opened a new issue #8280: The metrics specification on ingestSegment 
firehose is not clear
URL: https://github.com/apache/incubator-druid/issues/8280
 
 
   ### Affected Version
   
   0.15
   
   ### Description
   
   This issue actually addresses closed 
https://github.com/apache/incubator-druid/issues/2956
   
   The issue that I encountered was exactly the same as in the referenced 
issue: when ingestSegment firehose is used to rollup data all metrics were 0.
   
   However after short investigation I found out that I have to put dimensions 
into `metrics` part of `ioConfig.firehose` like this:
   
   ```json
       "ioConfig":{  
         "type":"index",
         "firehose":{  
           "type":"ingestSegment",
           "dataSource":"rawSource",
           "interval":"2019-08-07T10:00:00.000/2019-08-07T11:00:00.000",
           "metrics":[  
             "dimension1",
             "dimension2"
           ]
         }
       }
   ```
   
   then these `dimension1` and `dimension2` can be used to build new metrics.
   
   I think this thing should be addressed in the documentation at 
https://druid.apache.org/docs/latest/ingestion/firehose.html 
`IngestSegmentFirehose`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to