> For the complete documentation index, see [llms.txt](https://viva.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://viva.gitbook.io/project/cloud-native/prometheus/cortex/zu-jian/querier.md).

# Querier

querier使用PromQL查询语言处理查询请求。从ingester上获取其内存中还未刷写到长期存储的短期数据，从长期存储中获取长期数据。由于副本因子的存在，querier会获取到重复的数据，因此在querier内部会通过时间戳判断指标是否重复并进行去重。

querier本身是无状态的，可以进行水平拓展。
