# Prometheus querying capability and logging

**URL:** <https://discuss.prometheus.io/t/prometheus-querying-capability-and-logging/318>\
**Category:** PromQL\
**Created:** [June 16, 2021, 6:48pm UTC](https://discuss.prometheus.io/t/prometheus-querying-capability-and-logging/318 "2021-06-16T18:48:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tejaswini](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/tejaswini/32/137_2.png) [@Tejaswini](https://discuss.prometheus.io/u/Tejaswini)\
**Post date:** [June 16, 2021, 6:48pm UTC](https://discuss.prometheus.io/t/prometheus-querying-capability-and-logging/318/1 "2021-06-16T18:48:42Z")

</div>

Hi,

Is Prometheus meant for accepting a huge number of queries (1K/second)? Does anyone have an idea of the higher limit that is been tested?

What is the purpose of Prometheus query logging?

- Does Prometheus query log serve audit logging as well?
- Is it intended for troubleshooting performance issues of Prometheus and slow queries?

Thanks!  
Teja

---

<div class="post-metadata">

**Author:** ![SuperQ](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/superq/32/4_2.png) [@SuperQ](https://discuss.prometheus.io/u/SuperQ)\
**Post date:** [June 17, 2021, 6:43am UTC](https://discuss.prometheus.io/t/prometheus-querying-capability-and-logging/318/2 "2021-06-17T06:43:10Z")

</div>

I don’t know if anyone has done a lot of testing for very high query request rates. Typically it depends a lot on how much data each query needs.

Query logging was meant to help audit and provide information on what queries are being done to help debug high load and slow queries.

If you’re expecting a high query rate for the same queries, you might want to look at [Trickster Cache](https://github.com/trickstercache/trickster) to improve performance.

---

<div class="post-metadata">

**Author:** ![Tejaswini](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/tejaswini/32/137_2.png) [@Tejaswini](https://discuss.prometheus.io/u/Tejaswini)\
**Post date:** [June 17, 2021, 8:32am UTC](https://discuss.prometheus.io/t/prometheus-querying-capability-and-logging/318/3 "2021-06-17T08:32:46Z")

</div>

Thanks Ben, when you say “audit logging”, does the query log print the information about users and services who queried Prometheus?

---

<div class="post-metadata">

**Author:** ![SuperQ](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/superq/32/4_2.png) [@SuperQ](https://discuss.prometheus.io/u/SuperQ)\
**Post date:** [June 17, 2021, 8:54am UTC](https://discuss.prometheus.io/t/prometheus-querying-capability-and-logging/318/4 "2021-06-17T08:54:15Z")

</div>

No, Prometheus has no concept of users.

---

<div class="post-metadata">

**Author:** ![Tejaswini](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/tejaswini/32/137_2.png) [@Tejaswini](https://discuss.prometheus.io/u/Tejaswini)\
**Post date:** [June 17, 2021, 9:08am UTC](https://discuss.prometheus.io/t/prometheus-querying-capability-and-logging/318/5 "2021-06-17T09:08:24Z")

</div>

I thought them to be security-related audit logs. Audit in this context is the information about query events in detail. Is this correct?
