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

Stats diff in MicroGateway Dashboard. #3546

Closed
janithcmw opened this issue Jul 3, 2024 · 1 comment
Closed

Stats diff in MicroGateway Dashboard. #3546

janithcmw opened this issue Jul 3, 2024 · 1 comment

Comments

@janithcmw
Copy link

Description

The counter values of the "requests in progress" graph which uses the Prometheus-value from "http_inprogress_requests_value", are not getting reset correctly when there is no load in the system.

Once the following error was observed in the MGW logs the stats relevant to the metric 'http_inprogress_requests_value' is not getting decremented.

[8070713d-9635-474e-9ba4-99396125837b] Error while finishing the span of : Pre_Authen_Filter_Request : error Can not finish span with id 35. Span already finished 
[246cae04-3e49-4a65-9679-bdf2cf383051] Error while finishing the span of : Pre_Authen_Filter_Request : error Can not finish span with id 36. Span already finished 
[e79459bb-1113-4fc8-984a-9632bbf4347c] Error while finishing the span of : Pre_Authen_Filter_Request : error Can not finish span with id 28. Span already finished 
[6a9610e4-3c1f-4ab6-b920-854c9c8e9546] Error while finishing the span of : Pre_Authen_Filter_Request : error Can not finish span with id 11. Span already finished 
[91899510-a59e-419c-8a77-53da662ac336] Error while finishing the span of : Pre_Authen_Filter_Request : error Can not finish span with id 44. Span already finished 
[35a7c974-ab3a-414a-a741-f613aa8b1194] Error while finishing the span of : Pre_Authen_Filter_Request : error Can not finish span with id 57. Span already finished 
[efe4b968-ced1-4d3b-a362-a0d6a7c7e56e] Error while finishing the span of : Pre_Authen_Filter_Request : error Can not finish span with id 21. Span already finished 
[8f89792c-5477-40c4-8945-a94569aa0b56] Error while finishing the span of : Pre_Authen_Filter_Request : error Can not finish span with id 46. Span already finished 

Steps to Reproduce

  1. Deploy and API in MGW.
  2. Configure Grafana with Prometheus in MGW.
  3. Put a load continuously for a considerable duration.

Version

3.2.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

@shilmyhasan
Copy link

Hi,

The issue has been fixed with the PR[1].
[1] - ballerina-platform/ballerina-lang#42962

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants