Skip to content

Commit 011085e

Browse files
priteaumnasiadka
authored andcommitted
Log Prometheus Query
(cherry picked from commit 6c61ea7) (cherry picked from commit 884a43a) (cherry picked from commit 572ad44) (cherry picked from commit fa02093)
1 parent dd5c9fd commit 011085e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cloudkitty/collector/prometheus.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ def fetch_all(self, metric_name, start, end, scope_id, q_filter=None):
213213
if query_suffix:
214214
query = "{0} {1}".format(query, query_suffix)
215215

216+
LOG.debug("Calling Prometheus with query: %s", query)
217+
216218
try:
217219
res = self._conn.get_instant(
218220
query,

0 commit comments

Comments
 (0)