Skip to content

Commit

Permalink
Update module github.com/open-telemetry/opentelemetry-collector-contr…
Browse files Browse the repository at this point in the history
…ib/cmd/telemetrygen to v0.104.0 (#33849)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen](https://github.com/open-telemetry/opentelemetry-collector-contrib)
| `v0.103.0` -> `v0.104.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.104.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.104.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.103.0/v0.104.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.103.0/v0.104.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-collector-contrib
(github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen)</summary>

###
[`v0.104.0`](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/HEAD/CHANGELOG.md#v01040)

[Compare
Source](https://github.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.103.0...v0.104.0)

##### 🛑 Breaking changes 🛑

- `sumologicexporter`: removed compress_encoding
([#&#8203;33604](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33604))

- `exporter/clickhouse`: Change behavior of how default database is read
from the config
([#&#8203;33693](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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.
([#&#8203;33614](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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.
([#&#8203;33424](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33424))
It's a breaking change. users who upgrade to the latest version need to
alter the Clickhouse table:
    ```sql
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.
([#&#8203;33648](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33648))

- `vcenterreceiver`: Drops support for vCenter 6.7
([#&#8203;33607](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33607))

- `all`: Promote `component.UseLocalHostAsDefaultHost` feature gate to
beta. This changes default endpoints from 0.0.0.0 to localhost
([#&#8203;30702](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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
([#&#8203;24972](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/24972))

##### 🚩 Deprecations 🚩

- `exporter/elasticsearch`: Deprecate the "dedot" configuration.
([#&#8203;33772](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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.
([#&#8203;33773](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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
([#&#8203;26491](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/26491))

##### 💡 Enhancements 💡

- `exporter/elasticsearch`: Add initial support for metrics
([#&#8203;33513](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33513))

- `elasticsearchexporter`: Add translation for k8s.deployment.name
resource attribute
([#&#8203;33622](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33622))

- `k8sattributesprocessor`: Add support for exposing `k8s.pod.ip` as a
resource attribute
([#&#8203;32960](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32960))

- `geoipprocessor`: Add MaxMind geoip provider for GeoIP2-City and
GeoLite2-City databases.
([#&#8203;32663](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32663))

- `vcenterreceiver`: Adds vCenter CPU readiness metric for VMs.
([#&#8203;33607](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33607))

- `awsemfexporter`: AWS EMF Exporter to add AppSignals metadata flag
into the user-agent
([#&#8203;32998](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32998))

- `receiver/mongodb`: Ensure support of 6.0 and 7.0 MongoDB versions
with integration tests
([#&#8203;32716](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32716))

- `sumologicexporter`: added timeout validation
([#&#8203;33151](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33151))

- `clickhouseexporter`: Updated the default logs table to a more
optimized schema
([#&#8203;33611](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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.
([#&#8203;33297](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33297))
The feature gate `connector.datadogconnector.NativeIngest` is disabled
by default.

- `datadogexporter`: Adds Kubernetes DD tags to keep when mapping
resource attributes
([#&#8203;33728](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33728))

[DataDog/opentelemetry-mapping-go#334
for details.

- `exporter/elasticsearch`: Add data stream routing
([#&#8203;33794](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33794),
[#&#8203;33756](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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
([#&#8203;33823](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33823))

- `elasticsearchexporter`: Preserve `host.name` resource attribute in
ECS mode
([#&#8203;33670](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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.
([#&#8203;31889](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/31889))

- `pkg/stanza`: Switch JSON parser used by json_parser to
github.com/goccy/go-json
([#&#8203;33784](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33784))

- `k8sobserver`: Add support for k8s.ingress endpoint.
([#&#8203;32971](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32971))

- `statsdreceiver`: Optimize statsdreceiver to reduce object allocations
([#&#8203;33683](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33683))

- `routingprocessor`: Use mdatagen to define the component's telemetry
([#&#8203;33526](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33526))

- `loadbalancerexporter`: Refactors how the load balancing exporter
splits metrics
([#&#8203;32513](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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.
([#&#8203;32810](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32810),
[#&#8203;32350](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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
([#&#8203;33571](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33571))

- `rabbitmqexporter`: Promote rabbitmqexporter to alpha.
([#&#8203;33331](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33331))

- `pkg/ottl`: Add a `schema_url` field to access the SchemaURL in
resources and scopes on all signals
([#&#8203;30229](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/30229))

- `solacereceiver`: Renamed some SemConv fields to support latest
semantic conventions for messaging spans (version `1.25.0`)
([#&#8203;33499](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33499))

- `sqlserverreceiver`: Enable more perf counter metrics when directly
connecting to SQL Server
([#&#8203;33420](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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
([#&#8203;33185](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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.
([#&#8203;33607](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33607))

##### 🧰 Bug fixes 🧰

- `resourcedetectionprocessor`: Fetch CPU info only if related
attributes are enabled
([#&#8203;33774](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33774))

- `datasetexporter`: Upgrade dataset-go to v0.19.0 and fix found issues
([#&#8203;33498](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33498),
[#&#8203;32533](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32533),
[#&#8203;33675](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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
([#&#8203;33812](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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
([#&#8203;33566](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33566))

[DataDog/opentelemetry-mapping-go#340
for details.

- `datadogexporter`: Ignore metric datapoints with `no recorded value`
flag
([#&#8203;33728](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33728))
This flag is not supported by Datadog, so we just ignore these
datapoints.
[DataDog/opentelemetry-mapping-go#330
for details.

- `tailsamplingprocessor`: Fix precedence of inverted match in and
policy
([#&#8203;33671](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/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.
([#&#8203;33570](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33570))

- `vcenterreceiver`: Fixes errors in some of the client calls for
environments containing multiple datacenters.
([#&#8203;33734](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33734))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), 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 this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Jul 2, 2024
1 parent 6f5003f commit fa2e171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/telemetrygen/internal/e2etest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetryge
go 1.21.0

require (
github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen v0.103.0
github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen v0.104.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.104.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.104.0
Expand Down

0 comments on commit fa2e171

Please sign in to comment.