-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[exporter/awsxray] Add span links and messenger field translation to x-ray exporter. #20313
Conversation
Foresight Summary
View More Details⭕ build-and-test-windows workflow has finished in 5 seconds (33 minutes 38 seconds less than
|
Job | Failed Steps | Tests | |
---|---|---|---|
windows-unittest-matrix | - 🔗 | N/A | See Details |
windows-unittest | - 🔗 | N/A | See Details |
✅ check-links workflow has finished in 45 seconds and finished at 27th Mar, 2023.
Job | Failed Steps | Tests | |
---|---|---|---|
changed files | - 🔗 | N/A | See Details |
check-links | - 🔗 | N/A | See Details |
✅ telemetrygen workflow has finished in 1 minute 2 seconds (32 seconds less than main
branch avg.) and finished at 27th Mar, 2023.
Job | Failed Steps | Tests | |
---|---|---|---|
build-dev | - 🔗 | N/A | See Details |
publish-latest | - 🔗 | N/A | See Details |
publish-stable | - 🔗 | N/A | See Details |
✅ changelog workflow has finished in 1 minute 41 seconds and finished at 27th Mar, 2023.
Job | Failed Steps | Tests | |
---|---|---|---|
changelog | - 🔗 | N/A | See Details |
✅ prometheus-compliance-tests workflow has finished in 3 minutes 15 seconds (3 minutes 4 seconds less than main
branch avg.) and finished at 27th Mar, 2023.
Job | Failed Steps | Tests | |
---|---|---|---|
prometheus-compliance-tests | - 🔗 | N/A | See Details |
✅ load-tests workflow has finished in 6 minutes 53 seconds (4 minutes less than main
branch avg.) and finished at 27th Mar, 2023.
Job | Failed Steps | Tests | |
---|---|---|---|
setup-environment | - 🔗 | N/A | See Details |
loadtest (TestIdleMode) | - 🔗 | N/A | See Details |
loadtest (TestBallastMemory|TestLog10kDPS) | - 🔗 | N/A | See Details |
loadtest (TestMetric10kDPS|TestMetricsFromFile) | - 🔗 | N/A | See Details |
loadtest (TestMetricResourceProcessor|TestTrace10kSPS) | - 🔗 | N/A | See Details |
loadtest (TestTraceNoBackend10kSPS|TestTrace1kSPSWithAttrs) | - 🔗 | N/A | See Details |
loadtest (TestTraceBallast1kSPSWithAttrs|TestTraceBallast1kSPSAddAttrs) | - 🔗 | N/A | See Details |
loadtest (TestTraceAttributesProcessor) | - 🔗 | N/A | See Details |
✅ e2e-tests workflow has finished in 12 minutes (2 minutes 50 seconds less than main
branch avg.) and finished at 27th Mar, 2023.
Job | Failed Steps | Tests | |
---|---|---|---|
kubernetes-test (v1.26.0) | - 🔗 | N/A | See Details |
kubernetes-test (v1.25.3) | - 🔗 | N/A | See Details |
kubernetes-test (v1.23.13) | - 🔗 | N/A | See Details |
kubernetes-test (v1.24.7) | - 🔗 | N/A | See Details |
✅ build-and-test workflow has finished in 36 minutes 39 seconds (12 minutes 59 seconds less than main
branch avg.) and finished at 27th Mar, 2023.
Job | Failed Steps | Tests | |
---|---|---|---|
unittest-matrix (1.20, receiver-1) | - 🔗 | ✅ 1965 ❌ 0 ⏭ 0 🔗 | See Details |
setup-environment | - 🔗 | N/A | See Details |
check-collector-module-version | - 🔗 | N/A | See Details |
lint-matrix (receiver-0) | - 🔗 | N/A | See Details |
lint-matrix (receiver-1) | - 🔗 | N/A | See Details |
lint-matrix (processor) | - 🔗 | N/A | See Details |
lint-matrix (exporter) | - 🔗 | N/A | See Details |
lint-matrix (extension) | - 🔗 | N/A | See Details |
lint-matrix (connector) | - 🔗 | N/A | See Details |
lint-matrix (internal) | - 🔗 | N/A | See Details |
lint-matrix (other) | - 🔗 | N/A | See Details |
build-examples | - 🔗 | N/A | See Details |
check-codeowners | - 🔗 | N/A | See Details |
checks | - 🔗 | N/A | See Details |
correctness-metrics | - 🔗 | N/A | See Details |
correctness-traces | - 🔗 | N/A | See Details |
integration-tests | - 🔗 | N/A | See Details |
unittest-matrix (1.20, receiver-0) | - 🔗 | N/A | See Details |
unittest-matrix (1.20, processor) | - 🔗 | N/A | See Details |
unittest-matrix (1.20, exporter) | - 🔗 | N/A | See Details |
unittest-matrix (1.20, extension) | - 🔗 | N/A | See Details |
unittest-matrix (1.20, connector) | - 🔗 | N/A | See Details |
unittest-matrix (1.20, internal) | - 🔗 | N/A | See Details |
unittest-matrix (1.20, other) | - 🔗 | N/A | See Details |
unittest-matrix (1.19, receiver-0) | - 🔗 | N/A | See Details |
unittest-matrix (1.19, receiver-1) | - 🔗 | N/A | See Details |
unittest-matrix (1.19, processor) | - 🔗 | N/A | See Details |
unittest-matrix (1.19, exporter) | - 🔗 | N/A | See Details |
unittest-matrix (1.19, extension) | - 🔗 | N/A | See Details |
unittest-matrix (1.19, connector) | - 🔗 | N/A | See Details |
unittest-matrix (1.19, internal) | - 🔗 | N/A | See Details |
unittest-matrix (1.19, other) | - 🔗 | N/A | See Details |
lint | - 🔗 | N/A | See Details |
unittest (1.20) | - 🔗 | N/A | See Details |
unittest (1.19) | - 🔗 | N/A | See Details |
cross-compile (darwin, amd64) | - 🔗 | N/A | See Details |
cross-compile (darwin, arm64) | - 🔗 | N/A | See Details |
cross-compile (linux, 386) | - 🔗 | N/A | See Details |
cross-compile (linux, amd64) | - 🔗 | N/A | See Details |
cross-compile (linux, arm) | - 🔗 | N/A | See Details |
cross-compile (linux, arm64) | - 🔗 | N/A | See Details |
cross-compile (linux, ppc64le) | - 🔗 | N/A | See Details |
cross-compile (windows, 386) | - 🔗 | N/A | See Details |
cross-compile (windows, amd64) | - 🔗 | N/A | See Details |
build-package (deb) | - 🔗 | N/A | See Details |
build-package (rpm) | - 🔗 | N/A | See Details |
windows-msi | - 🔗 | N/A | See Details |
publish-stable | - 🔗 | N/A | See Details |
publish-check | - 🔗 | N/A | See Details |
publish-dev | - 🔗 | N/A | See Details |
*You can configure Foresight comments in your organization settings page.
"strings" | ||
) | ||
|
||
const MessagingPrefix = "messaging." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to lowercase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
) | ||
|
||
for key, value := range attributes { | ||
if strings.HasPrefix(key, MessagingPrefix) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it better to iterate the messaging attributes we'd like to capture than wildcard matching?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The messaging field is not standardized and may experience changes.
We want to be able to capture any changes to the spec.
Sample from message test Sample from span link test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Working on some backend work. |
…x-ray exporter. (open-telemetry#20313) Add link span link support and support for the messaging field. We are conforming to the OTel spec: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110
…x-ray exporter. (open-telemetry#20313) Add link span link support and support for the messaging field. We are conforming to the OTel spec: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110
commit 739e583 Author: Anthony Mirabella <a9@aneurysm9.com> Date: Tue Jun 20 18:11:41 2023 -0400 [chore] Prepare release v0.80.0 (open-telemetry#23584) The following commands were run to prepare this release: - make chlog-update VERSION=v0.80.0 - sed -i.bak s/0.79.0/0.80.0/g versions.yaml - make multimod-prerelease - make multimod-sync Additionally, changes from open-telemetry#23583 were incorporated. --------- Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com> Co-authored-by: Alex Boten <aboten@lightstep.com> commit e988fca Author: Alex Boten <aboten@lightstep.com> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <aboten@lightstep.com> commit 42dbc6c Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 19:51:21 2023 +0200 aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572) Metric unit is required, see: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. This PR adds the unit to metrics where this is missing: - aerospike.node.query.tracked commit 200778b Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 18:51:54 2023 +0200 [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575) This func is not used. Because the receiver is the metadata struct, it would need to be called directly. This also tests field Name -- which does not exist anymore (replaced by Type). **Note:** Validation of Type will be done as part of open-telemetry#23424 commit b726aee Author: Mend Renovate <bot@renovateapp.com> Date: Tue Jun 20 18:49:27 2023 +0200 chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://github.com/actions/download-artifact) | action | major | `v2` -> `v3` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | action | major | `v2` -> `v3` | --- <details> <summary>actions/download-artifact</summary> [`v3`](https://github.com/actions/download-artifact/compare/v2...v3) [Compare Source](https://github.com/actions/download-artifact/compare/v2...v3) </details> <details> <summary>actions/upload-artifact</summary> [Compare Source](https://github.com/actions/upload-artifact/compare/v2...v3) </details> --- 📅 **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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> commit 9d38d84 Author: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Date: Tue Jun 20 12:13:20 2023 -0400 [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455) - Added gzip and zstd tests to SAPM trace test. - Modified GenerateTraces to generate more variable data to make sure it is a more fair comparison when compression is enabled (otherwise it was compressing too well and was not representative of real-world workloads). This makes easier to see the impact of added zstd compression done in open-telemetry#23257 commit 9a5f723 Author: rubenruizdegauna <rubenruizdegauna@gmail.com> Date: Tue Jun 20 07:42:56 2023 +0200 [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451) Currently `process.cpu.utilization` is not sent when it is enabled if `process.cpu.time` is disabled. It should be sent independently of `process.cpu.time` commit ad2e101 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 07:21:06 2023 +0200 [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454) This PR adds the bytes unit to metrics where this is missing. unit is a required field, see https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. commit d89a6e1 Author: Bartosz Sławianowski <eplightning@outlook.com> Date: Mon Jun 19 21:13:53 2023 +0200 [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453) Kubernetes namespace is a cluster-scoped resource and doesn't seem to have populated `namespace` field in Kubernetes (at least on 1.25.x and 1.26.x). This PR changes it so the name of the namespace is simply taken from `name` field instead. commit 6ee548b Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Mon Jun 19 10:51:31 2023 -0700 [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438) Switch k8s.node metrics to use pdata. commit 5fff104 Author: Gabriel Aszalos <gabriel.aszalos@gmail.com> Date: Mon Jun 19 13:13:11 2023 +0300 {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445) This change bumps the opentelemetry-mapping-go dependency to v0.5.0 which contains the metric remapping code. As a result, it is removed from the exporter. commit b719459 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Sat Jun 17 10:50:17 2023 -0700 [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437) Switch k8s.namespace metrics to use pdata. commit b2238b9 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 23:08:30 2023 -0700 [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434) To reduce RAM utilization. Resolves open-telemetry#23433 This is the last PR to reduce the memory footprint of k8s API informers. Other objects are more static and usually don't have a lot of instances in user clusters, so there is no need to reduce their size. commit 1c84fb2 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Sat Jun 17 06:24:40 2023 +0200 feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274) **Description:** deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors` ``` 2023-06-12T08:29:43.306+0200 info service/telemetry.go:104 Setting up own telemetry... 2023-06-12T08:29:43.306+0200 info service/telemetry.go:127 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} 2023-06-12T08:29:43.306+0200 info exporter@v0.79.0/exporter.go:275 Development component. May change in the future. {"kind": "exporter", "data_type": "metrics", "name": "logging"} 2023-06-12T08:29:43.308+0200 info service/service.go:131 Starting otelcontribcol... {"Version": "0.79.0-dev", "NumCPU": 16} 2023-06-12T08:29:43.308+0200 info extensions/extensions.go:30 Starting extensions... 2023-06-12T08:29:43.308+0200 warn mysqlreceiver@v0.79.0/scraper.go:60 `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead {"kind": "receiver", "name": "mysql", "data_type": "metrics"} 2023-06-12T08:29:43.308+0200 info service/service.go:148 Everything is ready. Begin running and processing data. ^C2023-06-12T08:29:44.055+0200 info otelcol/collector.go:227 Received signal from OS {"signal": "interrupt"} 2023-06-12T08:29:44.056+0200 info service/service.go:157 Starting shutdown... ``` --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> Co-authored-by: Daniel Jaglowski <jaglows3@gmail.com> Co-authored-by: Curtis Robert <92119472+crobert-1@users.noreply.github.com> commit c8cf780 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 15:00:42 2023 -0700 [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432) Do not store unused data for deployments, statefulsets and daemonsets in k8s API cache to reduce RAM usage. Updates open-telemetry#23433 commit 0ccde43 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Fri Jun 16 21:01:32 2023 +0200 Document extension as value for stability in metadata.yaml (open-telemetry#23426) Currently, this is used in all extensions (e.g. [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)), but this is not documented in `metadata-schema.yaml`. commit 8869951 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 11:51:00 2023 -0700 Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431) …rnal metrics (open-telemetry#23369)" This reverts commit 42bca6f. Revert it until open-telemetry#23369 (comment) is resolved to avoid adding it to the next release Co-authored-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 6ad0589 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Fri Jun 16 19:21:23 2023 +0200 [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213) This PR adds the resource attributes added by the k8sattributes processor to the metadata.yaml file in the resource_attributes group. Only the attributes which are added by default (see [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration)) are marked as enabled. The default resource attributes defined in metadata.yaml are used to make the default extract::metadata list. Resource attributes are exposed through a different configuration interface. This is noted in the metadata.yaml file. commit a4585ce Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Fri Jun 16 08:50:14 2023 -0700 [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416) commit 0ae07ba Author: Pablo Baeyens <pbaeyens31+github@gmail.com> Date: Fri Jun 16 11:05:52 2023 +0200 [chore] Clean up CODEOWNERS (open-telemetry#23382) **Description:** Clean up CODEOWNERS file to remove redundant lines; add these to the ALLOWLIST. **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG commit a5cdd2f Author: atshaw43 <108552302+atshaw43@users.noreply.github.com> Date: Fri Jun 16 00:11:17 2023 -0700 [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313) Add link span link support and support for the messaging field. We are conforming to the OTel spec: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110 commit 42bca6f Author: Ziqi Zhao <zhaoziqi9146@gmail.com> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 559f19c Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 19:25:45 2023 -0700 [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419) **Description:** Switch k8s.rq metrics to use pdata. commit 2e11f46 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 19:25:20 2023 -0700 [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420) commit 5cfcdeb Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Thu Jun 15 17:59:51 2023 -0700 [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417) This change removes unused k8s informer data from the cache to reduce RAM utilization. Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage. commit 260f34f Author: linfn <linfeng.lu@hotmail.com> Date: Fri Jun 16 02:44:06 2023 +0800 [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799) In Skywalking, parentSpanId == -1 indicates that the span is [the first span within the current segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119), rather than within the entire trace. Leaving parentSpanId blank can cause the call relationship to be lost when crossing segments. commit f709809 Author: Sam DeHaan <sam.dehaan@bluemedora.com> Date: Thu Jun 15 14:42:59 2023 -0400 [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363) Access Logs required permissions for monitoring were not documented in the receiver README. Should have been documented for open-telemetry#21182 commit 8885502 Author: Raj Nishtala <113392743+rnishtala-sumo@users.noreply.github.com> Date: Thu Jun 15 14:41:37 2023 -0400 [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414) Updating CODEOWNERS for processor/groupbyattrsprocessor commit d98e12b Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 10:16:33 2023 -0700 [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408) Rebase of open-telemetry#18250 with latest main. --------- Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com> commit e6e1e76 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Thu Jun 15 10:10:13 2023 -0700 [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403) Do not drop `container.cpu.time` metric in the default translations so it can be enabled in the `include_metrics` config option. This is the only metric that is dropped in the translations. All other metrics are being kept. commit 65a1dea Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 08:09:39 2023 -0700 [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410) Try sending data a few times to fix flakiness of test. **Link to tracking Issue:** Fixes open-telemetry#23381 commit 9f0032e Author: Pablo Baeyens <pbaeyens31+github@gmail.com> Date: Thu Jun 15 14:43:18 2023 +0200 [chore] make gotidy (open-telemetry#23412) Fixes main after open-telemetry#23257 commit ae15d8c Author: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Date: Thu Jun 15 07:04:14 2023 -0400 Add zstd compression to SAPM receiver and exporter (open-telemetry#23257) - Updated github.com/signalfx/sapm-proto to v0.13.0 - Added "compression" config setting to sapm exporter - Added tests to verify various compression settings for sapm receiver and exporter. commit c2658a7 Author: Mike Dame <mikedame@google.com> Date: Thu Jun 15 06:58:12 2023 -0400 [chore] Update GCP codeowners (open-telemetry#22781) Updating CODEOWNERS entries for GCP exporters commit c7462f2 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Wed Jun 14 23:40:16 2023 -0700 [chore] add k8sclusterreceiver e2e test (open-telemetry#23386) Adds an e2e test for k8sclusterreceiver with a golden metrics file. commit 1bf2547 Author: Andrzej Stencel <astencel@sumologic.com> Date: Wed Jun 14 22:40:06 2023 +0200 [receiver/sqlquery] add support for logs (open-telemetry#20730) Fixes open-telemetry#20284 This introduces initial support for retrieving rows from SQL databases into logs. This PR aims to provide an initial, not feature rich, but production ready implementation. The following features are available: - Use `body_column` to select the column to use to fill the Body field of the created log - Use `tracking_start_value` and `tracking_column` properties to track rows that were already ingested - Use `storage` property to persist the tracking value across collector restarts In this state and marked as "development" stability, the component can be used for experimentation and to guide future development. There are definitely more things that need to be implemented for this component to be considered "alpha" quality - like filling in other [log fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition) like Timestamp, ObservedTimestamp and others. I would like to add them in subsequent pull requests, as this pull request is already way too big. --------- Co-authored-by: Dominika Molenda <dmolenda@sumologic.com> Co-authored-by: Dominika Molenda <73838995+dmolenda-sumo@users.noreply.github.com> Co-authored-by: Katarzyna Kujawa <73836361+kkujawa-sumo@users.noreply.github.com> Co-authored-by: Katarzyna Kujawa <kkujawa@sumologic.com> commit e7608db Author: Irina <mar4ukira@gmail.com> Date: Wed Jun 14 19:50:04 2023 +0100 [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733) **Description:** There is currently no way to get the [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396) field from plog.LogRecord into Loki. Added Flags field to lokiEntry in this PR **Link to tracking Issue:** open-telemetry#21650 **Testing:** Added unit tests commit 50bbb9f Author: Ben B <bongartz@klimlive.de> Date: Wed Jun 14 20:42:33 2023 +0200 [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384) cc @jpkrohling @pavankrish123 Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> commit a4dda5b Author: Vastin <vastin@gmail.com> Date: Wed Jun 14 13:12:48 2023 -0500 [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626) **Description:** This PR adds [exponential histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram) support in `awsemfexporter`. The exponential histogram metrics are exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and Min are set as Statistical Set. The mid-point values and counts of exponential histogram buckets are translated into Values/Counts array of EMF log entry as well. **Testing:** The unit test is added and covers positive, zero and negative values. The integration test is performed with following OTEL collector configuration. ``` extensions: health_check: receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 http: endpoint: 0.0.0.0:4318 processors: batch/metrics: timeout: 60s exporters: logging: verbosity: detailed awsemf: region: 'us-east-1' namespace: "Test" dimension_rollup_option: "NoDimensionRollup" service: pipelines: metrics: receivers: [otlp] processors: [batch/metrics] exporters: [awsemf, logging] extensions: [health_check] telemetry: logs: level: "debug" ``` It generated EMF log for histogram metrics in following JSON format. Notes: It doesn't cover negative values since histograms can [only record non-negative values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram) and will [drop negative values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44). ``` "latency": { "Values": [ 309.4277237034415, 323.12725941969757, 326.64588457862067, 344.8221530867399, 520.3933272846809, 531.7884573308439, 537.579253961712, 543.4331082335607, 549.3507067990806, 555.3327437881196, 561.3799208891041, 567.4929474313465, 720.1774681373079, 0 ], "Counts": [ 1, 1, 1, 1, 1, 3, 4, 2, 2, 3, 1, 1, 1, 22 ], "Max": 720, "Min": 0, "Count": 44, "Sum": 11265 } ``` commit f66845f Author: Ben B <bongartz@klimlive.de> Date: Wed Jun 14 20:09:35 2023 +0200 [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739) Closes open-telemetry#22737 --------- Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> commit 6a83a9a Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Wed Jun 14 19:11:38 2023 +0200 [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337) Deprecate options which are going to be removed **Link to tracking Issue:** open-telemetry#23059 --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> Co-authored-by: Mikołaj Świątek <mswiatek@sumologic.com> Co-authored-by: Alex Boten <aboten@lightstep.com> commit 3faedfc Author: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com> Date: Wed Jun 14 09:39:22 2023 -0700 [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380) Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awsxrayreceiver commit d9326aa Author: Alex Boten <aboten@lightstep.com> Date: Wed Jun 14 09:13:30 2023 -0700 [chore] mark components as unmaintained (open-telemetry#23379) These components no longer have an active code owner as a result of Signed-off-by: Alex Boten <aboten@lightstep.com> commit 8729c16 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Wed Jun 14 09:32:35 2023 -0600 [chore] Enable exhaustive linter for several modules (open-telemetry#23329) Updates open-telemetry#23266 - receiver/nsxt - receiver/snmp - connector/count - extension/storage - pkg/stanza commit 52d87f8 Author: Evan Bradley <11745660+evan-bradley@users.noreply.github.com> Date: Wed Jun 14 11:30:51 2023 -0400 [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143) This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context. **Link to tracking Issue:** Implements open-telemetry#18461 Co-authored-by: Matej Gera <38492574+matej-g@users.noreply.github.com> --------- Co-authored-by: Evan Bradley <evan-bradley@users.noreply.github.com> Co-authored-by: Matej Gera <38492574+matej-g@users.noreply.github.com> commit 31bfef7 Author: Alex Boten <aboten@lightstep.com> Date: Wed Jun 14 08:18:27 2023 -0700 [chore] bump go version for linting (open-telemetry#23346) After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment) I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues. --------- Signed-off-by: Alex Boten <aboten@lightstep.com> commit d79f3c0 Author: Curtis Robert <92119472+crobert-1@users.noreply.github.com> Date: Wed Jun 14 08:05:56 2023 -0700 [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368) As a result of issue open-telemetry#23246, a few components are now unmaintained. These need to be documented in the ALLOWLIST file. commit 19e2a2d Author: Tomáš Žďára <tomas.zdara@sentinelone.com> Date: Wed Jun 14 11:22:35 2023 +0200 DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250) * DSET-3998 - export Logs resource info based on export_resource_info_on_event configuration * DSET-3998 - simplify * DSET-3998 - improve docs * Fix log exporter to set AddEvents Event timestamp (ts) field to event observed timetamp in case LogRecord doesn't contain timestamp. Even though ObservedTimestamp should always be present, we fall back to current time in case it's not. In addition to that, remove duplicate and redundant "timestamp" attribute from the AddEvents event. * Add additional assertions. * Remove dummy debug logs. * Create export-logs-resource-info-based-configuration * address PR notes - fix changelog gen * fix docs typo * fix changelog file suffix --------- Co-authored-by: Tomaz Muraus <tomazm@sentinelone.com> Co-authored-by: Tomaz Muraus <126863902+tomaz-s1@users.noreply.github.com> commit 5a582d9 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Wed Jun 14 00:31:28 2023 -0700 [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366) Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric. commit 16df49f Author: Sean Marciniak <30928402+MovieStoreGuy@users.noreply.github.com> Date: Wed Jun 14 12:00:31 2023 +0930 [chore] Fix datadog receiver flakey test. (open-telemetry#23336) * Use random address * Bind to localhost interface commit 9f854da Author: Mikołaj Świątek <mswiatek@sumologic.com> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com> Date: Tue Jun 13 12:57:55 2023 -0700 [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345) Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver commit 6bf41e4 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 13 18:33:39 2023 +0200 Add metadata.yaml as a requirement (open-telemetry#23340) Fixes: open-telemetry#20908. --------- Co-authored-by: Yang Song <songy23@users.noreply.github.com> commit 563fd6f Author: Alex Boten <aboten@lightstep.com> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <aboten@lightstep.com> commit d2c7c1f Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Tue Jun 13 09:45:00 2023 -0600 [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280) commit 375da69 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Tue Jun 13 08:23:00 2023 -0600 [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281) * [chore] Deprecate unnecessary fileconsumer API * Add deprecation version and tentative removal version commit 6ac5285 Author: Dewald de Jager <DewaldDeJager@users.noreply.github.com> Date: Tue Jun 13 11:20:41 2023 +0200 [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962) * Start adding the status information to the metadata schema documentation * Remove cmd from the list of possible classes * Fix spelling mistake Co-authored-by: Antoine Toulme <antoine@toulme.name> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <antoine@toulme.name> * Fix the tests after updating the example metadata file * Document how to use mdatagen and the schema of metadata.yaml * Add the stability levels for connectors * Change the receiver type so the tests pass * Update the generated documentation * Change the syntax used for string array types so that it is valid YAML --------- Co-authored-by: Antoine Toulme <antoine@toulme.name> commit 061eb3e Author: Mikołaj Świątek <mswiatek@sumologic.com> Date: Tue Jun 13 06:29:11 2023 +0000 [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272) Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store. I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently. commit ab42d69 Author: zeno-splunk <134558926+zeno-splunk@users.noreply.github.com> Date: Mon Jun 12 22:36:54 2023 -0700 [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332) Update `kafka.brokers` metric to be non-monothonic sum instead of gauge commit 9e4d50f Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Mon Jun 12 20:28:17 2023 -0700 remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248) Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus commit e0249e0 Author: Alex Boten <aboten@lightstep.com> Date: Mon Jun 12 15:01:49 2023 -0700 [chore] forwardconnector was not listed in the modules script (open-telemetry#23330) this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently Signed-off-by: Alex Boten <aboten@lightstep.com> commit 9d5526c Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Mon Jun 12 09:58:22 2023 -0600 [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255) commit bbea8aa Author: Trask Stalnaker <trask.stalnaker@gmail.com> Date: Mon Jun 12 08:38:45 2023 -0700 Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268) commit 0f8e128 Author: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Mon Jun 12 08:45:16 2023 -0600 [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259) Update readme commit 6d35fd7 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Mon Jun 12 16:33:47 2023 +0200 [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211) Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> commit 88ac450 Author: Gabriel Aszalos <gabriel.aszalos@gmail.com> Date: Mon Jun 12 17:31:02 2023 +0300 receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851) * receiver/dockerstatsreceiver: add container.uptime metric This change adds the `container.uptime` metric which indicates time elapsed (in seconds) since the container started. * Add scraper error for invalid time format * Disable by default * empty commit 6947357 Author: Yang Song <songy23@users.noreply.github.com> Date: Mon Jun 12 10:27:42 2023 -0400 [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240) * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation * Add to changelog * Update exporter/datadogexporter/config.go Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> commit b247914 Author: Raj Nishtala <113392743+rnishtala-sumo@users.noreply.github.com> Date: Mon Jun 12 10:26:18 2023 -0400 [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210) * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string commit 3b62a17 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Mon Jun 12 07:50:37 2023 -0600 [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254) * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable * Update .chloggen/elastic-stable-nodevesiongate.yaml Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> --------- Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> commit 6249ae8 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Mon Jun 12 13:09:13 2023 +0200 resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740) * resourcedetectionprocessor: use gopsutil for host id detection Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> commit 820510e Author: Ziqi Zhao <zhaoziqi9146@gmail.com> Date: Mon Jun 12 18:10:33 2023 +0800 [chore] [all] Enable exhaustive linter on golangci-lint (open-telemetry#23242) Enable exhaustive linter on golangci-lint Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 752330e Author: shalper2 <99686388+shalper2@users.noreply.github.com> Date: Sun Jun 11 10:44:14 2023 -0500 [receiver/webhookevent] Enable component (open-telemetry#23239) Graduate webhookeventreceiver component to Alpha
commit 739e583 Author: Anthony Mirabella <a9@aneurysm9.com> Date: Tue Jun 20 18:11:41 2023 -0400 [chore] Prepare release v0.80.0 (open-telemetry#23584) The following commands were run to prepare this release: - make chlog-update VERSION=v0.80.0 - sed -i.bak s/0.79.0/0.80.0/g versions.yaml - make multimod-prerelease - make multimod-sync Additionally, changes from open-telemetry#23583 were incorporated. --------- Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com> Co-authored-by: Alex Boten <aboten@lightstep.com> commit e988fca Author: Alex Boten <aboten@lightstep.com> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <aboten@lightstep.com> commit 42dbc6c Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 19:51:21 2023 +0200 aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572) Metric unit is required, see: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. This PR adds the unit to metrics where this is missing: - aerospike.node.query.tracked commit 200778b Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 18:51:54 2023 +0200 [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575) This func is not used. Because the receiver is the metadata struct, it would need to be called directly. This also tests field Name -- which does not exist anymore (replaced by Type). **Note:** Validation of Type will be done as part of open-telemetry#23424 commit b726aee Author: Mend Renovate <bot@renovateapp.com> Date: Tue Jun 20 18:49:27 2023 +0200 chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://github.com/actions/download-artifact) | action | major | `v2` -> `v3` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | action | major | `v2` -> `v3` | --- <details> <summary>actions/download-artifact</summary> [`v3`](https://github.com/actions/download-artifact/compare/v2...v3) [Compare Source](https://github.com/actions/download-artifact/compare/v2...v3) </details> <details> <summary>actions/upload-artifact</summary> [Compare Source](https://github.com/actions/upload-artifact/compare/v2...v3) </details> --- 📅 **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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> commit 9d38d84 Author: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Date: Tue Jun 20 12:13:20 2023 -0400 [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455) - Added gzip and zstd tests to SAPM trace test. - Modified GenerateTraces to generate more variable data to make sure it is a more fair comparison when compression is enabled (otherwise it was compressing too well and was not representative of real-world workloads). This makes easier to see the impact of added zstd compression done in open-telemetry#23257 commit 9a5f723 Author: rubenruizdegauna <rubenruizdegauna@gmail.com> Date: Tue Jun 20 07:42:56 2023 +0200 [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451) Currently `process.cpu.utilization` is not sent when it is enabled if `process.cpu.time` is disabled. It should be sent independently of `process.cpu.time` commit ad2e101 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 07:21:06 2023 +0200 [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454) This PR adds the bytes unit to metrics where this is missing. unit is a required field, see https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. commit d89a6e1 Author: Bartosz Sławianowski <eplightning@outlook.com> Date: Mon Jun 19 21:13:53 2023 +0200 [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453) Kubernetes namespace is a cluster-scoped resource and doesn't seem to have populated `namespace` field in Kubernetes (at least on 1.25.x and 1.26.x). This PR changes it so the name of the namespace is simply taken from `name` field instead. commit 6ee548b Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Mon Jun 19 10:51:31 2023 -0700 [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438) Switch k8s.node metrics to use pdata. commit 5fff104 Author: Gabriel Aszalos <gabriel.aszalos@gmail.com> Date: Mon Jun 19 13:13:11 2023 +0300 {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445) This change bumps the opentelemetry-mapping-go dependency to v0.5.0 which contains the metric remapping code. As a result, it is removed from the exporter. commit b719459 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Sat Jun 17 10:50:17 2023 -0700 [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437) Switch k8s.namespace metrics to use pdata. commit b2238b9 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 23:08:30 2023 -0700 [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434) To reduce RAM utilization. Resolves open-telemetry#23433 This is the last PR to reduce the memory footprint of k8s API informers. Other objects are more static and usually don't have a lot of instances in user clusters, so there is no need to reduce their size. commit 1c84fb2 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Sat Jun 17 06:24:40 2023 +0200 feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274) **Description:** deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors` ``` 2023-06-12T08:29:43.306+0200 info service/telemetry.go:104 Setting up own telemetry... 2023-06-12T08:29:43.306+0200 info service/telemetry.go:127 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} 2023-06-12T08:29:43.306+0200 info exporter@v0.79.0/exporter.go:275 Development component. May change in the future. {"kind": "exporter", "data_type": "metrics", "name": "logging"} 2023-06-12T08:29:43.308+0200 info service/service.go:131 Starting otelcontribcol... {"Version": "0.79.0-dev", "NumCPU": 16} 2023-06-12T08:29:43.308+0200 info extensions/extensions.go:30 Starting extensions... 2023-06-12T08:29:43.308+0200 warn mysqlreceiver@v0.79.0/scraper.go:60 `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead {"kind": "receiver", "name": "mysql", "data_type": "metrics"} 2023-06-12T08:29:43.308+0200 info service/service.go:148 Everything is ready. Begin running and processing data. ^C2023-06-12T08:29:44.055+0200 info otelcol/collector.go:227 Received signal from OS {"signal": "interrupt"} 2023-06-12T08:29:44.056+0200 info service/service.go:157 Starting shutdown... ``` --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> Co-authored-by: Daniel Jaglowski <jaglows3@gmail.com> Co-authored-by: Curtis Robert <92119472+crobert-1@users.noreply.github.com> commit c8cf780 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 15:00:42 2023 -0700 [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432) Do not store unused data for deployments, statefulsets and daemonsets in k8s API cache to reduce RAM usage. Updates open-telemetry#23433 commit 0ccde43 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Fri Jun 16 21:01:32 2023 +0200 Document extension as value for stability in metadata.yaml (open-telemetry#23426) Currently, this is used in all extensions (e.g. [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)), but this is not documented in `metadata-schema.yaml`. commit 8869951 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 11:51:00 2023 -0700 Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431) …rnal metrics (open-telemetry#23369)" This reverts commit 42bca6f. Revert it until open-telemetry#23369 (comment) is resolved to avoid adding it to the next release Co-authored-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 6ad0589 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Fri Jun 16 19:21:23 2023 +0200 [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213) This PR adds the resource attributes added by the k8sattributes processor to the metadata.yaml file in the resource_attributes group. Only the attributes which are added by default (see [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration)) are marked as enabled. The default resource attributes defined in metadata.yaml are used to make the default extract::metadata list. Resource attributes are exposed through a different configuration interface. This is noted in the metadata.yaml file. commit a4585ce Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Fri Jun 16 08:50:14 2023 -0700 [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416) commit 0ae07ba Author: Pablo Baeyens <pbaeyens31+github@gmail.com> Date: Fri Jun 16 11:05:52 2023 +0200 [chore] Clean up CODEOWNERS (open-telemetry#23382) **Description:** Clean up CODEOWNERS file to remove redundant lines; add these to the ALLOWLIST. **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG commit a5cdd2f Author: atshaw43 <108552302+atshaw43@users.noreply.github.com> Date: Fri Jun 16 00:11:17 2023 -0700 [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313) Add link span link support and support for the messaging field. We are conforming to the OTel spec: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110 commit 42bca6f Author: Ziqi Zhao <zhaoziqi9146@gmail.com> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 559f19c Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 19:25:45 2023 -0700 [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419) **Description:** Switch k8s.rq metrics to use pdata. commit 2e11f46 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 19:25:20 2023 -0700 [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420) commit 5cfcdeb Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Thu Jun 15 17:59:51 2023 -0700 [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417) This change removes unused k8s informer data from the cache to reduce RAM utilization. Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage. commit 260f34f Author: linfn <linfeng.lu@hotmail.com> Date: Fri Jun 16 02:44:06 2023 +0800 [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799) In Skywalking, parentSpanId == -1 indicates that the span is [the first span within the current segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119), rather than within the entire trace. Leaving parentSpanId blank can cause the call relationship to be lost when crossing segments. commit f709809 Author: Sam DeHaan <sam.dehaan@bluemedora.com> Date: Thu Jun 15 14:42:59 2023 -0400 [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363) Access Logs required permissions for monitoring were not documented in the receiver README. Should have been documented for open-telemetry#21182 commit 8885502 Author: Raj Nishtala <113392743+rnishtala-sumo@users.noreply.github.com> Date: Thu Jun 15 14:41:37 2023 -0400 [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414) Updating CODEOWNERS for processor/groupbyattrsprocessor commit d98e12b Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 10:16:33 2023 -0700 [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408) Rebase of open-telemetry#18250 with latest main. --------- Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com> commit e6e1e76 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Thu Jun 15 10:10:13 2023 -0700 [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403) Do not drop `container.cpu.time` metric in the default translations so it can be enabled in the `include_metrics` config option. This is the only metric that is dropped in the translations. All other metrics are being kept. commit 65a1dea Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 08:09:39 2023 -0700 [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410) Try sending data a few times to fix flakiness of test. **Link to tracking Issue:** Fixes open-telemetry#23381 commit 9f0032e Author: Pablo Baeyens <pbaeyens31+github@gmail.com> Date: Thu Jun 15 14:43:18 2023 +0200 [chore] make gotidy (open-telemetry#23412) Fixes main after open-telemetry#23257 commit ae15d8c Author: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Date: Thu Jun 15 07:04:14 2023 -0400 Add zstd compression to SAPM receiver and exporter (open-telemetry#23257) - Updated github.com/signalfx/sapm-proto to v0.13.0 - Added "compression" config setting to sapm exporter - Added tests to verify various compression settings for sapm receiver and exporter. commit c2658a7 Author: Mike Dame <mikedame@google.com> Date: Thu Jun 15 06:58:12 2023 -0400 [chore] Update GCP codeowners (open-telemetry#22781) Updating CODEOWNERS entries for GCP exporters commit c7462f2 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Wed Jun 14 23:40:16 2023 -0700 [chore] add k8sclusterreceiver e2e test (open-telemetry#23386) Adds an e2e test for k8sclusterreceiver with a golden metrics file. commit 1bf2547 Author: Andrzej Stencel <astencel@sumologic.com> Date: Wed Jun 14 22:40:06 2023 +0200 [receiver/sqlquery] add support for logs (open-telemetry#20730) Fixes open-telemetry#20284 This introduces initial support for retrieving rows from SQL databases into logs. This PR aims to provide an initial, not feature rich, but production ready implementation. The following features are available: - Use `body_column` to select the column to use to fill the Body field of the created log - Use `tracking_start_value` and `tracking_column` properties to track rows that were already ingested - Use `storage` property to persist the tracking value across collector restarts In this state and marked as "development" stability, the component can be used for experimentation and to guide future development. There are definitely more things that need to be implemented for this component to be considered "alpha" quality - like filling in other [log fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition) like Timestamp, ObservedTimestamp and others. I would like to add them in subsequent pull requests, as this pull request is already way too big. --------- Co-authored-by: Dominika Molenda <dmolenda@sumologic.com> Co-authored-by: Dominika Molenda <73838995+dmolenda-sumo@users.noreply.github.com> Co-authored-by: Katarzyna Kujawa <73836361+kkujawa-sumo@users.noreply.github.com> Co-authored-by: Katarzyna Kujawa <kkujawa@sumologic.com> commit e7608db Author: Irina <mar4ukira@gmail.com> Date: Wed Jun 14 19:50:04 2023 +0100 [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733) **Description:** There is currently no way to get the [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396) field from plog.LogRecord into Loki. Added Flags field to lokiEntry in this PR **Link to tracking Issue:** open-telemetry#21650 **Testing:** Added unit tests commit 50bbb9f Author: Ben B <bongartz@klimlive.de> Date: Wed Jun 14 20:42:33 2023 +0200 [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384) cc @jpkrohling @pavankrish123 Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> commit a4dda5b Author: Vastin <vastin@gmail.com> Date: Wed Jun 14 13:12:48 2023 -0500 [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626) **Description:** This PR adds [exponential histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram) support in `awsemfexporter`. The exponential histogram metrics are exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and Min are set as Statistical Set. The mid-point values and counts of exponential histogram buckets are translated into Values/Counts array of EMF log entry as well. **Testing:** The unit test is added and covers positive, zero and negative values. The integration test is performed with following OTEL collector configuration. ``` extensions: health_check: receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 http: endpoint: 0.0.0.0:4318 processors: batch/metrics: timeout: 60s exporters: logging: verbosity: detailed awsemf: region: 'us-east-1' namespace: "Test" dimension_rollup_option: "NoDimensionRollup" service: pipelines: metrics: receivers: [otlp] processors: [batch/metrics] exporters: [awsemf, logging] extensions: [health_check] telemetry: logs: level: "debug" ``` It generated EMF log for histogram metrics in following JSON format. Notes: It doesn't cover negative values since histograms can [only record non-negative values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram) and will [drop negative values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44). ``` "latency": { "Values": [ 309.4277237034415, 323.12725941969757, 326.64588457862067, 344.8221530867399, 520.3933272846809, 531.7884573308439, 537.579253961712, 543.4331082335607, 549.3507067990806, 555.3327437881196, 561.3799208891041, 567.4929474313465, 720.1774681373079, 0 ], "Counts": [ 1, 1, 1, 1, 1, 3, 4, 2, 2, 3, 1, 1, 1, 22 ], "Max": 720, "Min": 0, "Count": 44, "Sum": 11265 } ``` commit f66845f Author: Ben B <bongartz@klimlive.de> Date: Wed Jun 14 20:09:35 2023 +0200 [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739) Closes open-telemetry#22737 --------- Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> commit 6a83a9a Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Wed Jun 14 19:11:38 2023 +0200 [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337) Deprecate options which are going to be removed **Link to tracking Issue:** open-telemetry#23059 --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> Co-authored-by: Mikołaj Świątek <mswiatek@sumologic.com> Co-authored-by: Alex Boten <aboten@lightstep.com> commit 3faedfc Author: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com> Date: Wed Jun 14 09:39:22 2023 -0700 [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380) Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awsxrayreceiver commit d9326aa Author: Alex Boten <aboten@lightstep.com> Date: Wed Jun 14 09:13:30 2023 -0700 [chore] mark components as unmaintained (open-telemetry#23379) These components no longer have an active code owner as a result of Signed-off-by: Alex Boten <aboten@lightstep.com> commit 8729c16 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Wed Jun 14 09:32:35 2023 -0600 [chore] Enable exhaustive linter for several modules (open-telemetry#23329) Updates open-telemetry#23266 - receiver/nsxt - receiver/snmp - connector/count - extension/storage - pkg/stanza commit 52d87f8 Author: Evan Bradley <11745660+evan-bradley@users.noreply.github.com> Date: Wed Jun 14 11:30:51 2023 -0400 [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143) This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context. **Link to tracking Issue:** Implements open-telemetry#18461 Co-authored-by: Matej Gera <38492574+matej-g@users.noreply.github.com> --------- Co-authored-by: Evan Bradley <evan-bradley@users.noreply.github.com> Co-authored-by: Matej Gera <38492574+matej-g@users.noreply.github.com> commit 31bfef7 Author: Alex Boten <aboten@lightstep.com> Date: Wed Jun 14 08:18:27 2023 -0700 [chore] bump go version for linting (open-telemetry#23346) After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment) I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues. --------- Signed-off-by: Alex Boten <aboten@lightstep.com> commit d79f3c0 Author: Curtis Robert <92119472+crobert-1@users.noreply.github.com> Date: Wed Jun 14 08:05:56 2023 -0700 [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368) As a result of issue open-telemetry#23246, a few components are now unmaintained. These need to be documented in the ALLOWLIST file. commit 19e2a2d Author: Tomáš Žďára <tomas.zdara@sentinelone.com> Date: Wed Jun 14 11:22:35 2023 +0200 DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250) * DSET-3998 - export Logs resource info based on export_resource_info_on_event configuration * DSET-3998 - simplify * DSET-3998 - improve docs * Fix log exporter to set AddEvents Event timestamp (ts) field to event observed timetamp in case LogRecord doesn't contain timestamp. Even though ObservedTimestamp should always be present, we fall back to current time in case it's not. In addition to that, remove duplicate and redundant "timestamp" attribute from the AddEvents event. * Add additional assertions. * Remove dummy debug logs. * Create export-logs-resource-info-based-configuration * address PR notes - fix changelog gen * fix docs typo * fix changelog file suffix --------- Co-authored-by: Tomaz Muraus <tomazm@sentinelone.com> Co-authored-by: Tomaz Muraus <126863902+tomaz-s1@users.noreply.github.com> commit 5a582d9 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Wed Jun 14 00:31:28 2023 -0700 [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366) Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric. commit 16df49f Author: Sean Marciniak <30928402+MovieStoreGuy@users.noreply.github.com> Date: Wed Jun 14 12:00:31 2023 +0930 [chore] Fix datadog receiver flakey test. (open-telemetry#23336) * Use random address * Bind to localhost interface commit 9f854da Author: Mikołaj Świątek <mswiatek@sumologic.com> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com> Date: Tue Jun 13 12:57:55 2023 -0700 [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345) Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver commit 6bf41e4 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 13 18:33:39 2023 +0200 Add metadata.yaml as a requirement (open-telemetry#23340) Fixes: open-telemetry#20908. --------- Co-authored-by: Yang Song <songy23@users.noreply.github.com> commit 563fd6f Author: Alex Boten <aboten@lightstep.com> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <aboten@lightstep.com> commit d2c7c1f Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Tue Jun 13 09:45:00 2023 -0600 [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280) commit 375da69 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Tue Jun 13 08:23:00 2023 -0600 [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281) * [chore] Deprecate unnecessary fileconsumer API * Add deprecation version and tentative removal version commit 6ac5285 Author: Dewald de Jager <DewaldDeJager@users.noreply.github.com> Date: Tue Jun 13 11:20:41 2023 +0200 [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962) * Start adding the status information to the metadata schema documentation * Remove cmd from the list of possible classes * Fix spelling mistake Co-authored-by: Antoine Toulme <antoine@toulme.name> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <antoine@toulme.name> * Fix the tests after updating the example metadata file * Document how to use mdatagen and the schema of metadata.yaml * Add the stability levels for connectors * Change the receiver type so the tests pass * Update the generated documentation * Change the syntax used for string array types so that it is valid YAML --------- Co-authored-by: Antoine Toulme <antoine@toulme.name> commit 061eb3e Author: Mikołaj Świątek <mswiatek@sumologic.com> Date: Tue Jun 13 06:29:11 2023 +0000 [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272) Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store. I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently. commit ab42d69 Author: zeno-splunk <134558926+zeno-splunk@users.noreply.github.com> Date: Mon Jun 12 22:36:54 2023 -0700 [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332) Update `kafka.brokers` metric to be non-monothonic sum instead of gauge commit 9e4d50f Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Mon Jun 12 20:28:17 2023 -0700 remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248) Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus commit e0249e0 Author: Alex Boten <aboten@lightstep.com> Date: Mon Jun 12 15:01:49 2023 -0700 [chore] forwardconnector was not listed in the modules script (open-telemetry#23330) this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently Signed-off-by: Alex Boten <aboten@lightstep.com> commit 9d5526c Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Mon Jun 12 09:58:22 2023 -0600 [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255) commit bbea8aa Author: Trask Stalnaker <trask.stalnaker@gmail.com> Date: Mon Jun 12 08:38:45 2023 -0700 Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268) commit 0f8e128 Author: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Mon Jun 12 08:45:16 2023 -0600 [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259) Update readme commit 6d35fd7 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Mon Jun 12 16:33:47 2023 +0200 [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211) Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> commit 88ac450 Author: Gabriel Aszalos <gabriel.aszalos@gmail.com> Date: Mon Jun 12 17:31:02 2023 +0300 receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851) * receiver/dockerstatsreceiver: add container.uptime metric This change adds the `container.uptime` metric which indicates time elapsed (in seconds) since the container started. * Add scraper error for invalid time format * Disable by default * empty commit 6947357 Author: Yang Song <songy23@users.noreply.github.com> Date: Mon Jun 12 10:27:42 2023 -0400 [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240) * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation * Add to changelog * Update exporter/datadogexporter/config.go Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> commit b247914 Author: Raj Nishtala <113392743+rnishtala-sumo@users.noreply.github.com> Date: Mon Jun 12 10:26:18 2023 -0400 [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210) * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string commit 3b62a17 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Mon Jun 12 07:50:37 2023 -0600 [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254) * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable * Update .chloggen/elastic-stable-nodevesiongate.yaml Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> --------- Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> commit 6249ae8 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Mon Jun 12 13:09:13 2023 +0200 resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740) * resourcedetectionprocessor: use gopsutil for host id detection Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> commit 820510e Author: Ziqi Zhao <zhaoziqi9146@gmail.com> Date: Mon Jun 12 18:10:33 2023 +0800 [chore] [all] Enable exhaustive linter on golangci-lint (open-telemetry#23242) Enable exhaustive linter on golangci-lint Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 752330e Author: shalper2 <99686388+shalper2@users.noreply.github.com> Date: Sun Jun 11 10:44:14 2023 -0500 [receiver/webhookevent] Enable component (open-telemetry#23239) Graduate webhookeventreceiver component to Alpha Co-authored-by: jimchen <jimchen@easyops.cn>
…x-ray exporter. (open-telemetry#20313) Add link span link support and support for the messaging field. We are conforming to the OTel spec: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110
commit 739e583 Author: Anthony Mirabella <a9@aneurysm9.com> Date: Tue Jun 20 18:11:41 2023 -0400 [chore] Prepare release v0.80.0 (open-telemetry#23584) The following commands were run to prepare this release: - make chlog-update VERSION=v0.80.0 - sed -i.bak s/0.79.0/0.80.0/g versions.yaml - make multimod-prerelease - make multimod-sync Additionally, changes from open-telemetry#23583 were incorporated. --------- Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com> Co-authored-by: Alex Boten <aboten@lightstep.com> commit e988fca Author: Alex Boten <aboten@lightstep.com> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <aboten@lightstep.com> commit 42dbc6c Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 19:51:21 2023 +0200 aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572) Metric unit is required, see: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. This PR adds the unit to metrics where this is missing: - aerospike.node.query.tracked commit 200778b Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 18:51:54 2023 +0200 [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575) This func is not used. Because the receiver is the metadata struct, it would need to be called directly. This also tests field Name -- which does not exist anymore (replaced by Type). **Note:** Validation of Type will be done as part of open-telemetry#23424 commit b726aee Author: Mend Renovate <bot@renovateapp.com> Date: Tue Jun 20 18:49:27 2023 +0200 chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://github.com/actions/download-artifact) | action | major | `v2` -> `v3` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | action | major | `v2` -> `v3` | --- <details> <summary>actions/download-artifact</summary> [`v3`](https://github.com/actions/download-artifact/compare/v2...v3) [Compare Source](https://github.com/actions/download-artifact/compare/v2...v3) </details> <details> <summary>actions/upload-artifact</summary> [Compare Source](https://github.com/actions/upload-artifact/compare/v2...v3) </details> --- 📅 **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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> commit 9d38d84 Author: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Date: Tue Jun 20 12:13:20 2023 -0400 [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455) - Added gzip and zstd tests to SAPM trace test. - Modified GenerateTraces to generate more variable data to make sure it is a more fair comparison when compression is enabled (otherwise it was compressing too well and was not representative of real-world workloads). This makes easier to see the impact of added zstd compression done in open-telemetry#23257 commit 9a5f723 Author: rubenruizdegauna <rubenruizdegauna@gmail.com> Date: Tue Jun 20 07:42:56 2023 +0200 [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451) Currently `process.cpu.utilization` is not sent when it is enabled if `process.cpu.time` is disabled. It should be sent independently of `process.cpu.time` commit ad2e101 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 07:21:06 2023 +0200 [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454) This PR adds the bytes unit to metrics where this is missing. unit is a required field, see https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. commit d89a6e1 Author: Bartosz Sławianowski <eplightning@outlook.com> Date: Mon Jun 19 21:13:53 2023 +0200 [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453) Kubernetes namespace is a cluster-scoped resource and doesn't seem to have populated `namespace` field in Kubernetes (at least on 1.25.x and 1.26.x). This PR changes it so the name of the namespace is simply taken from `name` field instead. commit 6ee548b Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Mon Jun 19 10:51:31 2023 -0700 [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438) Switch k8s.node metrics to use pdata. commit 5fff104 Author: Gabriel Aszalos <gabriel.aszalos@gmail.com> Date: Mon Jun 19 13:13:11 2023 +0300 {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445) This change bumps the opentelemetry-mapping-go dependency to v0.5.0 which contains the metric remapping code. As a result, it is removed from the exporter. commit b719459 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Sat Jun 17 10:50:17 2023 -0700 [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437) Switch k8s.namespace metrics to use pdata. commit b2238b9 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 23:08:30 2023 -0700 [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434) To reduce RAM utilization. Resolves open-telemetry#23433 This is the last PR to reduce the memory footprint of k8s API informers. Other objects are more static and usually don't have a lot of instances in user clusters, so there is no need to reduce their size. commit 1c84fb2 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Sat Jun 17 06:24:40 2023 +0200 feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274) **Description:** deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors` ``` 2023-06-12T08:29:43.306+0200 info service/telemetry.go:104 Setting up own telemetry... 2023-06-12T08:29:43.306+0200 info service/telemetry.go:127 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} 2023-06-12T08:29:43.306+0200 info exporter@v0.79.0/exporter.go:275 Development component. May change in the future. {"kind": "exporter", "data_type": "metrics", "name": "logging"} 2023-06-12T08:29:43.308+0200 info service/service.go:131 Starting otelcontribcol... {"Version": "0.79.0-dev", "NumCPU": 16} 2023-06-12T08:29:43.308+0200 info extensions/extensions.go:30 Starting extensions... 2023-06-12T08:29:43.308+0200 warn mysqlreceiver@v0.79.0/scraper.go:60 `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead {"kind": "receiver", "name": "mysql", "data_type": "metrics"} 2023-06-12T08:29:43.308+0200 info service/service.go:148 Everything is ready. Begin running and processing data. ^C2023-06-12T08:29:44.055+0200 info otelcol/collector.go:227 Received signal from OS {"signal": "interrupt"} 2023-06-12T08:29:44.056+0200 info service/service.go:157 Starting shutdown... ``` --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> Co-authored-by: Daniel Jaglowski <jaglows3@gmail.com> Co-authored-by: Curtis Robert <92119472+crobert-1@users.noreply.github.com> commit c8cf780 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 15:00:42 2023 -0700 [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432) Do not store unused data for deployments, statefulsets and daemonsets in k8s API cache to reduce RAM usage. Updates open-telemetry#23433 commit 0ccde43 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Fri Jun 16 21:01:32 2023 +0200 Document extension as value for stability in metadata.yaml (open-telemetry#23426) Currently, this is used in all extensions (e.g. [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)), but this is not documented in `metadata-schema.yaml`. commit 8869951 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 11:51:00 2023 -0700 Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431) …rnal metrics (open-telemetry#23369)" This reverts commit 42bca6f. Revert it until open-telemetry#23369 (comment) is resolved to avoid adding it to the next release Co-authored-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 6ad0589 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Fri Jun 16 19:21:23 2023 +0200 [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213) This PR adds the resource attributes added by the k8sattributes processor to the metadata.yaml file in the resource_attributes group. Only the attributes which are added by default (see [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration)) are marked as enabled. The default resource attributes defined in metadata.yaml are used to make the default extract::metadata list. Resource attributes are exposed through a different configuration interface. This is noted in the metadata.yaml file. commit a4585ce Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Fri Jun 16 08:50:14 2023 -0700 [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416) commit 0ae07ba Author: Pablo Baeyens <pbaeyens31+github@gmail.com> Date: Fri Jun 16 11:05:52 2023 +0200 [chore] Clean up CODEOWNERS (open-telemetry#23382) **Description:** Clean up CODEOWNERS file to remove redundant lines; add these to the ALLOWLIST. **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG commit a5cdd2f Author: atshaw43 <108552302+atshaw43@users.noreply.github.com> Date: Fri Jun 16 00:11:17 2023 -0700 [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313) Add link span link support and support for the messaging field. We are conforming to the OTel spec: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110 commit 42bca6f Author: Ziqi Zhao <zhaoziqi9146@gmail.com> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 559f19c Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 19:25:45 2023 -0700 [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419) **Description:** Switch k8s.rq metrics to use pdata. commit 2e11f46 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 19:25:20 2023 -0700 [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420) commit 5cfcdeb Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Thu Jun 15 17:59:51 2023 -0700 [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417) This change removes unused k8s informer data from the cache to reduce RAM utilization. Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage. commit 260f34f Author: linfn <linfeng.lu@hotmail.com> Date: Fri Jun 16 02:44:06 2023 +0800 [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799) In Skywalking, parentSpanId == -1 indicates that the span is [the first span within the current segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119), rather than within the entire trace. Leaving parentSpanId blank can cause the call relationship to be lost when crossing segments. commit f709809 Author: Sam DeHaan <sam.dehaan@bluemedora.com> Date: Thu Jun 15 14:42:59 2023 -0400 [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363) Access Logs required permissions for monitoring were not documented in the receiver README. Should have been documented for open-telemetry#21182 commit 8885502 Author: Raj Nishtala <113392743+rnishtala-sumo@users.noreply.github.com> Date: Thu Jun 15 14:41:37 2023 -0400 [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414) Updating CODEOWNERS for processor/groupbyattrsprocessor commit d98e12b Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 10:16:33 2023 -0700 [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408) Rebase of open-telemetry#18250 with latest main. --------- Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com> commit e6e1e76 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Thu Jun 15 10:10:13 2023 -0700 [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403) Do not drop `container.cpu.time` metric in the default translations so it can be enabled in the `include_metrics` config option. This is the only metric that is dropped in the translations. All other metrics are being kept. commit 65a1dea Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 08:09:39 2023 -0700 [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410) Try sending data a few times to fix flakiness of test. **Link to tracking Issue:** Fixes open-telemetry#23381 commit 9f0032e Author: Pablo Baeyens <pbaeyens31+github@gmail.com> Date: Thu Jun 15 14:43:18 2023 +0200 [chore] make gotidy (open-telemetry#23412) Fixes main after open-telemetry#23257 commit ae15d8c Author: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Date: Thu Jun 15 07:04:14 2023 -0400 Add zstd compression to SAPM receiver and exporter (open-telemetry#23257) - Updated github.com/signalfx/sapm-proto to v0.13.0 - Added "compression" config setting to sapm exporter - Added tests to verify various compression settings for sapm receiver and exporter. commit c2658a7 Author: Mike Dame <mikedame@google.com> Date: Thu Jun 15 06:58:12 2023 -0400 [chore] Update GCP codeowners (open-telemetry#22781) Updating CODEOWNERS entries for GCP exporters commit c7462f2 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Wed Jun 14 23:40:16 2023 -0700 [chore] add k8sclusterreceiver e2e test (open-telemetry#23386) Adds an e2e test for k8sclusterreceiver with a golden metrics file. commit 1bf2547 Author: Andrzej Stencel <astencel@sumologic.com> Date: Wed Jun 14 22:40:06 2023 +0200 [receiver/sqlquery] add support for logs (open-telemetry#20730) Fixes open-telemetry#20284 This introduces initial support for retrieving rows from SQL databases into logs. This PR aims to provide an initial, not feature rich, but production ready implementation. The following features are available: - Use `body_column` to select the column to use to fill the Body field of the created log - Use `tracking_start_value` and `tracking_column` properties to track rows that were already ingested - Use `storage` property to persist the tracking value across collector restarts In this state and marked as "development" stability, the component can be used for experimentation and to guide future development. There are definitely more things that need to be implemented for this component to be considered "alpha" quality - like filling in other [log fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition) like Timestamp, ObservedTimestamp and others. I would like to add them in subsequent pull requests, as this pull request is already way too big. --------- Co-authored-by: Dominika Molenda <dmolenda@sumologic.com> Co-authored-by: Dominika Molenda <73838995+dmolenda-sumo@users.noreply.github.com> Co-authored-by: Katarzyna Kujawa <73836361+kkujawa-sumo@users.noreply.github.com> Co-authored-by: Katarzyna Kujawa <kkujawa@sumologic.com> commit e7608db Author: Irina <mar4ukira@gmail.com> Date: Wed Jun 14 19:50:04 2023 +0100 [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733) **Description:** There is currently no way to get the [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396) field from plog.LogRecord into Loki. Added Flags field to lokiEntry in this PR **Link to tracking Issue:** open-telemetry#21650 **Testing:** Added unit tests commit 50bbb9f Author: Ben B <bongartz@klimlive.de> Date: Wed Jun 14 20:42:33 2023 +0200 [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384) cc @jpkrohling @pavankrish123 Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> commit a4dda5b Author: Vastin <vastin@gmail.com> Date: Wed Jun 14 13:12:48 2023 -0500 [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626) **Description:** This PR adds [exponential histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram) support in `awsemfexporter`. The exponential histogram metrics are exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and Min are set as Statistical Set. The mid-point values and counts of exponential histogram buckets are translated into Values/Counts array of EMF log entry as well. **Testing:** The unit test is added and covers positive, zero and negative values. The integration test is performed with following OTEL collector configuration. ``` extensions: health_check: receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 http: endpoint: 0.0.0.0:4318 processors: batch/metrics: timeout: 60s exporters: logging: verbosity: detailed awsemf: region: 'us-east-1' namespace: "Test" dimension_rollup_option: "NoDimensionRollup" service: pipelines: metrics: receivers: [otlp] processors: [batch/metrics] exporters: [awsemf, logging] extensions: [health_check] telemetry: logs: level: "debug" ``` It generated EMF log for histogram metrics in following JSON format. Notes: It doesn't cover negative values since histograms can [only record non-negative values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram) and will [drop negative values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44). ``` "latency": { "Values": [ 309.4277237034415, 323.12725941969757, 326.64588457862067, 344.8221530867399, 520.3933272846809, 531.7884573308439, 537.579253961712, 543.4331082335607, 549.3507067990806, 555.3327437881196, 561.3799208891041, 567.4929474313465, 720.1774681373079, 0 ], "Counts": [ 1, 1, 1, 1, 1, 3, 4, 2, 2, 3, 1, 1, 1, 22 ], "Max": 720, "Min": 0, "Count": 44, "Sum": 11265 } ``` commit f66845f Author: Ben B <bongartz@klimlive.de> Date: Wed Jun 14 20:09:35 2023 +0200 [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739) Closes open-telemetry#22737 --------- Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> commit 6a83a9a Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Wed Jun 14 19:11:38 2023 +0200 [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337) Deprecate options which are going to be removed **Link to tracking Issue:** open-telemetry#23059 --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> Co-authored-by: Mikołaj Świątek <mswiatek@sumologic.com> Co-authored-by: Alex Boten <aboten@lightstep.com> commit 3faedfc Author: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com> Date: Wed Jun 14 09:39:22 2023 -0700 [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380) Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awsxrayreceiver commit d9326aa Author: Alex Boten <aboten@lightstep.com> Date: Wed Jun 14 09:13:30 2023 -0700 [chore] mark components as unmaintained (open-telemetry#23379) These components no longer have an active code owner as a result of Signed-off-by: Alex Boten <aboten@lightstep.com> commit 8729c16 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Wed Jun 14 09:32:35 2023 -0600 [chore] Enable exhaustive linter for several modules (open-telemetry#23329) Updates open-telemetry#23266 - receiver/nsxt - receiver/snmp - connector/count - extension/storage - pkg/stanza commit 52d87f8 Author: Evan Bradley <11745660+evan-bradley@users.noreply.github.com> Date: Wed Jun 14 11:30:51 2023 -0400 [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143) This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context. **Link to tracking Issue:** Implements open-telemetry#18461 Co-authored-by: Matej Gera <38492574+matej-g@users.noreply.github.com> --------- Co-authored-by: Evan Bradley <evan-bradley@users.noreply.github.com> Co-authored-by: Matej Gera <38492574+matej-g@users.noreply.github.com> commit 31bfef7 Author: Alex Boten <aboten@lightstep.com> Date: Wed Jun 14 08:18:27 2023 -0700 [chore] bump go version for linting (open-telemetry#23346) After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment) I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues. --------- Signed-off-by: Alex Boten <aboten@lightstep.com> commit d79f3c0 Author: Curtis Robert <92119472+crobert-1@users.noreply.github.com> Date: Wed Jun 14 08:05:56 2023 -0700 [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368) As a result of issue open-telemetry#23246, a few components are now unmaintained. These need to be documented in the ALLOWLIST file. commit 19e2a2d Author: Tomáš Žďára <tomas.zdara@sentinelone.com> Date: Wed Jun 14 11:22:35 2023 +0200 DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250) * DSET-3998 - export Logs resource info based on export_resource_info_on_event configuration * DSET-3998 - simplify * DSET-3998 - improve docs * Fix log exporter to set AddEvents Event timestamp (ts) field to event observed timetamp in case LogRecord doesn't contain timestamp. Even though ObservedTimestamp should always be present, we fall back to current time in case it's not. In addition to that, remove duplicate and redundant "timestamp" attribute from the AddEvents event. * Add additional assertions. * Remove dummy debug logs. * Create export-logs-resource-info-based-configuration * address PR notes - fix changelog gen * fix docs typo * fix changelog file suffix --------- Co-authored-by: Tomaz Muraus <tomazm@sentinelone.com> Co-authored-by: Tomaz Muraus <126863902+tomaz-s1@users.noreply.github.com> commit 5a582d9 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Wed Jun 14 00:31:28 2023 -0700 [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366) Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric. commit 16df49f Author: Sean Marciniak <30928402+MovieStoreGuy@users.noreply.github.com> Date: Wed Jun 14 12:00:31 2023 +0930 [chore] Fix datadog receiver flakey test. (open-telemetry#23336) * Use random address * Bind to localhost interface commit 9f854da Author: Mikołaj Świątek <mswiatek@sumologic.com> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com> Date: Tue Jun 13 12:57:55 2023 -0700 [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345) Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver commit 6bf41e4 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 13 18:33:39 2023 +0200 Add metadata.yaml as a requirement (open-telemetry#23340) Fixes: open-telemetry#20908. --------- Co-authored-by: Yang Song <songy23@users.noreply.github.com> commit 563fd6f Author: Alex Boten <aboten@lightstep.com> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <aboten@lightstep.com> commit d2c7c1f Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Tue Jun 13 09:45:00 2023 -0600 [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280) commit 375da69 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Tue Jun 13 08:23:00 2023 -0600 [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281) * [chore] Deprecate unnecessary fileconsumer API * Add deprecation version and tentative removal version commit 6ac5285 Author: Dewald de Jager <DewaldDeJager@users.noreply.github.com> Date: Tue Jun 13 11:20:41 2023 +0200 [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962) * Start adding the status information to the metadata schema documentation * Remove cmd from the list of possible classes * Fix spelling mistake Co-authored-by: Antoine Toulme <antoine@toulme.name> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <antoine@toulme.name> * Fix the tests after updating the example metadata file * Document how to use mdatagen and the schema of metadata.yaml * Add the stability levels for connectors * Change the receiver type so the tests pass * Update the generated documentation * Change the syntax used for string array types so that it is valid YAML --------- Co-authored-by: Antoine Toulme <antoine@toulme.name> commit 061eb3e Author: Mikołaj Świątek <mswiatek@sumologic.com> Date: Tue Jun 13 06:29:11 2023 +0000 [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272) Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store. I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently. commit ab42d69 Author: zeno-splunk <134558926+zeno-splunk@users.noreply.github.com> Date: Mon Jun 12 22:36:54 2023 -0700 [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332) Update `kafka.brokers` metric to be non-monothonic sum instead of gauge commit 9e4d50f Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Mon Jun 12 20:28:17 2023 -0700 remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248) Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus commit e0249e0 Author: Alex Boten <aboten@lightstep.com> Date: Mon Jun 12 15:01:49 2023 -0700 [chore] forwardconnector was not listed in the modules script (open-telemetry#23330) this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently Signed-off-by: Alex Boten <aboten@lightstep.com> commit 9d5526c Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Mon Jun 12 09:58:22 2023 -0600 [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255) commit bbea8aa Author: Trask Stalnaker <trask.stalnaker@gmail.com> Date: Mon Jun 12 08:38:45 2023 -0700 Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268) commit 0f8e128 Author: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Mon Jun 12 08:45:16 2023 -0600 [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259) Update readme commit 6d35fd7 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Mon Jun 12 16:33:47 2023 +0200 [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211) Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> commit 88ac450 Author: Gabriel Aszalos <gabriel.aszalos@gmail.com> Date: Mon Jun 12 17:31:02 2023 +0300 receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851) * receiver/dockerstatsreceiver: add container.uptime metric This change adds the `container.uptime` metric which indicates time elapsed (in seconds) since the container started. * Add scraper error for invalid time format * Disable by default * empty commit 6947357 Author: Yang Song <songy23@users.noreply.github.com> Date: Mon Jun 12 10:27:42 2023 -0400 [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240) * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation * Add to changelog * Update exporter/datadogexporter/config.go Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> commit b247914 Author: Raj Nishtala <113392743+rnishtala-sumo@users.noreply.github.com> Date: Mon Jun 12 10:26:18 2023 -0400 [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210) * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string commit 3b62a17 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Mon Jun 12 07:50:37 2023 -0600 [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254) * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable * Update .chloggen/elastic-stable-nodevesiongate.yaml Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> --------- Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> commit 6249ae8 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Mon Jun 12 13:09:13 2023 +0200 resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740) * resourcedetectionprocessor: use gopsutil for host id detection Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> commit 820510e Author: Ziqi Zhao <zhaoziqi9146@gmail.com> Date: Mon Jun 12 18:10:33 2023 +0800 [chore] [all] Enable exhaustive linter on golangci-lint (open-telemetry#23242) Enable exhaustive linter on golangci-lint Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 752330e Author: shalper2 <99686388+shalper2@users.noreply.github.com> Date: Sun Jun 11 10:44:14 2023 -0500 [receiver/webhookevent] Enable component (open-telemetry#23239) Graduate webhookeventreceiver component to Alpha
commit 739e583 Author: Anthony Mirabella <a9@aneurysm9.com> Date: Tue Jun 20 18:11:41 2023 -0400 [chore] Prepare release v0.80.0 (open-telemetry#23584) The following commands were run to prepare this release: - make chlog-update VERSION=v0.80.0 - sed -i.bak s/0.79.0/0.80.0/g versions.yaml - make multimod-prerelease - make multimod-sync Additionally, changes from open-telemetry#23583 were incorporated. --------- Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com> Co-authored-by: Alex Boten <aboten@lightstep.com> commit e988fca Author: Alex Boten <aboten@lightstep.com> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <aboten@lightstep.com> commit 42dbc6c Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 19:51:21 2023 +0200 aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572) Metric unit is required, see: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. This PR adds the unit to metrics where this is missing: - aerospike.node.query.tracked commit 200778b Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 18:51:54 2023 +0200 [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575) This func is not used. Because the receiver is the metadata struct, it would need to be called directly. This also tests field Name -- which does not exist anymore (replaced by Type). **Note:** Validation of Type will be done as part of open-telemetry#23424 commit b726aee Author: Mend Renovate <bot@renovateapp.com> Date: Tue Jun 20 18:49:27 2023 +0200 chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://github.com/actions/download-artifact) | action | major | `v2` -> `v3` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | action | major | `v2` -> `v3` | --- <details> <summary>actions/download-artifact</summary> [`v3`](https://github.com/actions/download-artifact/compare/v2...v3) [Compare Source](https://github.com/actions/download-artifact/compare/v2...v3) </details> <details> <summary>actions/upload-artifact</summary> [Compare Source](https://github.com/actions/upload-artifact/compare/v2...v3) </details> --- 📅 **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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> commit 9d38d84 Author: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Date: Tue Jun 20 12:13:20 2023 -0400 [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455) - Added gzip and zstd tests to SAPM trace test. - Modified GenerateTraces to generate more variable data to make sure it is a more fair comparison when compression is enabled (otherwise it was compressing too well and was not representative of real-world workloads). This makes easier to see the impact of added zstd compression done in open-telemetry#23257 commit 9a5f723 Author: rubenruizdegauna <rubenruizdegauna@gmail.com> Date: Tue Jun 20 07:42:56 2023 +0200 [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451) Currently `process.cpu.utilization` is not sent when it is enabled if `process.cpu.time` is disabled. It should be sent independently of `process.cpu.time` commit ad2e101 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 20 07:21:06 2023 +0200 [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454) This PR adds the bytes unit to metrics where this is missing. unit is a required field, see https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73. commit d89a6e1 Author: Bartosz Sławianowski <eplightning@outlook.com> Date: Mon Jun 19 21:13:53 2023 +0200 [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453) Kubernetes namespace is a cluster-scoped resource and doesn't seem to have populated `namespace` field in Kubernetes (at least on 1.25.x and 1.26.x). This PR changes it so the name of the namespace is simply taken from `name` field instead. commit 6ee548b Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Mon Jun 19 10:51:31 2023 -0700 [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438) Switch k8s.node metrics to use pdata. commit 5fff104 Author: Gabriel Aszalos <gabriel.aszalos@gmail.com> Date: Mon Jun 19 13:13:11 2023 +0300 {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445) This change bumps the opentelemetry-mapping-go dependency to v0.5.0 which contains the metric remapping code. As a result, it is removed from the exporter. commit b719459 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Sat Jun 17 10:50:17 2023 -0700 [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437) Switch k8s.namespace metrics to use pdata. commit b2238b9 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 23:08:30 2023 -0700 [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434) To reduce RAM utilization. Resolves open-telemetry#23433 This is the last PR to reduce the memory footprint of k8s API informers. Other objects are more static and usually don't have a lot of instances in user clusters, so there is no need to reduce their size. commit 1c84fb2 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Sat Jun 17 06:24:40 2023 +0200 feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274) **Description:** deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors` ``` 2023-06-12T08:29:43.306+0200 info service/telemetry.go:104 Setting up own telemetry... 2023-06-12T08:29:43.306+0200 info service/telemetry.go:127 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} 2023-06-12T08:29:43.306+0200 info exporter@v0.79.0/exporter.go:275 Development component. May change in the future. {"kind": "exporter", "data_type": "metrics", "name": "logging"} 2023-06-12T08:29:43.308+0200 info service/service.go:131 Starting otelcontribcol... {"Version": "0.79.0-dev", "NumCPU": 16} 2023-06-12T08:29:43.308+0200 info extensions/extensions.go:30 Starting extensions... 2023-06-12T08:29:43.308+0200 warn mysqlreceiver@v0.79.0/scraper.go:60 `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead {"kind": "receiver", "name": "mysql", "data_type": "metrics"} 2023-06-12T08:29:43.308+0200 info service/service.go:148 Everything is ready. Begin running and processing data. ^C2023-06-12T08:29:44.055+0200 info otelcol/collector.go:227 Received signal from OS {"signal": "interrupt"} 2023-06-12T08:29:44.056+0200 info service/service.go:157 Starting shutdown... ``` --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> Co-authored-by: Daniel Jaglowski <jaglows3@gmail.com> Co-authored-by: Curtis Robert <92119472+crobert-1@users.noreply.github.com> commit c8cf780 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 15:00:42 2023 -0700 [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432) Do not store unused data for deployments, statefulsets and daemonsets in k8s API cache to reduce RAM usage. Updates open-telemetry#23433 commit 0ccde43 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Fri Jun 16 21:01:32 2023 +0200 Document extension as value for stability in metadata.yaml (open-telemetry#23426) Currently, this is used in all extensions (e.g. [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)), but this is not documented in `metadata-schema.yaml`. commit 8869951 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Fri Jun 16 11:51:00 2023 -0700 Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431) …rnal metrics (open-telemetry#23369)" This reverts commit 42bca6f. Revert it until open-telemetry#23369 (comment) is resolved to avoid adding it to the next release Co-authored-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 6ad0589 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Fri Jun 16 19:21:23 2023 +0200 [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213) This PR adds the resource attributes added by the k8sattributes processor to the metadata.yaml file in the resource_attributes group. Only the attributes which are added by default (see [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration)) are marked as enabled. The default resource attributes defined in metadata.yaml are used to make the default extract::metadata list. Resource attributes are exposed through a different configuration interface. This is noted in the metadata.yaml file. commit a4585ce Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Fri Jun 16 08:50:14 2023 -0700 [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416) commit 0ae07ba Author: Pablo Baeyens <pbaeyens31+github@gmail.com> Date: Fri Jun 16 11:05:52 2023 +0200 [chore] Clean up CODEOWNERS (open-telemetry#23382) **Description:** Clean up CODEOWNERS file to remove redundant lines; add these to the ALLOWLIST. **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG commit a5cdd2f Author: atshaw43 <108552302+atshaw43@users.noreply.github.com> Date: Fri Jun 16 00:11:17 2023 -0700 [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313) Add link span link support and support for the messaging field. We are conforming to the OTel spec: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110 commit 42bca6f Author: Ziqi Zhao <zhaoziqi9146@gmail.com> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 559f19c Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 19:25:45 2023 -0700 [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419) **Description:** Switch k8s.rq metrics to use pdata. commit 2e11f46 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 19:25:20 2023 -0700 [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420) commit 5cfcdeb Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Thu Jun 15 17:59:51 2023 -0700 [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417) This change removes unused k8s informer data from the cache to reduce RAM utilization. Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage. commit 260f34f Author: linfn <linfeng.lu@hotmail.com> Date: Fri Jun 16 02:44:06 2023 +0800 [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799) In Skywalking, parentSpanId == -1 indicates that the span is [the first span within the current segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119), rather than within the entire trace. Leaving parentSpanId blank can cause the call relationship to be lost when crossing segments. commit f709809 Author: Sam DeHaan <sam.dehaan@bluemedora.com> Date: Thu Jun 15 14:42:59 2023 -0400 [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363) Access Logs required permissions for monitoring were not documented in the receiver README. Should have been documented for open-telemetry#21182 commit 8885502 Author: Raj Nishtala <113392743+rnishtala-sumo@users.noreply.github.com> Date: Thu Jun 15 14:41:37 2023 -0400 [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414) Updating CODEOWNERS for processor/groupbyattrsprocessor commit d98e12b Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 10:16:33 2023 -0700 [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408) Rebase of open-telemetry#18250 with latest main. --------- Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com> commit e6e1e76 Author: Dmitrii Anoshin <anoshindx@gmail.com> Date: Thu Jun 15 10:10:13 2023 -0700 [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403) Do not drop `container.cpu.time` metric in the default translations so it can be enabled in the `include_metrics` config option. This is the only metric that is dropped in the translations. All other metrics are being kept. commit 65a1dea Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Thu Jun 15 08:09:39 2023 -0700 [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410) Try sending data a few times to fix flakiness of test. **Link to tracking Issue:** Fixes open-telemetry#23381 commit 9f0032e Author: Pablo Baeyens <pbaeyens31+github@gmail.com> Date: Thu Jun 15 14:43:18 2023 +0200 [chore] make gotidy (open-telemetry#23412) Fixes main after open-telemetry#23257 commit ae15d8c Author: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Date: Thu Jun 15 07:04:14 2023 -0400 Add zstd compression to SAPM receiver and exporter (open-telemetry#23257) - Updated github.com/signalfx/sapm-proto to v0.13.0 - Added "compression" config setting to sapm exporter - Added tests to verify various compression settings for sapm receiver and exporter. commit c2658a7 Author: Mike Dame <mikedame@google.com> Date: Thu Jun 15 06:58:12 2023 -0400 [chore] Update GCP codeowners (open-telemetry#22781) Updating CODEOWNERS entries for GCP exporters commit c7462f2 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Wed Jun 14 23:40:16 2023 -0700 [chore] add k8sclusterreceiver e2e test (open-telemetry#23386) Adds an e2e test for k8sclusterreceiver with a golden metrics file. commit 1bf2547 Author: Andrzej Stencel <astencel@sumologic.com> Date: Wed Jun 14 22:40:06 2023 +0200 [receiver/sqlquery] add support for logs (open-telemetry#20730) Fixes open-telemetry#20284 This introduces initial support for retrieving rows from SQL databases into logs. This PR aims to provide an initial, not feature rich, but production ready implementation. The following features are available: - Use `body_column` to select the column to use to fill the Body field of the created log - Use `tracking_start_value` and `tracking_column` properties to track rows that were already ingested - Use `storage` property to persist the tracking value across collector restarts In this state and marked as "development" stability, the component can be used for experimentation and to guide future development. There are definitely more things that need to be implemented for this component to be considered "alpha" quality - like filling in other [log fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition) like Timestamp, ObservedTimestamp and others. I would like to add them in subsequent pull requests, as this pull request is already way too big. --------- Co-authored-by: Dominika Molenda <dmolenda@sumologic.com> Co-authored-by: Dominika Molenda <73838995+dmolenda-sumo@users.noreply.github.com> Co-authored-by: Katarzyna Kujawa <73836361+kkujawa-sumo@users.noreply.github.com> Co-authored-by: Katarzyna Kujawa <kkujawa@sumologic.com> commit e7608db Author: Irina <mar4ukira@gmail.com> Date: Wed Jun 14 19:50:04 2023 +0100 [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733) **Description:** There is currently no way to get the [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396) field from plog.LogRecord into Loki. Added Flags field to lokiEntry in this PR **Link to tracking Issue:** open-telemetry#21650 **Testing:** Added unit tests commit 50bbb9f Author: Ben B <bongartz@klimlive.de> Date: Wed Jun 14 20:42:33 2023 +0200 [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384) cc @jpkrohling @pavankrish123 Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> commit a4dda5b Author: Vastin <vastin@gmail.com> Date: Wed Jun 14 13:12:48 2023 -0500 [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626) **Description:** This PR adds [exponential histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram) support in `awsemfexporter`. The exponential histogram metrics are exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and Min are set as Statistical Set. The mid-point values and counts of exponential histogram buckets are translated into Values/Counts array of EMF log entry as well. **Testing:** The unit test is added and covers positive, zero and negative values. The integration test is performed with following OTEL collector configuration. ``` extensions: health_check: receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 http: endpoint: 0.0.0.0:4318 processors: batch/metrics: timeout: 60s exporters: logging: verbosity: detailed awsemf: region: 'us-east-1' namespace: "Test" dimension_rollup_option: "NoDimensionRollup" service: pipelines: metrics: receivers: [otlp] processors: [batch/metrics] exporters: [awsemf, logging] extensions: [health_check] telemetry: logs: level: "debug" ``` It generated EMF log for histogram metrics in following JSON format. Notes: It doesn't cover negative values since histograms can [only record non-negative values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram) and will [drop negative values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44). ``` "latency": { "Values": [ 309.4277237034415, 323.12725941969757, 326.64588457862067, 344.8221530867399, 520.3933272846809, 531.7884573308439, 537.579253961712, 543.4331082335607, 549.3507067990806, 555.3327437881196, 561.3799208891041, 567.4929474313465, 720.1774681373079, 0 ], "Counts": [ 1, 1, 1, 1, 1, 3, 4, 2, 2, 3, 1, 1, 1, 22 ], "Max": 720, "Min": 0, "Count": 44, "Sum": 11265 } ``` commit f66845f Author: Ben B <bongartz@klimlive.de> Date: Wed Jun 14 20:09:35 2023 +0200 [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739) Closes open-telemetry#22737 --------- Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de> commit 6a83a9a Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Wed Jun 14 19:11:38 2023 +0200 [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337) Deprecate options which are going to be removed **Link to tracking Issue:** open-telemetry#23059 --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> Co-authored-by: Mikołaj Świątek <mswiatek@sumologic.com> Co-authored-by: Alex Boten <aboten@lightstep.com> commit 3faedfc Author: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com> Date: Wed Jun 14 09:39:22 2023 -0700 [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380) Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in /receiver/awsxrayreceiver commit d9326aa Author: Alex Boten <aboten@lightstep.com> Date: Wed Jun 14 09:13:30 2023 -0700 [chore] mark components as unmaintained (open-telemetry#23379) These components no longer have an active code owner as a result of Signed-off-by: Alex Boten <aboten@lightstep.com> commit 8729c16 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Wed Jun 14 09:32:35 2023 -0600 [chore] Enable exhaustive linter for several modules (open-telemetry#23329) Updates open-telemetry#23266 - receiver/nsxt - receiver/snmp - connector/count - extension/storage - pkg/stanza commit 52d87f8 Author: Evan Bradley <11745660+evan-bradley@users.noreply.github.com> Date: Wed Jun 14 11:30:51 2023 -0400 [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143) This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context. **Link to tracking Issue:** Implements open-telemetry#18461 Co-authored-by: Matej Gera <38492574+matej-g@users.noreply.github.com> --------- Co-authored-by: Evan Bradley <evan-bradley@users.noreply.github.com> Co-authored-by: Matej Gera <38492574+matej-g@users.noreply.github.com> commit 31bfef7 Author: Alex Boten <aboten@lightstep.com> Date: Wed Jun 14 08:18:27 2023 -0700 [chore] bump go version for linting (open-telemetry#23346) After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment) I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues. --------- Signed-off-by: Alex Boten <aboten@lightstep.com> commit d79f3c0 Author: Curtis Robert <92119472+crobert-1@users.noreply.github.com> Date: Wed Jun 14 08:05:56 2023 -0700 [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368) As a result of issue open-telemetry#23246, a few components are now unmaintained. These need to be documented in the ALLOWLIST file. commit 19e2a2d Author: Tomáš Žďára <tomas.zdara@sentinelone.com> Date: Wed Jun 14 11:22:35 2023 +0200 DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250) * DSET-3998 - export Logs resource info based on export_resource_info_on_event configuration * DSET-3998 - simplify * DSET-3998 - improve docs * Fix log exporter to set AddEvents Event timestamp (ts) field to event observed timetamp in case LogRecord doesn't contain timestamp. Even though ObservedTimestamp should always be present, we fall back to current time in case it's not. In addition to that, remove duplicate and redundant "timestamp" attribute from the AddEvents event. * Add additional assertions. * Remove dummy debug logs. * Create export-logs-resource-info-based-configuration * address PR notes - fix changelog gen * fix docs typo * fix changelog file suffix --------- Co-authored-by: Tomaz Muraus <tomazm@sentinelone.com> Co-authored-by: Tomaz Muraus <126863902+tomaz-s1@users.noreply.github.com> commit 5a582d9 Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Wed Jun 14 00:31:28 2023 -0700 [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366) Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric. commit 16df49f Author: Sean Marciniak <30928402+MovieStoreGuy@users.noreply.github.com> Date: Wed Jun 14 12:00:31 2023 +0930 [chore] Fix datadog receiver flakey test. (open-telemetry#23336) * Use random address * Bind to localhost interface commit 9f854da Author: Mikołaj Świątek <mswiatek@sumologic.com> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com> Date: Tue Jun 13 12:57:55 2023 -0700 [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345) Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver commit 6bf41e4 Author: Mackenzie <63265430+mackjmr@users.noreply.github.com> Date: Tue Jun 13 18:33:39 2023 +0200 Add metadata.yaml as a requirement (open-telemetry#23340) Fixes: open-telemetry#20908. --------- Co-authored-by: Yang Song <songy23@users.noreply.github.com> commit 563fd6f Author: Alex Boten <aboten@lightstep.com> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <aboten@lightstep.com> commit d2c7c1f Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Tue Jun 13 09:45:00 2023 -0600 [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280) commit 375da69 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Tue Jun 13 08:23:00 2023 -0600 [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281) * [chore] Deprecate unnecessary fileconsumer API * Add deprecation version and tentative removal version commit 6ac5285 Author: Dewald de Jager <DewaldDeJager@users.noreply.github.com> Date: Tue Jun 13 11:20:41 2023 +0200 [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962) * Start adding the status information to the metadata schema documentation * Remove cmd from the list of possible classes * Fix spelling mistake Co-authored-by: Antoine Toulme <antoine@toulme.name> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <antoine@toulme.name> * Fix the tests after updating the example metadata file * Document how to use mdatagen and the schema of metadata.yaml * Add the stability levels for connectors * Change the receiver type so the tests pass * Update the generated documentation * Change the syntax used for string array types so that it is valid YAML --------- Co-authored-by: Antoine Toulme <antoine@toulme.name> commit 061eb3e Author: Mikołaj Świątek <mswiatek@sumologic.com> Date: Tue Jun 13 06:29:11 2023 +0000 [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272) Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store. I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently. commit ab42d69 Author: zeno-splunk <134558926+zeno-splunk@users.noreply.github.com> Date: Mon Jun 12 22:36:54 2023 -0700 [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332) Update `kafka.brokers` metric to be non-monothonic sum instead of gauge commit 9e4d50f Author: Antoine Toulme <antoine@lunar-ocean.com> Date: Mon Jun 12 20:28:17 2023 -0700 remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248) Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus commit e0249e0 Author: Alex Boten <aboten@lightstep.com> Date: Mon Jun 12 15:01:49 2023 -0700 [chore] forwardconnector was not listed in the modules script (open-telemetry#23330) this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently Signed-off-by: Alex Boten <aboten@lightstep.com> commit 9d5526c Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Mon Jun 12 09:58:22 2023 -0600 [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255) commit bbea8aa Author: Trask Stalnaker <trask.stalnaker@gmail.com> Date: Mon Jun 12 08:38:45 2023 -0700 Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268) commit 0f8e128 Author: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Mon Jun 12 08:45:16 2023 -0600 [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259) Update readme commit 6d35fd7 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Mon Jun 12 16:33:47 2023 +0200 [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211) Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> commit 88ac450 Author: Gabriel Aszalos <gabriel.aszalos@gmail.com> Date: Mon Jun 12 17:31:02 2023 +0300 receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851) * receiver/dockerstatsreceiver: add container.uptime metric This change adds the `container.uptime` metric which indicates time elapsed (in seconds) since the container started. * Add scraper error for invalid time format * Disable by default * empty commit 6947357 Author: Yang Song <songy23@users.noreply.github.com> Date: Mon Jun 12 10:27:42 2023 -0400 [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240) * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation * Add to changelog * Update exporter/datadogexporter/config.go Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> commit b247914 Author: Raj Nishtala <113392743+rnishtala-sumo@users.noreply.github.com> Date: Mon Jun 12 10:26:18 2023 -0400 [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210) * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string commit 3b62a17 Author: Daniel Jaglowski <jaglows3@gmail.com> Date: Mon Jun 12 07:50:37 2023 -0600 [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254) * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable * Update .chloggen/elastic-stable-nodevesiongate.yaml Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> --------- Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> commit 6249ae8 Author: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> Date: Mon Jun 12 13:09:13 2023 +0200 resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740) * resourcedetectionprocessor: use gopsutil for host id detection Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> --------- Signed-off-by: Dominik Rosiek <drosiek@sumologic.com> commit 820510e Author: Ziqi Zhao <zhaoziqi9146@gmail.com> Date: Mon Jun 12 18:10:33 2023 +0800 [chore] [all] Enable exhaustive linter on golangci-lint (open-telemetry#23242) Enable exhaustive linter on golangci-lint Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> commit 752330e Author: shalper2 <99686388+shalper2@users.noreply.github.com> Date: Sun Jun 11 10:44:14 2023 -0500 [receiver/webhookevent] Enable component (open-telemetry#23239) Graduate webhookeventreceiver component to Alpha Co-authored-by: jimchen <jimchen@easyops.cn>
Hi @atshaw43 I've been looking into the exporter code and trying to understand where this is used. I haven't found references to any link support in the AWS Xray for Python, Node or Java and therefore I'm baffled as to where this is used. I don't see any mention of this in the docs https://docs.aws.amazon.com/xray/latest/devguide/aws-xray-interface-api.html#xray-api-segmentdocuments.html or the associated JSON schema. Any help is much appreciated |
Description:
Add link span link support and support for the messaging field.
Link to tracking Issue:
Testing:
Unit Test
Documentation:
We are conforming to the OTel specs.
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links
https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110