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/internal/common to v0.101.0 (#33171)

[![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/internal/common](https://togithub.com/open-telemetry/opentelemetry-collector-contrib)
| `v0.100.0` -> `v0.101.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fcommon/v0.101.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%2finternal%2fcommon/v0.101.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%2finternal%2fcommon/v0.100.0/v0.101.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%2finternal%2fcommon/v0.100.0/v0.101.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/internal/common)</summary>

###
[`v0.101.0`](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/blob/HEAD/CHANGELOG.md#v01010)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.100.0...v0.101.0)

##### 🛑 Breaking changes 🛑

- `sumologicexporter`: change logs behavior
([#&#8203;31479](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31479))
    -   set OTLP as default format
    -   add support for OTLP format
    -   do not support metadata attributes
    -   do not support source headers

- `sumologicexporter`: change metrics behavior
([#&#8203;31479](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31479))
    -   remove suppport for carbon2 and graphite
    -   add support for otlp format
    -   do not support metadata attributes
    -   do not support source headers
    -   set otlp as default metrics format

- `sumologicexporter`: remove deprecated configuration options
([#&#8203;32315](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32315))
    migration has been described in the following document

https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.100.0/exporter/sumologicexporter#migration-to-new-architecture

- `remotetapprocessor`: Make the `limit` configuration work properly.
([#&#8203;32385](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32385))
The `limit` configuration was ignored previously, but now it works
according to the configuration and documentation.
    Nothing is required of users.
    See the remotetapprocessor's `README.md` for details.

- `groupbytraceprocessor`: Fix groupbytrace metrics contain duplicate
prefix
([#&#8203;32698](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32698))

- `vcenterreceiver`: Removes `vcenter.cluster.name` attribute from
`vcenter.datastore` metrics
([#&#8203;32674](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32674))
If there were multiple Clusters, Datastore metrics were being repeated
under Resources differentiated with a
`vcenter.cluster.name` resource attribute. In the same vein, if there
were standalone Hosts, in addition to
clusters the metrics would be repeated under a Resource without the
`vcenter.cluster.name` attribute. Now there
will only be a single set of metrics for one Datastore (as there should
be, as Datastores don't belong to
    Clusters).

- `resourcedetectionprocessor`: Move
`processor.resourcedetection.hostCPUModelAndFamilyAsString` feature gate
to stable.
([#&#8203;29025](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29025))

- `filelog, journald, tcp, udp, syslog, windowseventlog receivers`: The
internal logger has been changed from zap.SugaredLogger to zap.Logger.
([#&#8203;32177](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32177))
This should not have any meaningful impact on most users but the logging
format for some logs may have changed.

- `awsxrayexporter`: change x-ray exporter's translator to make "."
split annotation pass as-is
([#&#8203;32694](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32694),
[#&#8203;31732](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31732))
This change make below change to beta stage for feature gate
'exporter.xray.allowDot',this change will let the change mention below
enable by default | In the past, X-Ray doesn’t support “.”. So we have a
translator in x-ray export to translates it to “\_” before sending
traces to X-Ray Service. | To match otel naming style, x-ray service
team decide to change their service to support both "." type and "" type
of naming. In this case the translator that translate "." to "" is
no-longer needed. This PR change the way this translator work | X-Ray
PMs agree on rolling out this change by using feature-gate

##### 🚀 New components 🚀

- `awss3receiver`: Initial implementation of the AWS S3 receiver.
([#&#8203;30750](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30750))

- `receiver/mysql`: Adds INFORMATION_SCHEMA TABLES metrics
([#&#8203;32693](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32693))
This adds table size metrics using the INFORMATION_SCHEMA TABLES table:
https://dev.mysql.com/doc/refman/8.3/en/information-schema-tables-table.html.
Specifically, we are adding the columns: `TABLE_ROWS`, `AVG_ROW_LENGTH`,
`DATA_LENGTH`, `INDEX_LENGTH`.

- `exporter/otelarrow`: Implementation copied from
opentelemetry/otel-arrow repository
[@&#8203;v0](https://togithub.com/v0).23.0.
([#&#8203;26491](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/26491))

##### 💡 Enhancements 💡

- `filelogreceiver`: Add container operator parser
([#&#8203;31959](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31959))

- `jsonlogencodingextension`: Move jsonlogencodingextension to alpha
([#&#8203;32697](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32697))

- `exceptionsconnector`: Make span name a default dimension for ouput
metrics and log records.
([#&#8203;32162](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32162))

- `azureblobreceiver`: Support service principal authentication for Blob
storage
([#&#8203;32705](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32705))

- `deltatocumulativeprocessor`: exponential histogram accumulation
([#&#8203;31340](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31340))
accumulates exponential histogram datapoints by adding respective bucket
counts. also handles downscaling, changing zero-counts, offset adaptions
and optional fields

- `sumologicexporter`: add sticky session support
([#&#8203;32315](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32315))

- `elasticsearchexporter`: Replace go-elasticsearch BulkIndexer with
go-docappender
([#&#8203;32378](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32378))
Replace go-elasticsearch BulkIndexer with go-docappender bulk indexer,
in preparation for future reliability fixes.
    As a result of this change, there are minor behavioral differences:
    -   flush timeout is now enforced on client side
    -   oversize payload special handling is now removed
- go-docappender uses bulk request filterPath which means bulk response
is smaller, less JSON parsing and lower CPU usage
- document level retry debug logging is removed as retries are done
transparently

- `elasticsearchexporter`: Converts more SemConv fields in OTel events
to ECS fields in Elasticsearch documents when `mapping.mode: ecs` is
specified.
([#&#8203;31694](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31694))

- `extension/storage/filestorage`: New flag cleanup_on_start for the
compaction section (default=false).
([#&#8203;32863](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32863))
It will remove all temporary files in the compaction directory (those
which start with `tempdb`),
temp files will be left if a previous run of the process is killed while
compacting.

- `opampsupervisor`: Allows the supervisor to persist its instance ID
between restarts.
([#&#8203;21073](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/21073))

- `opampsupervisor`: Adds the ability to configure the agent description
([#&#8203;32824](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32824))

- `vcenterreceiver`: Refactors how and when client makes calls in order
to provide for faster collection times.
([#&#8203;31837](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31837))

- `resourcedetectionprocessor`: Support GCP Bare Metal Solution in
resource detection processor.
([#&#8203;32985](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32985))

- `splunkhecreceiver`: Make the channelID header check case-insensitive
and allow hecreceiver endpoints able to extract channelID from query
params
([#&#8203;32995](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32995))

- `processor/transform`: Allow common where clause
([#&#8203;27830](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27830))

- `loadbalancingexporter`: Improve the performance when merging traces
belonging to the same backend
([#&#8203;32032](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32032))

- `pkg/ottl`: Added support for timezone in Time converter
([#&#8203;32140](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32140))

- `jsonlogencodingextension`: Adds a new encoding option for JSON log
encoding exension to grab attributes and resources from a log and output
that in JSON format.
([#&#8203;32679](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32679))

- `probabilisticsamplerprocessor`: Adds the `FailClosed` flag to
solidify current behavior when randomness source is missing.
([#&#8203;31918](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31918))

- `prometheusremotewriteexporter`: Add
`exporter.prometheusremotewritexporter.RetryOn429` feature gate to retry
on http status code 429 response.
([#&#8203;31032](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31032))
    The feature gate is initially disabled by default.

- `vcenterreceiver`: Changing various default configurations for
vcenterreceiver and removing warnings about future release.
([#&#8203;32803](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32803),
[#&#8203;32805](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32805),
[#&#8203;32821](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32821),
[#&#8203;32531](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32531),
[#&#8203;32557](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32557))
The resource attributes that will now be enabled by default are
`vcenter.datacenter.name`, `vcenter.virtual_app.name`,
`vcenter.virtual_app.inventory_path`, `vcenter.vm_template.name`, and
`vcenter.vm_template.id`. The metric
`vcenter.cluster.memory.used` will be removed. The metrics
`vcenter.cluster.vm_template.count` and
    `vcenter.vm.memory.utilization` will be enabled by default.

- `sqlserverreceiver`: Add metrics for database status
([#&#8203;29865](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29865))

- `sqlserverreceiver`: Add more metrics
([#&#8203;29865](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29865))
    Added metrics are:
    -   sqlserver.resource_pool.disk.throttled.read.rate
    -   sqlserver.resource_pool.disk.throttled.write.rate
    -   sqlserver.processes.blocked
These metrics are only available when directly connecting to the SQL
server instance

- `extension/encoding/text_encoding`: Add support for marshaling and
unmarshaling text with separators.
([#&#8203;32679](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32679))

##### 🧰 Bug fixes 🧰

- `deltatocumulativeprocessor`: Evict only stale streams
([#&#8203;33014](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33014))
Changes eviction behavior to only evict streams that are actually stale.
Currently, once the stream limit is hit, on each new stream the oldest
tracked one is evicted.
Under heavy load this can rapidly delete all streams over and over,
rendering the processor useless.

- `elasticsearchexporter`: Retried docs are no longer included in failed
docs in an edge case where all errors are retriable
([#&#8203;33092](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33092))
    Update dep go-docappender to 2.1.2.
This fixes the bug when all errors are retriable in bulk request
response, retried docs will be included in failed docs.

- `cmd/opampsupervisor`: The OpAMP supervisor now configures the `ppid`
parameter of the opamp extension, which allows the collector to shut
down if the supervisor is no longer running.
([#&#8203;32189](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32189))

- `vcenterreceiver`: Adds inititially disabled packet drop rate metric
for VMs.
([#&#8203;32929](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32929))

- `awskinesisexporter`: fixed compressed data not generating the
compression footers
([#&#8203;32860](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32860))

- `splunkhecreceiver`: Fix single metric value parsing
([#&#8203;33084](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33084))

- `vcenterreceiver`: vcenterreceiver client no longer returns error if
no Virtual Apps are found.
([#&#8203;33073](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33073))

- `vcenterreceiver`: Adds inititially disabled new packet rate metrics
to replace the existing ones for VMs & Hosts.
([#&#8203;32835](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32835))

- `googlecloudpubsubreceiver`: Fix memory leak during shutdown
([#&#8203;32361](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32361))

- `datadogexporter`: Compress host metadata before sending with gzip.
([#&#8203;32992](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32992))

- `resourcedetectionprocessor`: Change type of `host.cpu.stepping` from
int to string.
([#&#8203;31136](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31136))
- Disable the `processor.resourcedetection.hostCPUSteppingAsString`
feature gate to get the old behavior.

- `pkg/ottl`: Fixes a bug where function name could be used in a
condition, resulting in a cryptic error message.
([#&#8203;33051](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33051))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInJlbm92YXRlYm90Il19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored May 21, 2024
1 parent 80317ce commit 8eae8e4
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 @@ -4,7 +4,7 @@ go 1.21.0

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

0 comments on commit 8eae8e4

Please sign in to comment.