Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2024-01-19 Thread via GitHub
exceptionfactory closed pull request #8158: NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big URL: https://github.com/apache/nifi/pull/8158 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2024-01-18 Thread via GitHub
timeabarna commented on PR #8158: URL: https://github.com/apache/nifi/pull/8158#issuecomment-1899838731 Thanks @exceptionfactory, I've updated both PRs with shutdown. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2024-01-18 Thread via GitHub
timeabarna commented on PR #8158: URL: https://github.com/apache/nifi/pull/8158#issuecomment-1898452142 Thanks @exceptionfactory , I've created a processing service and updated both PRs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2024-01-17 Thread via GitHub
exceptionfactory commented on code in PR #8158: URL: https://github.com/apache/nifi/pull/8158#discussion_r1456062429 ## nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java: ## @@ -457,6

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2024-01-17 Thread via GitHub
timeabarna commented on PR #8158: URL: https://github.com/apache/nifi/pull/8158#issuecomment-1895348152 Thanks @exceptionfactory I've updated both pull requests based on your recommendation. -- This is an automated message from the Apache Git Service. To respond to the message, please

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2024-01-16 Thread via GitHub
exceptionfactory commented on code in PR #8251: URL: https://github.com/apache/nifi/pull/8251#discussion_r1453657239 ## nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java: ## @@ -6117,27

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2024-01-16 Thread via GitHub
exceptionfactory commented on code in PR #8158: URL: https://github.com/apache/nifi/pull/8158#discussion_r1453623270 ## nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java: ## @@ -6233,27

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2024-01-16 Thread via GitHub
timeabarna commented on PR #8158: URL: https://github.com/apache/nifi/pull/8158#issuecomment-1893818027 Thanks @exceptionfactory for your review. I've updated this PR with Virtual Threads and opened [this PR ](https://github.com/apache/nifi/pull/8251) for the support branch. -- This is

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2024-01-16 Thread via GitHub
timeabarna commented on PR #8251: URL: https://github.com/apache/nifi/pull/8251#issuecomment-1893692976 Related to https://github.com/apache/nifi/pull/8158 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above

[PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2024-01-16 Thread via GitHub
timeabarna opened a new pull request, #8251: URL: https://github.com/apache/nifi/pull/8251 # Summary [NIFI-12506](https://issues.apache.org/jira/browse/NIFI-12506) # Tracking Please complete the following tracking steps prior to pull request creation. ### Issue

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2024-01-11 Thread via GitHub
timeabarna commented on PR #8158: URL: https://github.com/apache/nifi/pull/8158#issuecomment-1886931783 Thanks @markap14 and @exceptionfactory for your review. I've removed the new properties and modified the code to reuse the thread pool as this functionality is heavily used with the 1.x

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2023-12-14 Thread via GitHub
exceptionfactory commented on code in PR #8158: URL: https://github.com/apache/nifi/pull/8158#discussion_r1426814776 ## nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java: ## @@ -6233,27

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2023-12-14 Thread via GitHub
markap14 commented on code in PR #8158: URL: https://github.com/apache/nifi/pull/8158#discussion_r1426763124 ## nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/pom.xml: ## @@ -252,6 +252,8 @@

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2023-12-14 Thread via GitHub
markap14 commented on code in PR #8158: URL: https://github.com/apache/nifi/pull/8158#discussion_r1426763926 ## nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java: ## @@ -6233,27 +6237,54

Re: [PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2023-12-14 Thread via GitHub
markap14 commented on code in PR #8158: URL: https://github.com/apache/nifi/pull/8158#discussion_r1426760635 ## nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiServiceFacade.java: ## @@ -6233,27 +6237,54

[PR] NIFI-12506 /nifi-api/flow/metrics endpoint times out if flow is big [nifi]

2023-12-13 Thread via GitHub
timeabarna opened a new pull request, #8158: URL: https://github.com/apache/nifi/pull/8158 # Summary If a flow is relatively big, having more than 10K processors, /nifi-api/flow/metrics endpoint times out if nifi.analytics.predict.enabled set to true as gathering predictions takes long.