-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Cleanup manually/automatic generated class in pdata related to trace #2488
Comments
Updates #2488 Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Updates open-telemetry#2488 Important Changes: * Rename pdata.TimestampUnixNanos to pdata.Timestamp * Remove pdata.TimestampUnixNanos and helpers, move them of the pdata.Timestamp type. * Fix bug around IsZero, this function should return true if the time is January 1, year 1, 00:00:00 UTC not epoch. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Updates open-telemetry#2488 Important Changes: * Rename pdata.TimestampUnixNanos to pdata.Timestamp * Remove pdata.TimestampUnixNanos and helpers, move them of the pdata.Timestamp type. * Fix bug around IsZero, this function should return true if the time is January 1, year 1, 00:00:00 UTC not epoch. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Updates open-telemetry#2488 Important Changes: * Rename pdata.TimestampUnixNanos to pdata.Timestamp * Remove pdata.TimestampUnixNanos and helpers, move them of the pdata.Timestamp type. * Fix bug around IsZero, this function should return true if the time is January 1, year 1, 00:00:00 UTC not epoch. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Updates open-telemetry#2488 Important Changes: * Rename pdata.TimestampUnixNanos to pdata.Timestamp * Remove pdata.TimestampUnixNanos and helpers, move them of the pdata.Timestamp type. * Fix bug around IsZero, this function should return true if the time is January 1, year 1, 00:00:00 UTC not epoch. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Updates #2488 Important Changes: * Rename pdata.TimestampUnixNanos to pdata.Timestamp * Remove pdata.TimestampUnixNanos and helpers, move them of the pdata.Timestamp type. * Fix bug around IsZero, this function should return true if the time is January 1, year 1, 00:00:00 UTC not epoch. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@bogdandrutu can you assign @Aneurysm9 to this issue? |
@bogdandrutu is this issue considered complete with @Aneurysm9 's PRs? Can we close this issue? |
@alolita I have not seen any PR from @Aneurysm9 related to this, we discussed that this is a larger effort, see issue description |
@bogdandrutu we're working on this - will sync up w @Aneurysm9 |
@alolita this is one of the blockers to finish Phase1 milestone. |
About "eliminate use of .Append", what's the reasoning? Callers now have to make two calls to have the same effect: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/3861/files#diff-6211e1422cb9d2f03e84e85892a9a659a0d7d3d42de41cae0d130f63767d8a56L479-R482 |
@punya As we discussed assigning you the following reviews to help complete the tasks itemized in this issue.
|
@Aneurysm9 do you have bandwidth to complete the last review and related PR for the changes. This would help us get all items in this issue done :-)
|
I will get started on this. @bogdandrutu am I understanding correctly that we will remove the ability to resize a slice downward? EnsureCapacity will only be able to increase the capacity of a slice. |
@punya will you still be able to work on these reviews? |
@alolita yes (we discussed offline but I'm commenting here for the record). |
|
Action Item: Remove deprecated Resize -- @Aneurysm9 please complete the removal of usage of Resize from contrib and definitions from core. |
Thanks @Aneurysm9 |
Eliminates use of deprecated pdata slice APIs in exporters **Link to tracking Issue:** open-telemetry/opentelemetry-collector#2488 Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
@Aneurysm9 are there PRs in flight for collector changes for removing pdata slice Resize()? |
Updates open-telemetry/opentelemetry-collector#2488 Important Changes: * Rename pdata.TimestampUnixNanos to pdata.Timestamp * Remove pdata.TimestampUnixNanos and helpers, move them of the pdata.Timestamp type. * Fix bug around IsZero, this function should return true if the time is January 1, year 1, 00:00:00 UTC not epoch. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Updates open-telemetry/opentelemetry-collector#2488 Important Changes: * Rename pdata.TimestampUnixNanos to pdata.Timestamp * Remove pdata.TimestampUnixNanos and helpers, move them of the pdata.Timestamp type. * Fix bug around IsZero, this function should return true if the time is January 1, year 1, 00:00:00 UTC not epoch. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Switch to gcp from gce as specified in open-telemetry/opentelemetry-collector-contrib#10348 Tracking issue: signalfx/splunk-otel-collector#2474 * Update cmd/otelcol/config/collector/full_config_linux.yaml Co-authored-by: Antoine Toulme <antoine@lunar-ocean.com> Co-authored-by: Antoine Toulme <antoine@lunar-ocean.com>
This is a preparation for pdata (TraceID, SpanID, AttributeValue, AttributeMap) to be marked as stable API.
ForEach
withRange
to be consistent withsync.Map
.NewAttributeValue
, needs changes in pdatagen which is the only user of this.InitEmptyWithCapacity
EnsureCapacity
(replacement forInitEmptyWithCapacity
) that does not remove existing elements.Resize
api for slices.EnsureCapacity
+AppendEmpty
usage. OrAppendEmptyN(int)
.Resize
- AnthonyAppend
api for slices.pdata.Append
.pdata.Append
.The text was updated successfully, but these errors were encountered: