Need help on computing the average value of the metrics

Hi,

Currently we are using druid 0.10.0 from HDP cluster 2.6.5 for druid kafka ingestion and need help on getting the average values for the metrics.

I followed below links:

http://druidio.cn/docs/0.9.0/querying/post-aggregations.html

https://groups.google.com/forum/#!topic/druid-development/iVMhpT9pKuU

I understand from above links that we cannot have post-aggregations as part of the druid-kafka indexer json and need to add the post aggregations as metrics in the query itself. In our case we are using the superset to query the druid data and display. So can anybody help here to setup post aggregations either in superset or the druid-kafka indexer json.

Thanks,

Imran