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

trace proxie middlewares #6313

Merged
merged 3 commits into from
May 27, 2023
Merged

trace proxie middlewares #6313

merged 3 commits into from
May 27, 2023

Conversation

butonic
Copy link
Member

@butonic butonic commented May 15, 2023

We moved trace initialization to an early middleware to also trace requests made by other proxy middlewares.

before:

image

after:

image

so we basically have not seen 60ms of all requests ... 😞

when using a proper ldap server and not the built in GetUserByClaim also is way faster:

image

might be related to #5765 ... because we don't care about the built in LDAP ... 😞

@butonic butonic force-pushed the trace-proxie-middlewares branch 5 times, most recently from 67e8127 to e5bb7f1 Compare May 17, 2023 18:27
@ownclouders
Copy link
Contributor

ownclouders commented May 26, 2023

E2E tests failed: https://drone.owncloud.com/owncloud/ocis/22761/69/1

💥 To see the trace, please open the link in the console ...

npx playwright show-trace https://cache.owncloud.com/public/owncloud/ocis/22761/tracing/public-link-for-space-alice-2023-5-26-09-45-38.zip

butonic and others added 3 commits May 26, 2023 22:25
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@sonarcloud
Copy link

sonarcloud bot commented May 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

15.3% 15.3% Coverage
16.8% 16.8% Duplication

@butonic butonic merged commit 632b206 into master May 27, 2023
@delete-merged-branch delete-merged-branch bot deleted the trace-proxie-middlewares branch May 27, 2023 08:18
ownclouders pushed a commit that referenced this pull request May 27, 2023
* trace proxie middlewares

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>

* Update ocis-pkg/service/grpc/client.go

Co-authored-by: Christian Richter <[email protected]>

* default tls is off

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>

---------

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Co-authored-by: Christian Richter <[email protected]>
@micbar micbar mentioned this pull request Jun 6, 2023
86 tasks
fschade pushed a commit that referenced this pull request Jul 10, 2023
* trace proxie middlewares

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>

* Update ocis-pkg/service/grpc/client.go

Co-authored-by: Christian Richter <[email protected]>

* default tls is off

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>

---------

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Co-authored-by: Christian Richter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants