Skip to content
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

Update opentelemetry-mapping-go to v0.9.0 #21524

Merged
merged 8 commits into from
Dec 22, 2023
Merged

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Dec 13, 2023

What does this PR do?

Bumps opentelemetry-mapping-go to v0.9.0.

Motivation

Include:

Additional Notes

The metrics change does not affect the OTLP ingest pipeline, since the Agent does not have the internal metrics pipeline enabled

Describe how to test/QA your changes

Send an OTLP log to the Agent and verify that milliseconds are shown in the timestamp on the UI.

Reviewer's Checklist

  • If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
  • Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
  • A release note has been added or the changelog/no-changelog label has been applied.
  • Changed code has automated tests for its functionality.
  • Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
  • At least one team/.. label has been applied, indicating the team(s) that should QA this change.
  • If applicable, docs team has been notified or an issue has been opened on the documentation repo.
  • If applicable, the need-change/operator and need-change/helm labels have been applied.
  • If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
  • If applicable, the config template has been updated.

@mx-psi mx-psi added component/otlp PRs and issues related to OTLP ingest team/opentelemetry OpenTelemetry team labels Dec 13, 2023
@mx-psi mx-psi added this to the 7.51.0 milestone Dec 13, 2023
Copy link

cit-pr-commenter bot commented Dec 13, 2023

Go Package Import Differences

Baseline: e1ef601
Comparison: ce9aaf5

binaryosarchchange
agentlinuxamd64
+4, -11
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
agentlinuxarm64
+4, -11
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
agentwindowsamd64
+2, -2
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
agentwindows386
+2, -2
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
agentdarwinamd64
+2, -2
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
agentdarwinarm64
+2, -2
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
iot-agentlinuxamd64
+5, -12
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
-golang.org/x/net/context
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
iot-agentlinuxarm64
+5, -12
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
-golang.org/x/net/context
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
heroku-agentlinuxamd64
+5, -11
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
cluster-agentlinuxamd64
+3, -10
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
cluster-agentlinuxarm64
+3, -10
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
cluster-agent-cloudfoundrylinuxamd64
+3, -10
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
cluster-agent-cloudfoundrylinuxarm64
+3, -10
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
dogstatsdlinuxamd64
+1, -1
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
dogstatsdlinuxarm64
+1, -1
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
process-agentlinuxamd64
+3, -11
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
-golang.org/x/net/context
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
process-agentlinuxarm64
+3, -11
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
-golang.org/x/net/context
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
process-agentwindowsamd64
+1, -1
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
process-agentdarwinamd64
+1, -1
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
process-agentdarwinarm64
+1, -1
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
heroku-process-agentlinuxamd64
+3, -11
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
-golang.org/x/net/context
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
security-agentlinuxamd64
+3, -11
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
-golang.org/x/net/context
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
security-agentlinuxarm64
+3, -11
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
-golang.org/x/net/context
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
serverlesslinuxamd64
+3, -2
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
serverlesslinuxarm64
+3, -2
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
system-probelinuxamd64
+3, -10
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
system-probelinuxarm64
+3, -10
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+golang.org/x/oauth2/google/internal/externalaccountauthorizeduser
+golang.org/x/oauth2/google/internal/stsexchange
-google.golang.org/appengine
-google.golang.org/appengine/internal
-google.golang.org/appengine/internal/app_identity
-google.golang.org/appengine/internal/base
-google.golang.org/appengine/internal/datastore
-google.golang.org/appengine/internal/log
-google.golang.org/appengine/internal/modules
-google.golang.org/appengine/internal/remote_api
-google.golang.org/appengine/socket
system-probewindowsamd64
+1, -1
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
trace-agentlinuxamd64
+3, -2
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
trace-agentlinuxarm64
+3, -2
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
trace-agentwindowsamd64
+3, -2
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
trace-agentwindows386
+3, -2
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
trace-agentdarwinamd64
+3, -2
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
trace-agentdarwinarm64
+3, -2
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric
heroku-trace-agentlinuxamd64
+3, -2
+github.com/hashicorp/go-version
-github.com/matttproud/golang_protobuf_extensions/pbutil
+github.com/matttproud/golang_protobuf_extensions/v2/pbutil
+go.opentelemetry.io/contrib/config
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric

@pr-commenter
Copy link

pr-commenter bot commented Dec 13, 2023

Bloop Bleep... Dogbot Here

Regression Detector Results

Run ID: e62a8e9e-47c6-4bfe-a853-34c45c3667ae
Baseline: e1ef601
Comparison: ce9aaf5
Total CPUs: 7

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

No significant changes in experiment optimization goals

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

There were no significant changes in experiment optimization goals at this confidence level and effect size tolerance.

Experiments ignored for regressions

Regressions in experiments with settings containing erratic: true are ignored.

perf experiment goal Δ mean % Δ mean % CI
file_to_blackhole % cpu utilization +1.25 [-5.40, +7.90]
idle memory utilization -0.27 [-0.29, -0.25]
file_tree memory utilization -0.99 [-1.09, -0.89]

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI
file_to_blackhole % cpu utilization +1.25 [-5.40, +7.90]
otel_to_otel_logs ingress throughput +0.33 [-0.42, +1.08]
tcp_syslog_to_blackhole ingress throughput +0.19 [+0.13, +0.26]
dogstatsd_string_interner_8MiB_100k ingress throughput +0.06 [+0.04, +0.07]
trace_agent_json ingress throughput +0.03 [+0.00, +0.06]
dogstatsd_string_interner_128MiB_1k ingress throughput +0.00 [-0.05, +0.05]
dogstatsd_string_interner_128MiB_100 ingress throughput +0.00 [-0.05, +0.05]
dogstatsd_string_interner_8MiB_10k ingress throughput +0.00 [-0.04, +0.04]
dogstatsd_string_interner_8MiB_100 ingress throughput +0.00 [-0.04, +0.04]
dogstatsd_string_interner_8MiB_1k ingress throughput +0.00 [-0.04, +0.04]
dogstatsd_string_interner_64MiB_100 ingress throughput -0.00 [-0.04, +0.04]
tcp_dd_logs_filter_exclude ingress throughput -0.00 [-0.06, +0.06]
dogstatsd_string_interner_8MiB_50k ingress throughput -0.00 [-0.04, +0.04]
uds_dogstatsd_to_api ingress throughput -0.00 [-0.04, +0.04]
dogstatsd_string_interner_64MiB_1k ingress throughput -0.00 [-0.04, +0.04]
trace_agent_msgpack ingress throughput -0.02 [-0.05, +0.01]
process_agent_standard_check memory utilization -0.22 [-0.27, -0.18]
process_agent_standard_check_with_stats memory utilization -0.25 [-0.29, -0.20]
idle memory utilization -0.27 [-0.29, -0.25]
process_agent_real_time_mode memory utilization -0.79 [-0.82, -0.76]
file_tree memory utilization -0.99 [-1.09, -0.89]

Explanation

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

@mx-psi

This comment was marked as resolved.

@mx-psi mx-psi force-pushed the mx-psi/otel-mapping-v0.9.0 branch from d4841b2 to 4c1e252 Compare December 13, 2023 14:17
@mx-psi mx-psi marked this pull request as ready for review December 13, 2023 14:19
@mx-psi mx-psi requested review from a team as code owners December 13, 2023 14:19
@mx-psi mx-psi requested review from dineshg13 and mackjmr December 13, 2023 14:19
Copy link
Contributor

@drichards-87 drichards-87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left you the tiniest of suggestions on the release note.

Co-authored-by: DeForest Richards <[email protected]>
@mx-psi
Copy link
Member Author

mx-psi commented Dec 21, 2023

@DataDog/agent-apm any chance you can review this? 🙏

Copy link
Contributor

@ajgajg1134 ajgajg1134 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good from agent apm!

@mx-psi mx-psi merged commit 705ac24 into main Dec 22, 2023
163 checks passed
@mx-psi mx-psi deleted the mx-psi/otel-mapping-v0.9.0 branch December 22, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/otlp PRs and issues related to OTLP ingest team/opentelemetry OpenTelemetry team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants