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

chore(deps): update otel-collector upstream dependencies to v0.104.0 #78

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 1, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter v0.103.0 -> v0.104.0 age adoption passing confidence exports minor
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter v0.103.0 -> v0.104.0 age adoption passing confidence exports minor
github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.103.0 -> v0.104.0 age adoption passing confidence extensions minor
github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.103.0 -> v0.104.0 age adoption passing confidence extensions minor
github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.103.0 -> v0.104.0 age adoption passing confidence extensions minor
github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.103.0 -> v0.104.0 age adoption passing confidence extensions minor
github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.103.0 -> v0.104.0 age adoption passing confidence extensions minor
github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.103.0 -> v0.104.0 age adoption passing confidence extensions minor
github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.103.0 -> v0.104.0 age adoption passing confidence processors minor
github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.103.0 -> v0.104.0 age adoption passing confidence processors minor
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver v0.103.0 -> v0.104.0 age adoption passing confidence receivers minor
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver v0.103.0 -> v0.104.0 age adoption passing confidence receivers minor
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.103.0 -> v0.104.0 age adoption passing confidence receivers minor
go.opentelemetry.io/collector 0.103.0 -> 0.104.0 age adoption passing confidence collector minor
go.opentelemetry.io/collector/exporter/nopexporter v0.103.0 -> v0.104.0 age adoption passing confidence exports minor
go.opentelemetry.io/collector/exporter/otlpexporter v0.103.0 -> v0.104.0 age adoption passing confidence exports minor
go.opentelemetry.io/collector/exporter/otlphttpexporter v0.103.0 -> v0.104.0 age adoption passing confidence exports minor
go.opentelemetry.io/collector/receiver/otlpreceiver v0.103.0 -> v0.104.0 age adoption passing confidence receivers minor
open-telemetry/opentelemetry-collector 0.103.0 -> 0.104.0 age adoption passing confidence minor
open-telemetry/opentelemetry-collector 0.103.1 -> 0.104.0 age adoption passing confidence minor

Release Notes

open-telemetry/opentelemetry-collector-contrib (github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter)

v0.104.0

Compare Source

🛑 Breaking changes 🛑
  • sumologicexporter: removed compress_encoding (#​33604)

  • exporter/clickhouse: Change behavior of how default database is read from the config (#​33693)
    Changed the default database to default.
    The final database will prioritize endpoint, unless database is set to a value not equal to default.
    If neither are specified then it defaults to the default database.
    Possible breaking change if someone has the DSN configured in combination with database config option.

  • exporter/clickhouse: Add async_insert config option to enable inserting asynchronously by default. (#​33614)
    Adds async_insert config option to enable inserting asynchronously by default.
    To preserve the previous behavior, set async_insert to false in your config.
    When enabled, the exporter will insert asynchronously, which can improve performance for high-throughput deployments.
    The async_insert option can be set to true or false to enable or disable async inserts, respectively. The default value is true.
    Keep in mind this setting is added since the exporter now sets it to default.
    Async insert and its related settings can still be defined in endpoint and connection_params, which take priority over the new config option.

  • clickhouseexporter: Add AggregationTemporality column to histogram and exponential histogram tables. Rename AggTemp column to AggregationTemporality in sum table. (#​33424)
    It's a breaking change. users who upgrade to the latest version need to alter the Clickhouse table:

    ALTER TABLE otel_metrics_exponential_histogram ADD COLUMN AggregationTemporality Int32 CODEC(ZSTD(1));
    ALTER TABLE otel_metrics_histogram ADD COLUMN AggregationTemporality Int32 CODEC(ZSTD(1));
    ALTER TABLE otel_metrics_sum RENAME COLUMN AggTemp TO AggregationTemporality;
  • exporter/clickhouse: Remove deprecated ttl_days config option, use ttl instead. (#​33648)

  • vcenterreceiver: Drops support for vCenter 6.7 (#​33607)

  • all: Promote component.UseLocalHostAsDefaultHost feature gate to beta. This changes default endpoints from 0.0.0.0 to localhost (#​30702)
    This change affects the following components:

    • extension/awsproxy
    • extension/health_check
    • extension/health_checkv2
    • extension/jaegerremotesampling
    • internal/aws/proxy
    • processor/remotetap
    • receiver/awsfirehose
    • receiver/awsxray
    • receiver/influxdb
    • receiver/jaeger
    • receiver/loki
    • receiver/opencensus
    • receiver/sapm
    • receiver/signalfx
    • receiver/skywalking
    • receiver/splunk_hec
    • receiver/zipkin
    • receiver/zookeeper
  • receiver/mongodb: Graduate receiver.mongodb.removeDatabaseAttr feature gate to stable (#​24972)

🚩 Deprecations 🚩
  • exporter/elasticsearch: Deprecate the "dedot" configuration. (#​33772)
    dedot has been deprecated, and will always be enabled in ECS mode and disabled for other modes in future
  • exporter/elasticsearch: Deprecate the "dedup" configuration. (#​33773)
    dedup has been deprecated, and will always be enabled in future.
🚀 New components 🚀
  • otelarrow: OTel-Arrow exporter and receiver are marked alpha, added to otelcontribcol (#​26491)
💡 Enhancements 💡
  • exporter/elasticsearch: Add initial support for metrics (#​33513)

  • elasticsearchexporter: Add translation for k8s.deployment.name resource attribute (#​33622)

  • k8sattributesprocessor: Add support for exposing k8s.pod.ip as a resource attribute (#​32960)

  • geoipprocessor: Add MaxMind geoip provider for GeoIP2-City and GeoLite2-City databases. (#​32663)

  • vcenterreceiver: Adds vCenter CPU readiness metric for VMs. (#​33607)

  • awsemfexporter: AWS EMF Exporter to add AppSignals metadata flag into the user-agent (#​32998)

  • receiver/mongodb: Ensure support of 6.0 and 7.0 MongoDB versions with integration tests (#​32716)

  • sumologicexporter: added timeout validation (#​33151)

  • clickhouseexporter: Updated the default logs table to a more optimized schema (#​33611)
    Simplified data types, improved partitioning and time range queries.

  • datadogconnector: Add a feature gate connector.datadogconnector.NativeIngest that enables datadog connector to use the new native OTel API in APM stats computation. (#​33297)
    The feature gate connector.datadogconnector.NativeIngest is disabled by default.

  • datadogexporter: Adds Kubernetes DD tags to keep when mapping resource attributes (#​33728)
    https://github.com/DataDog/opentelemetry-mapping-go/pull/334/334 for details.

  • exporter/elasticsearch: Add data stream routing (#​33794, #​33756)
    data_stream.dataset and data_stream.namespace in attributes will be respected when config *_dynamic_index.enabled is true.

  • exporter/elasticsearch: Encode metrics resource attributes in ECS mapping mode (#​33823)

  • elasticsearchexporter: Preserve host.name resource attribute in ECS mode (#​33670)

  • servicegraphprocessor: Added a new configuration option enable_virtual_node_label to allow users to identify which node is the virtual node in each edge of the service graph. (#​31889)

  • pkg/stanza: Switch JSON parser used by json_parser to github.com/goccy/go-json (#​33784)

  • k8sobserver: Add support for k8s.ingress endpoint. (#​32971)

  • statsdreceiver: Optimize statsdreceiver to reduce object allocations (#​33683)

  • routingprocessor: Use mdatagen to define the component's telemetry (#​33526)

  • loadbalancerexporter: Refactors how the load balancing exporter splits metrics (#​32513)
    All splitting is behaviorally, the same. However, the resource routingID now uses the internal/exp/metrics/identity package to generate the load balancing key, instead of bespoke code. This means that when upgrading to this version your routes for specific metric groupings could change. However, this will be stable and all future metrics will follow the new routing

  • receiver/mongodbreceiver: Add server.address and server.port resource attributes to MongoDB receiver. (#​32810, #​32350)
    The new resource attributes are added to the MongoDB receiver to distinguish metrics coming from different MongoDB instances.

    • server.address: The address of the MongoDB host, enabled by default.
    • server.port: The port of the MongoDB host, disabled by default.
  • observerextension: Expose host and port in endpoint's environment (#​33571)

  • rabbitmqexporter: Promote rabbitmqexporter to alpha. (#​33331)

  • pkg/ottl: Add a schema_url field to access the SchemaURL in resources and scopes on all signals (#​30229)

  • solacereceiver: Renamed some SemConv fields to support latest semantic conventions for messaging spans (version 1.25.0) (#​33499)

  • sqlserverreceiver: Enable more perf counter metrics when directly connecting to SQL Server (#​33420)
    This enables the following metrics by default on non Windows-based systems:
    sqlserver.batch.request.rate
    sqlserver.batch.sql_compilation.rate
    sqlserver.batch.sql_recompilation.rate
    sqlserver.page.buffer_cache.hit_ratio
    sqlserver.user.connection.count

  • extension/googleclientauth: Add Google-signed ID token support (#​33185)
    Update github.com/GoogleCloudPlatform/opentelemetry-operations-go/extension/googleclientauth to v0.48.0.
    With this update, extension/googleclientauth now supports Google-signed ID token as auth header.

  • vcenterreceiver: Adds vCenter CPU capacity and network drop rate metrics to hosts. (#​33607)

🧰 Bug fixes 🧰
  • resourcedetectionprocessor: Fetch CPU info only if related attributes are enabled (#​33774)

  • datasetexporter: Upgrade dataset-go to v0.19.0 and fix found issues (#​33498, #​32533, #​33675)
    Upgrade dataset-go library from v0.18.0 to v0.19.0.
    Enable skipped integration test and adjust the test so it is passing again.
    Do not validate configuration, let the framework run the validation.

  • datasetexporter: Upgrade dataset-go to v0.20.0 (#​33812)
    Upgrade dataset-go library from v0.19.0 to v0.20.0.
    Make number of outgoing connections configurable.

  • datadogexporter: Fix panics on invalid sized trace & span IDs (#​33566)
    https://github.com/DataDog/opentelemetry-mapping-go/pull/340/340 for details.

  • datadogexporter: Ignore metric datapoints with no recorded value flag (#​33728)
    This flag is not supported by Datadog, so we just ignore these datapoints. https://github.com/DataDog/opentelemetry-mapping-go/pull/330/330 for details.

  • tailsamplingprocessor: Fix precedence of inverted match in and policy (#​33671)
    Previously if the decision from a policy evaluation was NotSampled or InvertNotSampled it would return a NotSampled decision regardless, effectively downgrading the result.

    This was breaking the documented behaviour that inverted decisions should take precedence over all others.

  • otelarrowreceiver: Ensure consume operations are not canceled at stream EOF. (#​33570)

  • vcenterreceiver: Fixes errors in some of the client calls for environments containing multiple datacenters. (#​33734)

open-telemetry/opentelemetry-collector (go.opentelemetry.io/collector)

v0.104.0

Compare Source

This release includes 2 very important breaking changes.

  1. The otlpreceiver will now use localhost by default instead of 0.0.0.0. This may break the receiver in containerized environments like Kubernetes. If you depend on 0.0.0.0 disable the component.UseLocalHostAsDefaultHost feature gate or explicitly set the endpoint to 0.0.0.0.
  2. Expansion of BASH-style environment variables, such as $FOO will no longer be supported by default. If you depend on this syntax, disable the confmap.unifyEnvVarExpansion feature gate, but know that the feature will be removed in the future in favor of ${env:FOO}.
🛑 Breaking changes 🛑
  • filter: Remove deprecated filter.CombinedFilter (#​10348)
  • otelcol: By default, otelcol.NewCommand and otelcol.NewCommandMustSetProvider will set the DefaultScheme to env. (#​10435)
  • expandconverter: By default expandconverter will now error if it is about to expand $FOO syntax. Update configuration to use ${env:FOO} instead or disable the confmap.unifyEnvVarExpansion feature gate. (#​10435)
  • otlpreceiver: Switch to localhost as the default for all endpoints. (#​8510)
    Disable the component.UseLocalHostAsDefaultHost feature gate to temporarily get the previous default.
💡 Enhancements 💡
  • confighttp: Add support for cookies in HTTP clients with cookies::enabled. (#​10175)
    The method confighttp.ToClient will return a client with a cookiejar.Jar which will reuse cookies from server responses in subsequent requests.
  • exporter/debug: In normal verbosity, display one line of text for each telemetry record (log, data point, span) (#​7806)
  • exporter/debug: Add option use_internal_logger (#​10226)
  • configretry: Mark module as stable. (#​10279)
  • debugexporter: Print Span.TraceState() when present. (#​10421)
    Enables viewing sampling threshold information (as by OTEP 235 samplers).
  • processorhelper: Add "inserted" metrics for processors. (#​10353)
    This includes the following metrics for processors:
    • processor_inserted_spans
    • processor_inserted_metric_points
    • processor_inserted_log_records
🧰 Bug fixes 🧰
  • otlpexporter: Update validation to support both dns:// and dns:/// (#​10449)
  • service: Fixed a bug that caused otel-collector to fail to start with ipv6 metrics endpoint service telemetry. (#​10011)

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

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

Copy link

coderabbitai bot commented Jul 1, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Tip

Early access features: enabled

We are currently testing the following features in early access:

  • OpenAI gpt-4o model for code reviews and chat: OpenAI claims that this model is better at understanding and generating code than the previous models. We seek your feedback over the next few weeks before making it generally available.

Note:

  • You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file.
  • Please join our Discord Community to provide feedback and report issues.
  • OSS projects are currently opted into early access features by default.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/otel-collector-upstream-dependencies branch from dee63e0 to 7c36645 Compare July 2, 2024 01:42
@jpkrohling jpkrohling merged commit d692d1e into main Jul 2, 2024
61 checks passed
@jpkrohling jpkrohling deleted the renovate/otel-collector-upstream-dependencies branch July 2, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant