We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a9134a commit d19590aCopy full SHA for d19590a
netflowbot.py
@@ -255,6 +255,10 @@ def perform_account_aggr_job(*args, **job_params):
255
log.warning("No values found to be sent to Grafolean")
256
return
257
258
+ # the values are Decimals because they come from BIGINT column, so we must transform
259
+ # them to strings before encoding to JSON:
260
+ values = [{'p': v['p'], 'v': str(v['v'])} for v in values]
261
+
262
# send the data to Grafolean:
263
send_results_to_grafolean(
264
job_params['backend_url'],
0 commit comments