Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[management] [analytics] Status widget does not count all the events #2214

Closed
phiz71 opened this issue May 9, 2019 · 0 comments

Comments

@phiz71
Copy link

commented May 9, 2019

Expected Behavior

HTTP responses with status 199, 299, 399, 499 and 599 should be taken into account in the query.

Current Behavior

HTTP responses with status 199, 299, 399, 499 and 599 are not taken into account in the query since a range aggregation in elasticsearch is not inclusive for the upper limit.
See : https://www.elastic.co/guide/en/elasticsearch/reference/6.7/search-aggregations-bucket-range-aggregation.html

Possible Solution

Change the way the query is built to include upper limit of ranges.
OR
Modify the ranges to get for example 100:200 instead of 100:199

Your Environment

  • Management API : 1.20.15
  • Elastisearch : 6.7.1

phiz71 added a commit to gravitee-io/gravitee-elasticsearch that referenced this issue May 9, 2019

brasseld added a commit to gravitee-io/gravitee-elasticsearch that referenced this issue May 15, 2019

@brasseld brasseld closed this May 15, 2019

@NicolasGeraud NicolasGeraud added this to the APIM - 1.20.17 milestone May 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.