We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0c43a0 + f33e04e commit 63b4a76Copy full SHA for 63b4a76
prometheus_api_client/prometheus_connect.py
@@ -485,7 +485,7 @@ def get_metric_aggregation(
485
elif operation == "deviation":
486
aggregated_values["deviation"] = numpy.std(np_array)
487
elif operation == "variance":
488
- aggregated_values["deviation"] = numpy.var(np_array)
+ aggregated_values["variance"] = numpy.var(np_array)
489
else:
490
raise TypeError("Invalid operation: " + operation)
491
return aggregated_values
0 commit comments