diff options
| author | Stefan Boberg <[email protected]> | 2025-10-22 17:57:29 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-10-22 17:57:29 +0200 |
| commit | 5c139e2d8a260544bc5e730de0440edbab4b0f03 (patch) | |
| tree | b477208925fe3b373d4833460b90d61a8051cf05 /src/zenserver/storage | |
| parent | 5.7.7-pre3 (diff) | |
| download | zen-5c139e2d8a260544bc5e730de0440edbab4b0f03.tar.xz zen-5c139e2d8a260544bc5e730de0440edbab4b0f03.zip | |
add support for OTLP logging/tracing (#599)
- adds `zentelemetry` project which houses new functionality for serializing logs and traces in OpenTelemetry Protocol format (OTLP)
- moved existing stats functionality from `zencore` to `zentelemetry`
- adds `TRefCounted<T>` for vtable-less refcounting
- adds `MemoryArena` class which allows for linear allocation of memory from chunks
- adds `protozero` which is used to encode OTLP protobuf messages
Diffstat (limited to 'src/zenserver/storage')
6 files changed, 6 insertions, 6 deletions
diff --git a/src/zenserver/storage/buildstore/httpbuildstore.h b/src/zenserver/storage/buildstore/httpbuildstore.h index 50cb5db12..e10986411 100644 --- a/src/zenserver/storage/buildstore/httpbuildstore.h +++ b/src/zenserver/storage/buildstore/httpbuildstore.h @@ -2,10 +2,10 @@ #pragma once -#include <zencore/stats.h> #include <zenhttp/httpserver.h> #include <zenhttp/httpstats.h> #include <zenhttp/httpstatus.h> +#include <zentelemetry/stats.h> #include <filesystem> diff --git a/src/zenserver/storage/cache/httpstructuredcache.h b/src/zenserver/storage/cache/httpstructuredcache.h index a157148c9..5a795c215 100644 --- a/src/zenserver/storage/cache/httpstructuredcache.h +++ b/src/zenserver/storage/cache/httpstructuredcache.h @@ -2,12 +2,12 @@ #pragma once -#include <zencore/stats.h> #include <zenhttp/httpserver.h> #include <zenhttp/httpstats.h> #include <zenhttp/httpstatus.h> #include <zenstore/cache/cache.h> #include <zenstore/cache/cacherpc.h> +#include <zentelemetry/stats.h> #include <zenutil/openprocesscache.h> #include <memory> diff --git a/src/zenserver/storage/projectstore/httpprojectstore.h b/src/zenserver/storage/projectstore/httpprojectstore.h index f0a0bcfa1..f6fe63614 100644 --- a/src/zenserver/storage/projectstore/httpprojectstore.h +++ b/src/zenserver/storage/projectstore/httpprojectstore.h @@ -2,11 +2,11 @@ #pragma once -#include <zencore/stats.h> #include <zenhttp/httpserver.h> #include <zenhttp/httpstats.h> #include <zenhttp/httpstatus.h> #include <zenstore/cidstore.h> +#include <zentelemetry/stats.h> namespace zen { diff --git a/src/zenserver/storage/upstream/upstreamcache.cpp b/src/zenserver/storage/upstream/upstreamcache.cpp index f7ae5f973..6c489c5d3 100644 --- a/src/zenserver/storage/upstream/upstreamcache.cpp +++ b/src/zenserver/storage/upstream/upstreamcache.cpp @@ -9,10 +9,10 @@ #include <zencore/compactbinarypackage.h> #include <zencore/compactbinaryvalidation.h> #include <zencore/fmtutils.h> -#include <zencore/stats.h> #include <zencore/stream.h> #include <zencore/timer.h> #include <zencore/trace.h> +#include <zentelemetry/stats.h> #include <zenhttp/httpclientauth.h> #include <zenhttp/packageformat.h> diff --git a/src/zenserver/storage/upstream/upstreamcache.h b/src/zenserver/storage/upstream/upstreamcache.h index d5d61c8d9..c0c8a7ff9 100644 --- a/src/zenserver/storage/upstream/upstreamcache.h +++ b/src/zenserver/storage/upstream/upstreamcache.h @@ -6,10 +6,10 @@ #include <zencore/compress.h> #include <zencore/iobuffer.h> #include <zencore/iohash.h> -#include <zencore/stats.h> #include <zencore/zencore.h> #include <zenstore/cache/cache.h> #include <zenstore/cache/upstreamcacheclient.h> +#include <zentelemetry/stats.h> #include <atomic> #include <chrono> diff --git a/src/zenserver/storage/workspaces/httpworkspaces.h b/src/zenserver/storage/workspaces/httpworkspaces.h index 89a8e8bdc..888a34b4d 100644 --- a/src/zenserver/storage/workspaces/httpworkspaces.h +++ b/src/zenserver/storage/workspaces/httpworkspaces.h @@ -2,10 +2,10 @@ #pragma once -#include <zencore/stats.h> #include <zenhttp/httpserver.h> #include <zenhttp/httpstats.h> #include <zenhttp/httpstatus.h> +#include <zentelemetry/stats.h> namespace zen { |