I have an increase query that is not returning the results I'm expecting. It's consistently returning a smaller number than I expect.
I'm querying against a counter that only increases by an integer value.
Here's the query:
sum without (field1, field2, field3, field4, field5, field6, field7, field8, field9, field10, field11,
field12, field13) (increase (apigateway_apicount_counter{field12="field12Value", field13="
field13 Value"}[15m]))
Results:
{node="node4"} 2.541 K
When I do a count against the real vales, I'm coming up with the following:
node1 4416
node2 4271
node3 3868
node4 3849
I do see the documentation stating "The increase is extrapolated to cover the full time range as specified in the range vector selector, so that it is possible to get a non-integer result even if a counter increases only by integer increments." Because of this, I do expect some variance, but not as much of a difference as I am seeing.