Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

# CMetrics Version
set(CPROF_VERSION_MAJOR 0)
set(CPROF_VERSION_MINOR 1)
set(CPROF_VERSION_PATCH 1)
set(CPROF_VERSION_MINOR 2)
set(CPROF_VERSION_PATCH 0)
set(CPROF_VERSION_STR "${CPROF_VERSION_MAJOR}.${CPROF_VERSION_MINOR}.${CPROF_VERSION_PATCH}")

# Include helpers
Expand Down
7 changes: 6 additions & 1 deletion include/cprofiles/cprof_encode_text.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,21 @@
#define CPROF_ENCODE_TEXT_ALLOCATION_ERROR 1
#define CPROF_ENCODE_TEXT_INVALID_ARGUMENT_ERROR 2

#define CPROF_ENCODE_TEXT_RENDER_DICTIONARIES_AND_INDEXES 0
#define CPROF_ENCODE_TEXT_RENDER_RESOLVED 1

struct cprof_text_encoding_context {
cfl_sds_t output_buffer;
size_t indentation_level;
cfl_sds_t indentation_buffer;
size_t indentation_level_size;
char indentation_character;
int render_mode;
};

int cprof_encode_text_create(cfl_sds_t *result_buffer,
struct cprof *profile);
struct cprof *profile,
int render_mode);

void cprof_encode_text_destroy(cfl_sds_t instance);

Expand Down
2 changes: 1 addition & 1 deletion lib/fluent-otel-proto
Submodule fluent-otel-proto updated 25 files
+10 −5 CMakeLists.txt
+30 −13 README.md
+1 −1 proto_c/opentelemetry/proto/collector/logs/v1/logs_service.pb-c.c
+6 −6 proto_c/opentelemetry/proto/collector/logs/v1/logs_service.pb-c.h
+1 −1 proto_c/opentelemetry/proto/collector/metrics/v1/metrics_service.pb-c.c
+6 −6 proto_c/opentelemetry/proto/collector/metrics/v1/metrics_service.pb-c.h
+17 −4 proto_c/opentelemetry/proto/collector/profiles/v1development/profiles_service.pb-c.c
+10 −6 proto_c/opentelemetry/proto/collector/profiles/v1development/profiles_service.pb-c.h
+1 −1 proto_c/opentelemetry/proto/collector/trace/v1/trace_service.pb-c.c
+6 −6 proto_c/opentelemetry/proto/collector/trace/v1/trace_service.pb-c.h
+130 −8 proto_c/opentelemetry/proto/common/v1/common.pb-c.c
+102 −14 proto_c/opentelemetry/proto/common/v1/common.pb-c.h
+19 −6 proto_c/opentelemetry/proto/logs/v1/logs.pb-c.c
+24 −10 proto_c/opentelemetry/proto/logs/v1/logs.pb-c.h
+31 −31 proto_c/opentelemetry/proto/metrics/v1/metrics.pb-c.c
+110 −127 proto_c/opentelemetry/proto/metrics/v1/metrics.pb-c.h
+1,488 −268 proto_c/opentelemetry/proto/profiles/v1development/profiles.pb-c.c
+710 −73 proto_c/opentelemetry/proto/profiles/v1development/profiles.pb-c.h
+16 −3 proto_c/opentelemetry/proto/resource/v1/resource.pb-c.c
+13 −5 proto_c/opentelemetry/proto/resource/v1/resource.pb-c.h
+3 −3 proto_c/opentelemetry/proto/trace/v1/trace.pb-c.c
+33 −29 proto_c/opentelemetry/proto/trace/v1/trace.pb-c.h
+6 −4 proto_c/protobuf-c/protobuf-c.c
+10 −9 proto_c/protobuf-c/protobuf-c.h
+0 −1 src/CMakeLists.txt
Loading