You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/08/09 08:34:49 UTC

[GitHub] [incubator-druid] gipeshka opened a new issue #8280: The metrics specification on ingestSegment firehose is not clear

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org