Commit Graph
23 Commits
Author SHA1 Message Date
Juan Pablo Villafáñez 9eb4b76dd4 feat: set global tracing propagator for go-micro 2025-07-31 11:06:33 +02:00
Juan Pablo Villafáñez a388c8d642 feat: Homogenize tracing of requests to other services
The "tracing.GetNewRequest" and "tracing.GetNewRequestWithContext" aims
to replace the "http.NewRequest" and "http.NewRequestWithContext"
respectively by including tracing data.

For requests that have been already created, such as the case of some
reva requests, "tracing.InjectTracingHeaders" is provided.

Note that some outgoing requests might be required NOT to use tracing
headers.
2025-07-18 14:40:55 +02:00
Juan Pablo Villafáñez 641fa42f8d chore: add otlp as supported tracing type
This is just for documentation purposes. There is no code change.
2025-07-14 15:29:16 +02:00
Michal Klos 2868947e63 chore: bump reva, go 1.24 2025-04-30 12:04:03 +02:00
Julian Koberg b979844791 feat(ocis): adjust reva imports
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-03-05 11:14:44 +01:00
Christian RichterandJörn Friedrich Dreyer 505ed389b7 Fix nil-pointer issue with misconfigured tracing
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-16 14:46:49 +02:00
Phil Davis 9d2be66a85 chore: add introductionVersion pre5.0 to environment variable docs 2024-03-06 17:50:20 +05:45
André Duffeck 69e8d13f7e Use a on-sampling instead of noop traceprovider to get proper traceids
Fixes #7928
2023-12-19 14:49:48 +01:00
Daniel Swärd f805589e9d Update sharing and ocdav tracing. (#7014) 2023-08-21 12:27:37 +02:00
Daniel Swärd f0e2b50675 Partially revert removal of believed unused reva tracing initialization. 2023-08-21 10:37:12 +02:00
Daniel Swärd d41f1ac8f4 Remove unused reva tracing initialization. (#7011) 2023-08-14 09:34:27 +02:00
Daniël Franke 22f5a76829 Add default config to service.
Also modify `GetServiceTraceProvider` to keep working if nil or nil
interface is passed.
2023-07-27 11:25:32 +02:00
Daniël Franke 96557a95ae Add tracing to settings service.
This adds tracing to the settings service. It uses the otelchi package
and passes the tracing provider to the grpc and http servers.
2023-06-27 12:31:19 +02:00
Daniël Franke 8f7521eff7 Move away from global tracers. (#6591)
* Move away from global tracers.

This PR moves away from global tracers and instead initialises
a tracer provider at Service setup and passes it where it needs to be.

* Change tracing provider to be set via options.

Also change name for GetServiceTraceProvider.

* Add changelog.
2023-06-23 14:20:26 +02:00
Jörn Friedrich Dreyer b8bdd4573a introduce otlp tracing (#5132)
* 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>
2023-05-26 22:21:03 +02:00
Jörn Friedrich Dreyer 9cc450fec5 update reva to v2.5.2-0.20220616180355-84264e82e451
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-06-16 18:05:10 +00:00
Michael Barz 189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
David Christofas 57e4e70888 remove auth basic command to improve config code 2022-04-25 15:43:15 +02:00
Willy Kloucek 182712b223 fix tracing config 2022-01-13 08:13:14 +01:00
A.Unger 1c1f5c9167 tracing: use tracing agent instead of collector 2021-09-01 14:22:54 +02:00
A.Unger ad994ded16 more refactoring 2021-08-09 18:15:34 +02:00
A.Unger b13863b717 refactor traceprovider initialization 2021-08-09 18:03:01 +02:00
A.Unger 6fc2b7503d add tracing utils to ocis-pkg 2021-08-09 17:45:31 +02:00