Skip to content

Commit

Permalink
Merge pull request #56 from stackhpc/2023.1-cherries
Browse files Browse the repository at this point in the history
Log Prometheus Query
  • Loading branch information
mnasiadka authored Sep 4, 2023
2 parents 5ed2e8f + 011085e commit 56f2ed2
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 56f2ed2

Please sign in to comment.