eclipse-archived / codewind

The official repository of the Eclipse Codewind project
https://codewind.dev
Eclipse Public License 2.0
114 stars 44 forks source link

(metrics) Performance Dashboard with a https enabled project #420

Open maysunfaisal opened 5 years ago

maysunfaisal commented 5 years ago

Codewind version: latest OS:

Che version: IDE extension version: IDE version: Kubernetes cluster:

Question synopsis:

With https://github.com/eclipse/codewind/pull/208 I can now run a https enabled project on Codewind

I have a https enabled Microprofile project, and I tried running a load test on the dashboard, is this report correct?

Screen Shot 2019-09-11 at 3 27 02 PM

tetchel commented 5 years ago

@markcor11

stalleyj commented 5 years ago

Yes it looks correct, showing an average response time of 1.8 ms. If you run multiple tests, you should then get a graph.

tetchel commented 5 years ago

I think he's looking at the failed to render in the bottom left. i don't know why that could be caused by a protocol difference though.

tobespc commented 5 years ago

@markcor11 says it looks like its a bug in the configuration - @markcor11 please take a look

markcor11 commented 5 years ago

will do

tobespc commented 4 years ago

any updates ?

markcor11 commented 4 years ago

There's a few pieces to this when project is enabled for https :

markcor11 commented 4 years ago

I'm not sure we have support for HTTPs project in CHE, I moved a local node HTTPs project to Che and noticed that the routes created assumed the project was still using HTTP even though the project.isHttp in .cw-settings was set to true. I would have expected this OpenShift route to be secured with type passthru since I was using a server certificate generated in the project directly.

Screenshot 2020-01-21 at 11 23 46

Also noticed that the project didn't stay up long, probably as a result of the /health endpoint not being accessible over HTTPs:

Screenshot 2020-01-21 at 11 26 49

This behaviour was also the same in an HTTPs Codewind Remote project

maysunfaisal commented 4 years ago

@markcor11 You may want to look into this issue for https on Kube https://github.com/eclipse/codewind/issues/1272

markcor11 commented 4 years ago

Blocked by 1272. Branch with local only changes : https://github.com/markcor11/codewind/tree/420-Perfdash-HTTPsProjects