Skip to content

Commit 6c61ea7

Browse files
priteauWasaac
authored andcommitted
Log Prometheus query
1 parent 824e14f commit 6c61ea7

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
@@ -198,6 +198,8 @@ def fetch_all(self, metric_name, start, end, scope_id, q_filter=None):
198198
', '.join(groupby + metadata)
199199
)
200200

201+
LOG.debug("Calling Prometheus with query: %s", query)
202+
201203
try:
202204
res = self._conn.get_instant(
203205
query,

0 commit comments

Comments
 (0)