Skip to content

Commit

Permalink
Log Prometheus Query
Browse files Browse the repository at this point in the history
(cherry picked from commit 6c61ea7)
(cherry picked from commit 884a43a)
(cherry picked from commit 572ad44)
  • Loading branch information
priteau authored and Alex-Welsh committed Jul 25, 2023
1 parent 44a7db9 commit fa02093
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cloudkitty/collector/prometheus.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ def fetch_all(self, metric_name, start, end, scope_id, q_filter=None):
if query_suffix:
query = "{0} {1}".format(query, query_suffix)

LOG.debug("Calling Prometheus with query: %s", query)

try:
res = self._conn.get_instant(
query,
Expand Down

0 comments on commit fa02093

Please sign in to comment.