Fix metrics for counting of content api requests
Merge branch 'fix-elastic-counting'