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

introduce otlp tracing #5132

Merged
merged 6 commits into from
May 26, 2023
Merged

introduce otlp tracing #5132

merged 6 commits into from
May 26, 2023

Conversation

butonic
Copy link
Member

@butonic butonic commented Nov 25, 2022

I was toying with https://github.com/SigNoz/signoz which uses otlp tracing. This PR allows configuring tracing_exporter=otlp as a trace exporter. It requires cs3org/reva#3496 to make reva use an otlp trace exporter as well.

Based on the signoz ui I think we should try to add events to our spans that follow the Trace Semantic Conventions, eg https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/span-general/ but that is a different PR

@butonic butonic marked this pull request as draft November 25, 2022 15:55
@butonic butonic self-assigned this Nov 25, 2022
@butonic butonic mentioned this pull request May 19, 2023
11 tasks
Excds
Excds previously requested changes May 25, 2023
butonic added 4 commits May 26, 2023 13:25
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic marked this pull request as ready for review May 26, 2023 13:18
tp := rtrace.NewTracerProvider(
rtrace.WithEnabled(),
rtrace.WithExporter(traceType),
rtrace.WithInsecure(),
Copy link
Contributor

@dragonchaser dragonchaser May 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs fix (later). Secure by default FTW.

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic dismissed Excds’s stale review May 26, 2023 13:34

commented code was deleted

@ownclouders
Copy link
Contributor

ownclouders commented May 26, 2023

💥 Acceptance test Core-API-Tests-ocis-storage-10 failed. Further test are cancelled...

@butonic butonic changed the title introduce otel tracing introduce otlp tracing May 26, 2023
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

5.6% 5.6% Coverage
0.0% 0.0% Duplication

@butonic butonic merged commit b8bdd45 into master May 26, 2023
@delete-merged-branch delete-merged-branch bot deleted the otel-tracing branch May 26, 2023 20:21
@micbar micbar mentioned this pull request Jun 6, 2023
86 tasks
fschade pushed a commit that referenced this pull request Jul 10, 2023
* introduce otel tracing

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use new trace provider initialization

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* work

* bump reva

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* remove commented code

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add vendor changes

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
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.

4 participants