Skip to content

Commit

Permalink
encode: otlp: set buffer length
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya Prajapati <[email protected]>
  • Loading branch information
Aditya Prajapati committed Oct 2, 2022
1 parent a9a6115 commit a0fe7c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 206 deletions.
206 changes: 0 additions & 206 deletions examples/otlp-encoder.c

This file was deleted.

1 change: 1 addition & 0 deletions src/ctr_encode_opentelemetry.c
Original file line number Diff line number Diff line change
Expand Up @@ -1307,6 +1307,7 @@ cfl_sds_t ctr_encode_opentelemetry_create(struct ctrace *ctr)
if (!buf) {
return NULL;
}
cfl_sds_set_len(buf, len);

opentelemetry__proto__collector__trace__v1__export_trace_service_request__pack(req, (uint8_t *)buf);

Expand Down

0 comments on commit a0fe7c9

Please sign in to comment.