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

fix(deps): update opentelemetry-go monorepo (main) #3390

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 2, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 -> v1.28.0 age adoption passing confidence require minor
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 -> v1.28.0 age adoption passing confidence require minor
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 -> v1.28.0 age adoption passing confidence require minor
go.opentelemetry.io/otel/sdk v1.27.0 -> v1.28.0 age adoption passing confidence require minor
go.opentelemetry.io/otel/sdk/metric v1.27.0 -> v1.28.0 age adoption passing confidence require minor
go.opentelemetry.io/otel/semconv 1.25.0 -> 1.26.0 age adoption passing confidence minor

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp)

v1.28.0: Releases v1.28.0/v0.50.0/v0.4.0

Compare Source

Overview

Added
  • The IsEmpty method is added to the Instrument type in go.opentelemetry.io/otel/sdk/metric.
    This method is used to check if an Instrument instance is a zero-value. (#​5431)
  • Store and provide the emitted context.Context in ScopeRecords of go.opentelemetry.io/otel/sdk/log/logtest. (#​5468)
  • The go.opentelemetry.io/otel/semconv/v1.26.0 package.
    The package contains semantic conventions from the v1.26.0 version of the OpenTelemetry Semantic Conventions. (#​5476)
  • The AssertRecordEqual method to go.opentelemetry.io/otel/log/logtest to allow comparison of two log records in tests. (#​5499)
  • The WithHeaders option to go.opentelemetry.io/otel/exporters/zipkin to allow configuring custom http headers while exporting spans. (#​5530)
Changed
  • Tracer.Start in go.opentelemetry.io/otel/trace/noop no longer allocates a span for empty span context. (#​5457)
  • Upgrade go.opentelemetry.io/otel/semconv/v1.25.0 to go.opentelemetry.io/otel/semconv/v1.26.0 in go.opentelemetry.io/otel/example/otel-collector. (#​5490)
  • Upgrade go.opentelemetry.io/otel/semconv/v1.25.0 to go.opentelemetry.io/otel/semconv/v1.26.0 in go.opentelemetry.io/otel/example/zipkin. (#​5490)
  • Upgrade go.opentelemetry.io/otel/semconv/v1.25.0 to go.opentelemetry.io/otel/semconv/v1.26.0 in go.opentelemetry.io/otel/exporters/zipkin. (#​5490)
    • The exporter no longer exports the deprecated "otel.library.name" or "otel.library.version" attributes.
  • Upgrade go.opentelemetry.io/otel/semconv/v1.25.0 to go.opentelemetry.io/otel/semconv/v1.26.0 in go.opentelemetry.io/otel/sdk/resource. (#​5490)
  • Upgrade go.opentelemetry.io/otel/semconv/v1.25.0 to go.opentelemetry.io/otel/semconv/v1.26.0 in go.opentelemetry.io/otel/sdk/trace. (#​5490)
  • SimpleProcessor.OnEmit in go.opentelemetry.io/otel/sdk/log no longer allocates a slice which makes it possible to have a zero-allocation log processing using SimpleProcessor. (#​5493)
  • Use non-generic functions in the Start method of "go.opentelemetry.io/otel/sdk/trace".Trace to reduce memory allocation. (#​5497)
  • service.instance.id is populated for a Resource created with "go.opentelemetry.io/otel/sdk/resource".Default with a default value when OTEL_GO_X_RESOURCE is set. (#​5520)
  • Improve performance of metric instruments in go.opentelemetry.io/otel/sdk/metric by removing unnecessary calls to time.Now. (#​5545)
Fixed
  • Log a warning to the OpenTelemetry internal logger when a Record in go.opentelemetry.io/otel/sdk/log drops an attribute due to a limit being reached. (#​5376)
  • Identify the Tracer returned from the global TracerProvider in go.opentelemetry.io/otel/global with its schema URL. (#​5426)
  • Identify the Meter returned from the global MeterProvider in go.opentelemetry.io/otel/global with its schema URL. (#​5426)
  • Log a warning to the OpenTelemetry internal logger when a Span in go.opentelemetry.io/otel/sdk/trace drops an attribute, event, or link due to a limit being reached. (#​5434)
  • Document instrument name requirements in go.opentelemetry.io/otel/metric. (#​5435)
  • Prevent random number generation data-race for experimental rand exemplars in go.opentelemetry.io/otel/sdk/metric. (#​5456)
  • Fix counting number of dropped attributes of Record in go.opentelemetry.io/otel/sdk/log. (#​5464)
  • Fix panic in baggage creation when a member contains 0x80 char in key or value. (#​5494)
  • Correct comments for the priority of the WithEndpoint and WithEndpointURL options and their corresponding environment variables in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#​5508)
  • Retry trace and span ID generation if it generated an invalid one in go.opentelemetry.io/otel/sdk/trace. (#​5514)
  • Fix stale timestamps reported by the last-value aggregation. (#​5517)
  • Indicate the Exporter in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp must be created by the New method. (#​5521)
  • Improved performance in all {Bool,Int64,Float64,String}SliceValue functions of go.opentelemetry.io/attributes by reducing the number of allocations. (#​5549)

What's Changed

New Contributors

Full Changelog: open-telemetry/opentelemetry-go@v1.27.0...v1.28.0

open-telemetry/semantic-conventions (go.opentelemetry.io/otel/semconv)

v1.26.0

Compare Source

🛑 Breaking changes 🛑
  • db: Rename db.statement to db.query.text and introduce db.query.parameter.<key> (#​716)

  • db: Renames db.sql.table, db.cassandra.table, db.mongodb.collection, and db.cosmosdb.container attributes to db.collection.name (#​870)

  • db: Rename db.operation to db.operation.name. (#​884)

  • messaging: Rename messaging.operation to messaging.operation.type, add messaging.operation.name. (#​890)

  • db: Deprecate the db.user attribute. (#​885)

  • db: Rename db.name and db.redis.database_index to db.namespace, deprecate db.mssql.instance_name. (#​885)

  • db: Remove db.instance.id. For Elasticsearch, replace with db.elasticsearch.node.name. (#​972)

  • db: Clarify database span name format and fallback values. (#​974, #​704)

  • db: Rename db.client.connections.* metric namespace to db.client.connection.* and rename db.client.connection.usage to db.client.connection.count.
    (#​201, #​967)

  • db: Rename pool.name to db.client.connections.pool.name and state to db.client.connections.state. (#​909)

  • system: Deprecate shared from system.memory.state values and make it a standalone metric (#​522)

  • device.app.lifecycle: Reformat and update the device.app.lifecycle event description adds constraints for the possible values of the android.state and ios.state.
    (#​794)
    Removes the ios.lifecycle.events and android.lifecycle.events attributes from the global registry and adds constraints for the possible values of the android.state and ios.state attributes.

  • messaging: Rename messaging.client_id to messaging.client.id (#​935)

  • rpc: Renamemessage.* attributes under rpc to rpc.message.*. Deprecate old message.* attributes. (#​854)

🚀 New components 🚀
  • gen-ai: Introducing semantic conventions for GenAI clients. (#​327)
💡 Enhancements 💡
  • all: Markdown snippets are now generated by jinja templates in the templates directory. (#​1000)

  • db, messaging, gen_ai: Clarify that db.system, messaging.system, gen_ai.system attributes capture the client perception and may differ from the actual product name. (#​813, #​1016)

  • messaging: Show all applicable attributes in individual messaging semantic conventions. (#​869, #​1018)

  • process: Add additional attributes to process attribute registry (#​564)

  • messaging: Add a GCP Pub/Sub unary pull example and the new GCP messaging attributes: - messaging.gcp_pubsub.message.ack_deadline, - messaging.gcp_pubsub.message.ack_id, - messaging.gcp_pubsub.message.delivery_attempt (#​527)

  • db: Add db.client.operation.duration metric (#​512)

  • messaging: Adds `messaging.destination.partition.id`` to the messaging attributes (#​814)

  • exception: Replace constraints with requirement levels on exceptions. (#​862)

  • process: Replace constraints with requirement_level in process attributes. (#​863)

  • db: Reorganize DB conventions to be shared across span and metric conventions. (#​910)

  • all: Migrate Attribute Registry to be completely autogenerated. (#​197)
    Migrate to using weaver for markdown generation (snippet + registry).
    The entirety of the registry now is generated using weaver with templates
    under the templates/ directory. Snippets still require a hardcoded
    command.

  • http: List all HTTP client and server attributes in the corresponding table, remove common attributes from yaml and markdown. (#​928)

  • other: Document patterns and suggestions for semconv code generation. (#​551, #​953)

  • db: Show applicable common attributes in individual database semantic conventions. (#​973)

  • db: Add error.type attribute to the database span and operation duration metric. (#​975)

  • db: Parameterized query text does not need to be sanitized by default (#​976)

  • http: List experimental HTTP attributes applicable to HTTP client and server spans. (#​989)

  • db: Finalizes the migration requirement for instrumentations to follow when updating to stable database semconv. (#​719)

  • http: New url.template attribute added to URL, HTTP client attributes are extended with optional low-cardinality url.template (#​675)

  • db: Add note to db.collection.name, db.namespace, and db.operation.name about capturing those without attempting to do any case normalization.
    (#​886)

  • events: Provides additional definitions of log events and their structure. (#​755)

  • k8s: add container.status.last_terminated_reason resource attribute (#​922)

🧰 Bug fixes 🧰
  • http: Add previously deprecated http attributes to registry (#​1025)
    These attributes were deprecated in 1.13
  • net: Add previously deprecated net attributes to registry (#​1029)
    These attributes were deprecated in 1.13

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner July 2, 2024 23:11
@renovate renovate bot added the dependencies Changes in our dependencies label Jul 2, 2024
@renovate renovate bot enabled auto-merge (squash) July 2, 2024 23:11
Copy link
Contributor Author

renovate bot commented Jul 2, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated

Details:

Package Change
go.opentelemetry.io/proto/otlp v1.2.0 -> v1.3.1
google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 -> v0.0.0-20240701130421-f6361c86f094
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 -> v0.0.0-20240701130421-f6361c86f094
google.golang.org/protobuf v1.34.1 -> v1.34.2

@renovate renovate bot force-pushed the renovate/main-opentelemetry-go-monorepo branch 19 times, most recently from f7c4941 to 823806c Compare July 6, 2024 01:51
@renovate renovate bot force-pushed the renovate/main-opentelemetry-go-monorepo branch 6 times, most recently from 927924b to 4bb7518 Compare July 9, 2024 18:15
@andriisoldatenko andriisoldatenko self-assigned this Jul 10, 2024
@andriisoldatenko
Copy link
Contributor

depends on #3434

@renovate renovate bot force-pushed the renovate/main-opentelemetry-go-monorepo branch from f0958d2 to c9af201 Compare July 10, 2024 13:07
@andriisoldatenko andriisoldatenko self-requested a review July 10, 2024 13:08
@renovate renovate bot force-pushed the renovate/main-opentelemetry-go-monorepo branch 4 times, most recently from 7bbbe41 to 678680e Compare July 10, 2024 19:10
@renovate renovate bot force-pushed the renovate/main-opentelemetry-go-monorepo branch from 678680e to a34fdc6 Compare July 11, 2024 07:56
@renovate renovate bot changed the title fix(deps): update opentelemetry-go monorepo to v1.28.0 (main) fix(deps): update opentelemetry-go monorepo (main) Jul 11, 2024
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.23%. Comparing base (27f1b4d) to head (a34fdc6).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3390   +/-   ##
=======================================
  Coverage   57.23%   57.23%           
=======================================
  Files         344      344           
  Lines       19781    19781           
=======================================
  Hits        11322    11322           
  Misses       7221     7221           
  Partials     1238     1238           
Flag Coverage Δ
unittests 57.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot merged commit 79211a9 into main Jul 11, 2024
19 checks passed
@renovate renovate bot deleted the renovate/main-opentelemetry-go-monorepo branch July 11, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Changes in our dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants