-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Some metrics in kafkametricsreceiver are defined as Gauge, but they are non-monotonic sums #4327
Comments
* stop build if config file not exist * Update cmd/builder/cmd/root.go Co-authored-by: Bogdan Drutu <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]>
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Pinging code owners for receiver/kafka: @pavolloffay @MovieStoreGuy. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hi @bogdandrutu Also, for those non-monotonic sums, should we use cumulative aggregation or delta aggregation? |
@zeno-splunk please see here for the definition of the metric:
|
[receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327)
[chore]Fix metrics in kafkametricsreceiver (open-telemetry#4327)
…23632) Utilize mdatagen to modify certain metrics from gauge to non-monotonic sum, employing delta aggregation. Adjust the test files to align with the sum test type and update the expected.yaml file for integration testing purposes. Co-authored-by: zeno-splunk <[email protected]>
commit 739e583 Author: Anthony Mirabella <[email protected]> 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 <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit e988fca Author: Alex Boten <[email protected]> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <[email protected]> commit 42dbc6c Author: Mackenzie <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 [email protected]/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 [email protected]/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 <[email protected]> Co-authored-by: Daniel Jaglowski <[email protected]> Co-authored-by: Curtis Robert <[email protected]> commit c8cf780 Author: Dmitrii Anoshin <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 6ad0589 Author: Mackenzie <[email protected]> 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 <[email protected]> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <[email protected]> commit 559f19c Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <[email protected]> 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 <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]> commit e6e1e76 Author: Dmitrii Anoshin <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> commit e7608db Author: Irina <[email protected]> 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 <[email protected]> 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 <[email protected]> commit a4dda5b Author: Vastin <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 6a83a9a Author: Dominik Rosiek <[email protected]> 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 <[email protected]> Co-authored-by: Mikołaj Świątek <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit 3faedfc Author: OpenTelemetry Bot <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 8729c16 Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> --------- Co-authored-by: Evan Bradley <[email protected]> Co-authored-by: Matej Gera <[email protected]> commit 31bfef7 Author: Alex Boten <[email protected]> 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 <[email protected]> commit d79f3c0 Author: Curtis Robert <[email protected]> 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 <[email protected]> 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 <[email protected]> Co-authored-by: Tomaz Muraus <[email protected]> commit 5a582d9 Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 563fd6f Author: Alex Boten <[email protected]> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <[email protected]> commit d2c7c1f Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <[email protected]> * 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 <[email protected]> commit 061eb3e Author: Mikołaj Świątek <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 9d5526c Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 88ac450 Author: Gabriel Aszalos <[email protected]> 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 <[email protected]> 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 <[email protected]> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <[email protected]> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <[email protected]> commit b247914 Author: Raj Nishtala <[email protected]> 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 <[email protected]> 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 <[email protected]> --------- Co-authored-by: Pablo Baeyens <[email protected]> commit 6249ae8 Author: Dominik Rosiek <[email protected]> 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 <[email protected]> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <[email protected]> --------- Signed-off-by: Dominik Rosiek <[email protected]> commit 820510e Author: Ziqi Zhao <[email protected]> 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 <[email protected]> commit 752330e Author: shalper2 <[email protected]> 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 <[email protected]> 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 <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit e988fca Author: Alex Boten <[email protected]> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <[email protected]> commit 42dbc6c Author: Mackenzie <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 [email protected]/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 [email protected]/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 <[email protected]> Co-authored-by: Daniel Jaglowski <[email protected]> Co-authored-by: Curtis Robert <[email protected]> commit c8cf780 Author: Dmitrii Anoshin <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 6ad0589 Author: Mackenzie <[email protected]> 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 <[email protected]> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <[email protected]> commit 559f19c Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <[email protected]> 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 <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]> commit e6e1e76 Author: Dmitrii Anoshin <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> commit e7608db Author: Irina <[email protected]> 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 <[email protected]> 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 <[email protected]> commit a4dda5b Author: Vastin <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 6a83a9a Author: Dominik Rosiek <[email protected]> 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 <[email protected]> Co-authored-by: Mikołaj Świątek <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit 3faedfc Author: OpenTelemetry Bot <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 8729c16 Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> --------- Co-authored-by: Evan Bradley <[email protected]> Co-authored-by: Matej Gera <[email protected]> commit 31bfef7 Author: Alex Boten <[email protected]> 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 <[email protected]> commit d79f3c0 Author: Curtis Robert <[email protected]> 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 <[email protected]> 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 <[email protected]> Co-authored-by: Tomaz Muraus <[email protected]> commit 5a582d9 Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 563fd6f Author: Alex Boten <[email protected]> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <[email protected]> commit d2c7c1f Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <[email protected]> * 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 <[email protected]> commit 061eb3e Author: Mikołaj Świątek <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 9d5526c Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 88ac450 Author: Gabriel Aszalos <[email protected]> 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 <[email protected]> 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 <[email protected]> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <[email protected]> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <[email protected]> commit b247914 Author: Raj Nishtala <[email protected]> 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 <[email protected]> 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 <[email protected]> --------- Co-authored-by: Pablo Baeyens <[email protected]> commit 6249ae8 Author: Dominik Rosiek <[email protected]> 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 <[email protected]> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <[email protected]> --------- Signed-off-by: Dominik Rosiek <[email protected]> commit 820510e Author: Ziqi Zhao <[email protected]> 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 <[email protected]> commit 752330e Author: shalper2 <[email protected]> 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 <[email protected]>
commit 739e583 Author: Anthony Mirabella <[email protected]> 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 <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit e988fca Author: Alex Boten <[email protected]> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <[email protected]> commit 42dbc6c Author: Mackenzie <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 [email protected]/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 [email protected]/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 <[email protected]> Co-authored-by: Daniel Jaglowski <[email protected]> Co-authored-by: Curtis Robert <[email protected]> commit c8cf780 Author: Dmitrii Anoshin <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 6ad0589 Author: Mackenzie <[email protected]> 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 <[email protected]> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <[email protected]> commit 559f19c Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <[email protected]> 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 <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]> commit e6e1e76 Author: Dmitrii Anoshin <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> commit e7608db Author: Irina <[email protected]> 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 <[email protected]> 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 <[email protected]> commit a4dda5b Author: Vastin <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 6a83a9a Author: Dominik Rosiek <[email protected]> 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 <[email protected]> Co-authored-by: Mikołaj Świątek <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit 3faedfc Author: OpenTelemetry Bot <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 8729c16 Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> --------- Co-authored-by: Evan Bradley <[email protected]> Co-authored-by: Matej Gera <[email protected]> commit 31bfef7 Author: Alex Boten <[email protected]> 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 <[email protected]> commit d79f3c0 Author: Curtis Robert <[email protected]> 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 <[email protected]> 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 <[email protected]> Co-authored-by: Tomaz Muraus <[email protected]> commit 5a582d9 Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 563fd6f Author: Alex Boten <[email protected]> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <[email protected]> commit d2c7c1f Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <[email protected]> * 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 <[email protected]> commit 061eb3e Author: Mikołaj Świątek <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 9d5526c Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 88ac450 Author: Gabriel Aszalos <[email protected]> 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 <[email protected]> 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 <[email protected]> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <[email protected]> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <[email protected]> commit b247914 Author: Raj Nishtala <[email protected]> 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 <[email protected]> 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 <[email protected]> --------- Co-authored-by: Pablo Baeyens <[email protected]> commit 6249ae8 Author: Dominik Rosiek <[email protected]> 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 <[email protected]> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <[email protected]> --------- Signed-off-by: Dominik Rosiek <[email protected]> commit 820510e Author: Ziqi Zhao <[email protected]> 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 <[email protected]> commit 752330e Author: shalper2 <[email protected]> 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 <[email protected]> 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 <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit e988fca Author: Alex Boten <[email protected]> Date: Tue Jun 20 12:23:52 2023 -0700 [chore] update otel core (open-telemetry#23578) Signed-off-by: Alex Boten <[email protected]> commit 42dbc6c Author: Mackenzie <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 [email protected]/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 [email protected]/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 <[email protected]> Co-authored-by: Daniel Jaglowski <[email protected]> Co-authored-by: Curtis Robert <[email protected]> commit c8cf780 Author: Dmitrii Anoshin <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 6ad0589 Author: Mackenzie <[email protected]> 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 <[email protected]> Date: Fri Jun 16 08:57:52 2023 -0700 [chore] retry sending coverage output (open-telemetry#23413) commit 195ef43 Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Fri Jun 16 14:51:10 2023 +0800 [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369) Signed-off-by: Ziqi Zhao <[email protected]> commit 559f19c Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Thu Jun 15 10:21:42 2023 -0700 [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409) commit fd526ee Author: Antoine Toulme <[email protected]> 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 <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]> commit e6e1e76 Author: Dmitrii Anoshin <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Co-authored-by: Dominika Molenda <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> Co-authored-by: Katarzyna Kujawa <[email protected]> commit e7608db Author: Irina <[email protected]> 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 <[email protected]> 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 <[email protected]> commit a4dda5b Author: Vastin <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 6a83a9a Author: Dominik Rosiek <[email protected]> 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 <[email protected]> Co-authored-by: Mikołaj Świątek <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit 3faedfc Author: OpenTelemetry Bot <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 8729c16 Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> --------- Co-authored-by: Evan Bradley <[email protected]> Co-authored-by: Matej Gera <[email protected]> commit 31bfef7 Author: Alex Boten <[email protected]> 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 <[email protected]> commit d79f3c0 Author: Curtis Robert <[email protected]> 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 <[email protected]> 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 <[email protected]> Co-authored-by: Tomaz Muraus <[email protected]> commit 5a582d9 Author: Antoine Toulme <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Tue Jun 13 22:25:29 2023 +0000 [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338) commit 77d8c70 Author: OpenTelemetry Bot <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 563fd6f Author: Alex Boten <[email protected]> Date: Tue Jun 13 09:33:00 2023 -0700 [chore] make update-otel (open-telemetry#23278) --------- Signed-off-by: Alex Boten <[email protected]> commit d2c7c1f Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> * Update the value used for the development stability status Co-authored-by: Antoine Toulme <[email protected]> * 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 <[email protected]> commit 061eb3e Author: Mikołaj Świątek <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 9d5526c Author: Daniel Jaglowski <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> commit 88ac450 Author: Gabriel Aszalos <[email protected]> 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 <[email protected]> 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 <[email protected]> * Update .chloggen/datadogexporter-new-trace-configs.yaml Co-authored-by: Pablo Baeyens <[email protected]> * Add subtext to changelog --------- Co-authored-by: Pablo Baeyens <[email protected]> commit b247914 Author: Raj Nishtala <[email protected]> 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 <[email protected]> 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 <[email protected]> --------- Co-authored-by: Pablo Baeyens <[email protected]> commit 6249ae8 Author: Dominik Rosiek <[email protected]> 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 <[email protected]> * feat: use opentelemetry sdk Signed-off-by: Dominik Rosiek <[email protected]> --------- Signed-off-by: Dominik Rosiek <[email protected]> commit 820510e Author: Ziqi Zhao <[email protected]> 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 <[email protected]> commit 752330e Author: shalper2 <[email protected]> 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 <[email protected]>
commit 2ae4bb7319f43c979735e96e1f782494e05e0cc7 Author: OpenTelemetry Bot <[email protected]> Date: Wed Jul 5 04:13:15 2023 -0700 [chore] Prepare release 0.81.0 (#23978) The following commands were run to prepare this release: - make chlog-update VERSION=v0.81.0 - sed -i.bak s/0.80.0/0.81.0/g versions.yaml - make multimod-prerelease - make multimod-sync --------- Co-authored-by: Pablo Baeyens <[email protected]> commit e9bdc636a01731bc1531f0b1a74859812e073eb4 Author: Pablo Baeyens <[email protected]> Date: Wed Jul 5 12:50:05 2023 +0200 Revert "[chore] Remove skip flaky test for hostmetricsreceiver" (#23982) Reverts open-telemetry/opentelemetry-collector-contrib#23874. The test is still flaky on Windows. commit f85dd5b4b59282932db14a1187ad3687083b4c5c Author: Pablo Baeyens <[email protected]> Date: Wed Jul 5 11:21:45 2023 +0200 Make sed replace statements more resilient (#23977) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> While working on open-telemetry/opentelemetry-collector/issues/8033, I got the following error ([full logs](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/5461142477/jobs/9938863136)): ``` github.com/open-telemetry/opentelemetry-collector-contrib/cmd/otelcontribcol imports github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver imports github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection imports github.com/openshift/api/quota/v1: reading github.com/openshift/api/go.mod at revision v0.0.0-20.81.01171038-322a19404e37: unknown revision v0.0.0-20.81.01171038-322a19404e37 ``` This is because the script for preparing releases has the following sed statement: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/10e46605b7b9f775a3658f4e2ba59960ffe33847/cmd/otelcontribcol/builder-config.yaml#L416 which ends up replacing `018080` within the `openshift/api` pseudoversion by `0.81.0`. To work around this, we make the replace statements more specific. An alternative would be something like https://stackoverflow.com/a/2705678, but this approach is still broken if a dependency we are replacing has exactly the version we are updating from, so I think ultimately we need a different approach. **Testing:** I tested this on https://github.com/mx-psi/opentelemetry-collector-contrib/actions/runs/5462095129/jobs/9940974190; the job is able to run until the point of creating the PR, where it fails because the bot account does not have permission to create a PR. commit 10e46605b7b9f775a3658f4e2ba59960ffe33847 Author: John Law <[email protected]> Date: Wed Jul 5 08:21:22 2023 +1200 [ci] Specify 7 as arm version for arm build in CI (#23436) **Description:** Currently, we specify arm architecture in the cross build test without specifying the `GOARM` variable. This means the `GOARM` value falls back to the default and the default value depends on the platform that we are building on. We are building on `linux/amd64` machine in github action, so the `GOARM` defaults to `5`. [There are changes to default to GOARM=7 for all non-arm systems in the upcoming golang version](https://go-review.googlesource.com/c/go/+/470695) I'm looking to add an armv7 release, so without waiting for the newer golang version, I want to explicitly set the arm version in the CI to align with the release arm version. In this pull request, I expanded the configuration for arm build by adding a new block with the arm version under `include`. Then introduce the `GOARM` environment variable when calling `make otelcontribcol` **Testing:** Able to run `make GOOS=x GOARCH=y GOARM=z otelcontribcol` with the following configurations locally - [x] `GOOS=linux`, `GOARCH=arm`, `GOARM=7` - [x] `GOOS=linux`, `GOARCH=arm64`, `GOARM=` - [x] `GOOS=darwin`, `GOARCH=amd64`, `GOARM=` - [x] `GOOS=window`, `GOARCH=amd64`, `GOARM=` commit d51d3135984633d7d07fdb42f38ef122849e548a Author: Jonah Kowall <[email protected]> Date: Tue Jul 4 16:20:42 2023 -0400 Removing jkowall from codeowners for logzioexporter (#23845) Removing @jkowall from codeowners https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/20768 Signed-off-by: Jonah Kowall <[email protected]> commit 9caec802b06e75bdb4a3f6b27409bfbefca543b8 Author: Daniel Jaglowski <[email protected]> Date: Tue Jul 4 16:19:47 2023 -0400 [chore] Minor cleanup of vcenter metric code (#23873) commit aa6560128d4cd9f7a540935a8b3e2a4c603e38c0 Author: David Ashpole <[email protected]> Date: Tue Jul 4 16:17:13 2023 -0400 Add dashpole back to auto-assignees (#23876) I'm back from leave! commit 65cc16d880571ef2224154253dbea885f5d8fac9 Author: David Ashpole <[email protected]> Date: Tue Jul 4 16:16:10 2023 -0400 Remove tbarker from codeowners (#23877) **Description:** Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23405 @tbarker25 doesn't work on OpenTelemetry for Google anymore. cc @punya commit d98c227f8d4c7072344a46ae1d2d64e33c2b8644 Author: OpenTelemetry Bot <[email protected]> Date: Tue Jul 4 11:23:18 2023 -0700 [chore] dependabot updates Tue Jul 4 17:49:08 UTC 2023 (#23954) Bump cloud.google.com/go/pubsub from 1.31.0 to 1.32.0 in /exporter/googlecloudpubsubexporter Bump cloud.google.com/go/pubsub from 1.31.0 to 1.32.0 in /receiver/googlecloudpubsubreceiver Bump github.com/DataDog/datadog-api-client-go/v2 from 2.13.0 to 2.14.0 in /exporter/datadogexporter Bump github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes from 0.5.0 to 0.5.1 in /exporter/datadogexporter Bump github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs from 0.5.0 to 0.5.1 in /exporter/datadogexporter Bump github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics from 0.5.0 to 0.5.1 in /exporter/datadogexporter Bump github.com/DataDog/opentelemetry-mapping-go/pkg/quantile from 0.5.0 to 0.5.1 in /exporter/datadogexporter Bump github.com/aliyun/aliyun-log-go-sdk from 0.1.49 to 0.1.50 in /exporter/alibabacloudlogserviceexporter Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /receiver/awsecscontainermetricsreceiver Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.294 in /receiver/awsxrayreceiver Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.295 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.295 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.295 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.290 to 1.44.295 in /internal/aws/cwlogs Bump github.com/golangci/golangci-lint from 1.53.2 to 1.53.3 in /internal/tools Bump github.com/hashicorp/consul/api from 1.21.0 to 1.22.0 in /internal/metadataproviders Bump github.com/hashicorp/consul/api from 1.21.0 to 1.22.0 in /processor/resourcedetectionprocessor Bump github.com/klauspost/compress from 1.16.6 to 1.16.7 in /exporter/fileexporter Bump github.com/klauspost/compress from 1.16.6 to 1.16.7 in /exporter/sapmexporter Bump github.com/klauspost/compress from 1.16.6 to 1.16.7 in /receiver/sapmreceiver Bump github.com/shirou/gopsutil/v3 from 3.23.5 to 3.23.6 in /exporter/signalfxexporter Bump github.com/shirou/gopsutil/v3 from 3.23.5 to 3.23.6 in /extension/observer/hostobserver Bump github.com/shirou/gopsutil/v3 from 3.23.5 to 3.23.6 in /receiver/awscontainerinsightreceiver Bump github.com/shirou/gopsutil/v3 from 3.23.5 to 3.23.6 in /receiver/hostmetricsreceiver Bump github.com/shirou/gopsutil/v3 from 3.23.5 to 3.23.6 in /receiver/jmxreceiver Bump github.com/shirou/gopsutil/v3 from 3.23.5 to 3.23.6 in /testbed Bump github.com/sijms/go-ora/v2 from 2.7.6 to 2.7.8 in /receiver/sqlqueryreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.687 to 1.0.692 in /exporter/tencentcloudlogserviceexporter Bump github.com/vmware/govmomi from 0.30.4 to 0.30.5 in /receiver/vcenterreceiver Bump go.mongodb.org/atlas from 0.29.0 to 0.30.0 in /receiver/mongodbatlasreceiver Bump golang.org/x/vuln from 0.1.0 to 0.2.0 in /internal/tools Bump google.golang.org/api from 0.128.0 to 0.129.0 in /exporter/f5cloudexporter Bump google.golang.org/api from 0.128.0 to 0.129.0 in /exporter/googlecloudpubsubexporter Bump google.golang.org/api from 0.128.0 to 0.129.0 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/api from 0.128.0 to 0.129.0 in /receiver/googlecloudspannerreceiver commit dbcf37ae329f0aef6f664ed5c05a9ac85f54579a Author: Ziqi Zhao <[email protected]> Date: Wed Jul 5 01:30:16 2023 +0800 [chore] fix exhaustive lint for dynatrace exporter (#23951) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> commit 5d1f251e7ba5b013dcc0d4c96b510024d3a6da92 Author: Andrzej Stencel <[email protected]> Date: Tue Jul 4 19:29:19 2023 +0200 [chore] [receiver/snmp] fix docs on default collection interval (#23945) The default connection interval is actually `10s` and not `1m`. commit 3cb495438d022cecbb4e3c93f96088a787e02d3e Author: Tomaz Muraus <[email protected]> Date: Tue Jul 4 14:40:48 2023 +0200 [chore] [exporter/datasetexporter] Update metadata (#23885) This pull request updates metadata for DataSet exporter. Metadata was out of date and didn't reflect that the exporter plugin is distributed as part of contrib. --- NOTE: Per request in a PR review (atoulme), this change was moved out of https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/23672 to a new and separate PR. commit 81320c41004bdd739b5c4e5dafcf20230087c68b Author: Pavol Loffay <[email protected]> Date: Mon Jul 3 12:15:09 2023 +0200 Json payload in Kafka exporter is not experimental (#23884) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> **Link to tracking Issue:** <Issue number if applicable> Resolves https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23871 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.> Signed-off-by: Pavol Loffay <[email protected]> commit 8510b37b1c427cc4d117cc65fcfc412ab7756420 Author: Ziqi Zhao <[email protected]> Date: Mon Jul 3 17:17:59 2023 +0800 [chore] fix exhaustive lint for podmanreceiver (#23823) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> commit 537ba472f09a3b346b8cca8c6bdfa5d441707e11 Author: ZenoCC-Peng <[email protected]> Date: Mon Jul 3 01:41:49 2023 -0700 [chore] Remove skip flaky test for hostmetricsreceiver (#23874) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Run 20 times the GitHub Action on my personal branch, there were no test failures. See the files: [Hostmetricsreceiver-FlakyTest-10030.xlsx](https://github.com/open-telemetry/opentelemetry-collector-contrib/files/11911111/Hostmetricsreceiver-FlakyTest-10030.xlsx). **Link to tracking Issue:** <Issue number if applicable>[10030](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/10030) **Testing:** hostmetricsreceiver/internal/scraper/loadscraper/load_scraper_test.go --------- Co-authored-by: Alex Boten <[email protected]> Co-authored-by: zeno-splunk <[email protected]> commit 4c817c69a2fe9cab7f1a9c357a84eff7a40b7fe7 Author: Laser <[email protected]> Date: Fri Jun 30 21:25:25 2023 +0300 [connector/spanmetricsconnector] Added disabling options (#23039) **Description:** <Describe what has changed.> Added disabling options for histogram metrics and option to exclude default labels from all metrics. In some cases users want to optionally disable part of metrics because they generate too much data or are not needed. We've tried to use transform as [it was suggested here](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/20525) And this helps in part of getting less data. But we consumed too much memory because of high cardinality labels. So we decided to suggest this mr to escape metric creation at the very beginning. **Link to tracking Issue:** [GH-16344] **Testing:** Added tests to the repository **Documentation:** Readme file updated --------- Co-authored-by: Antoine Toulme <[email protected]> commit 3c9ddf9726c5ec6ca66a8486a875a54102c8a8a2 Author: Miguel Rodriguez <[email protected]> Date: Fri Jun 30 14:23:57 2023 -0400 [receiver/filelog] Add Support for only reading the current file (#23633) Adding a feature to filelog to allow reading of only the current file from a collection of files through sorting the file names and picking the newest one. commit 95f0a13dd9c6045d1ce2c250ca0701d52b5f43f3 Author: Antoine Toulme <[email protected]> Date: Fri Jun 30 10:02:02 2023 -0700 [receiver/k8s_cluster] Add back all other vendor-specific node conditions (#23854) **Description:** Add back all other vendor-specific node conditions, and report them even if missing, as well as all allocatable node metrics if present, to the list of Kubernetes node metrics available, which went missing during the pdata translation **Link to tracking Issue:** Fixes #23839 **Testing:** Unit tests. **Documentation:** Not quite. Maybe a doc entry is required here. I haven't looked yet where to place it. commit 46d03a09bb7b137c59a032f93133c6ef0c8c1bca Author: Tyler Helmuth <[email protected]> Date: Fri Jun 30 10:41:50 2023 -0600 [internal/filter] filtermetric to filterottl bridge (#23141) **Description:** This PR adds a bridge between `filtermetric.NewSkipExpr` and `filterottl.NewBoolExprForMetric` behind a feature gate. With the feature gate enabled, any component using `filtermetric.NewSkipExpr` will start using OTTL behind the scenes. In addition, the filterprocessor's implementation of `newSkipResExpr`, which is a skip expression for resources, is bridged to `filterottl.NewBoolExprForResource`. Since this implementation exists only for filtering metrics, the same feature gate is used for both. While investigating the existing `internal/filtermetric` uses with filterprocessor and attributesprocessor I found that: - The attributes processor does not support Expressions or Resource Attributes. The readme claims that it does, but the implementation does not support it (and there are no tests). This bridge DOES NOT rectify that. - The filterprocessor allows filtering by resource attributes, expressions, and metric name. Unlike it's implementation for filtering spans and logs, the filterprocessor handles filtering spans at the Resource level loop. This is the most performant solution, and how OTTL likes to think about the problem, but it results in a different pattern than filtering spans and logs. This bridge DOES NOT attempt to move the resource implementation into `internal/filtermetric`. **Link to tracking Issue:** Related to https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/18643 Related to https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/18642 Depends on: - [x] https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/23142 **Testing:** Added tests comparing the output of the existing config and the bridge. commit f1068be12dee7664a74fd42354c27b3803c52bc4 Author: Antoine Toulme <[email protected]> Date: Fri Jun 30 05:58:54 2023 -0700 [receiver/mongodb] fix missing version (#23860) **Description:** Fix missing version in mongodb creating panics during scrapes **Link to tracking Issue:** Fixes #23859 **Testing:** No tests, really. **Documentation:** N/A commit 5a2214b73450cb8e59d74f3858409a1accd020eb Author: Mackenzie <[email protected]> Date: Fri Jun 30 14:57:20 2023 +0200 [receiver/mongodbatlas] Change the types of `Config.PrivateKey` and `Config.Alerts.Secret` to be `configopaque.String` (#23865) **Description:** Split out from: #17353 **Link to tracking Issue:** commit 35a2adb91a780c4b8f7a33eb9ca4fcb4bf92f7f6 Author: Mackenzie <[email protected]> Date: Fri Jun 30 14:55:00 2023 +0200 [receiver/mysql] Change the type of `Config.Password` to be `configopaque.String` (#23868) **Description:** Split out from: #17353 **Link to tracking Issue:** commit 4b935647eb02f1ec6be923d06cea637ffe16646a Author: Mackenzie <[email protected]> Date: Fri Jun 30 14:54:09 2023 +0200 [receiver/mongodb] Change the type of `Config.Password` to be `configopaque.String` (#23866) **Description:** Split out from: #17353 **Link to tracking Issue:** commit 151ab61d175861a03300a61836c9fd55ae1d915f Author: Mackenzie <[email protected]> Date: Fri Jun 30 14:53:13 2023 +0200 [receiver/elasticsearch] Change the type of `Config.Password` to be `configopaque.String` (#23862) **Description:** Split out from: #17353 **Link to tracking Issue:** commit a754d0e3cd53b63a4e0b577adc9be5368bd9e33c Author: Ziqi Zhao <[email protected]> Date: Fri Jun 30 16:40:59 2023 +0800 [chore] fix exhaustive lint for datadog exporter (#23838) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> commit efca12365053d560dadf5876b4cef12fb588f599 Author: Antoine Toulme <[email protected]> Date: Thu Jun 29 22:44:40 2023 -0700 [chore] set remoteobserverprocessor to alpha (#23858) Fixes #19633 commit 2fd6dbfeec7ba4f9625e5051d36f0bbdd8d8b5f0 Author: Antoine Toulme <[email protected]> Date: Thu Jun 29 21:04:09 2023 -0700 Rename websocketprocessor to remoteobserverprocessor (#23857) **Description:** Rename websocketprocessor to remoteobserverprocessor **Link to tracking Issue:** Fixes #23856 commit 21928994067957530840fa6ca9ee76fee79664e4 Author: Ziqi Zhao <[email protected]> Date: Fri Jun 30 09:17:01 2023 +0800 [chore] [exporter/clickhouse] fix exhaustive lint (#23853) related to #23266 Signed-off-by: Ziqi Zhao <[email protected]> commit c61650dc25b294460120dc6e059dd6f2ac521774 Author: Daniel Jaglowski <[email protected]> Date: Thu Jun 29 18:41:22 2023 -0400 [chore] Remove flaky rabbitmq integration test (#23846) Resolves #22134 commit 1fe8fdf8063e95c36485a7fd3c39d0b0df00159a Author: Antoine Toulme <[email protected]> Date: Thu Jun 29 13:32:20 2023 -0700 Add pod metrics (#23844) **Description:** Add explicitly `k8s.node.allocatable_pods` to the list of Kubernetes node metrics available, which went missing during the pdata translation **Link to tracking Issue:** commit 377f6664b658c450c5eda0f0e43462c4a81417b5 Author: Antoine Toulme <[email protected]> Date: Thu Jun 29 12:35:56 2023 -0700 [chore] [receiver/k8s_cluster] update the tests to cover all the existing k8s node metrics (#23841) commit 9a521ed97cea5b3a2f742a692a288621cbb728bf Author: Alex Boten <[email protected]> Date: Thu Jun 29 11:02:55 2023 -0700 [chore] make update-otel (#23837) Signed-off-by: Alex Boten <[email protected]> commit 3c934d6220da41d76276c7ec0c26e58db5ada8c6 Author: Irina <[email protected]> Date: Thu Jun 29 17:47:02 2023 +0100 [chore] translator/loki: remove deprecated code (#23827) **Description:** <Describe what has changed.> When did the massive cleaning of the deprecated code in loki translator, forgot to remove LogsToLoki method **Link to tracking Issue:** https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/15653 commit 0e12ba7b04474df7fe36886ffbd3fa994a1bcd92 Author: Adam Boguszewski <[email protected]> Date: Thu Jun 29 08:08:21 2023 -0700 [chore]: update status for carbon exporter and receiver (#23834) **Description:** These components have codeowner again, so their status has been changed to `beta` (as it was before changing to `unmaintained`) commit 850add36a712f25ae0883212c7615125d15bbeec Author: Ziqi Zhao <[email protected]> Date: Thu Jun 29 22:56:24 2023 +0800 fix exhaustive lint for receivercreater (#23831) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> commit ead6114904fd240a4d26a2ac0cf8437fdacd115a Author: Mackenzie <[email protected]> Date: Thu Jun 29 15:39:55 2023 +0200 [receiver/aerospikereceiver] Change the type of `Config.Password` to be `configopaque.String` (#23828) **Description:** Split out from: #17353 **Link to tracking Issue:** commit 56d662550fbbbb3356b64866f05c80bf9997d263 Author: Mackenzie <[email protected]> Date: Thu Jun 29 15:30:22 2023 +0200 [receiver/bigip] Change the type of `Config.Password` to be `configopaque.String` (#23830) **Description:** Split out from: #17353 **Link to tracking Issue:** commit 5550060f3df6cd585db21c014a7b2ed97799615b Author: Mackenzie <[email protected]> Date: Thu Jun 29 15:29:56 2023 +0200 [receiver/couchdb] Change the type of `Config.Password` to be `configopaque.String` (#23833) **Description:** Split out from: #17353 **Link to tracking Issue:** commit c404e07bf35dd76aabe6a17f63a41850f782ce2b Author: Carson Cook <[email protected]> Date: Thu Jun 29 08:22:18 2023 -0400 elasticsearchexporter: use configured dedup and dedot values (#19420) **Description:** <Describe what has changed.> Fixes bug in elasticsearch exporter where `mapping.dedup` and `mapping.dedot` values aren't used, even though they are documented as having an effect. **Link to tracking Issue:** #19419 --------- Signed-off-by: Carson Cook <[email protected]> commit 3dfc0f9ceb7deaa02a135e2fde952abb4e2b0bb4 Author: AJ Saclayan <[email protected]> Date: Thu Jun 29 05:54:00 2023 -0500 [connector/spanmetrics] fix delta temporality metrics (#23799) **Description:** Today, when you configure a spanmetricsconnector to emit metrics with delta temporality, the `startTimestamp` is not updated when deltas are calculated. Ideally, each new metric generated should have a timestamp at which the metric does the span aggregation. **Link to tracking Issue:** https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/7128 **Testing:** Built otelcolcontrib docker image with changes and ran locally with the following configuration: ```yaml receivers: otlp: protocols: grpc: http: cors: allowed_origins: ["*"] allowed_headers: ["*"] exporters: otlp/newrelic: endpoint: https://otlp.nr-data.net:4317 headers: api-key: ${NEW_RELIC_LICENSE_KEY} logging: connectors: spanmetrics: histogram: exponential: max_size: 160 dimensions_cache_size: 2000 aggregation_temporality: "AGGREGATION_TEMPORALITY_DELTA" metrics_flush_interval: 15s service: telemetry: logs: level: debug pipelines: traces: receivers: [otlp] exporters: [spanmetrics] metrics: receivers: [spanmetrics] exporters: [logging, otlp/newrelic] ``` and sent the following payload twice (a couple minutes apart): ```json { "resourceSpans": [ { "resource": { "attributes": [ { "key": "service.name", "value": { "stringValue": "my.service" } } ], "droppedAttributesCount": 0 }, "scopeSpans": [ { "scope": { "name": "test", "version": "1.0.0" }, "spans": [ { "traceId": "02cfc23b60d24d708f5b478177f2c51d", "spanId": "00f067aa0ba902b7", "traceState": "", "parentSpanId": "0123abc456def789", "name": "test_span_metrics_connector", "kind": "SPAN_KIND_INTERNAL", "startTimeUnixNano": {{timeUnixNano1SecAgo}}, "endTimeUnixNano": {{timeUnixNano}}, "attributes": [ ], "droppedAttributesCount": 0, "events": [], "droppedEventsCount": 0, "links": [], "droppedLinksCount": 0, "status": { } } ] } ] } ] } ``` Note in green there are two histograms, with the timestamps updated. The red was tested with the same configuration without the change. <img width="1024" alt="image" src="https://github.com/open-telemetry/opentelemetry-collector-contrib/assets/55757302/386d3218-b1d3-49d9-a86b-0c3fd4b61bd6"> **Documentation:** <Describe the documentation added.> commit fbd85e02bd03a144a6b96d4b5fd6b6b4c6e1594c Author: PaoloGallina <[email protected]> Date: Wed Jun 28 22:20:43 2023 +0200 [admin] feat(ci/cd): add version validation to prepare-release (#23818) **Description:** Adding version validation to prepare-release I used the same regex already used in [set_release_tag.sh](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/7e74bd350192456ded06ae80fb5586bec921f2e0/.github/workflows/scripts/set_release_tag.sh#L7), just without the v. **Link to tracking Issue:** https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/21490 commit 7e74bd350192456ded06ae80fb5586bec921f2e0 Author: Raphael Philipe Mendes da Silva <[email protected]> Date: Wed Jun 28 11:23:57 2023 -0700 [chore] Add warning to the awscontainerinsightsreceiver (#23817) **Description:** Add warning section to the awscontainerinsightsreceiver **Link to tracking Issue:** #19172 Signed-off-by: Raphael Silva <[email protected]> commit 0ab552c249007ece56d19a41778ccebc9fedc45f Author: Ziqi Zhao <[email protected]> Date: Thu Jun 29 00:59:17 2023 +0800 [chore] fix exhaustive lint for kubeletstatsreceiver (#23815) **Description:** <Describe what has changed.> related #23266 --------- Signed-off-by: Ziqi Zhao <[email protected]> commit 8772353e38e4a7feb2af272698ee039692b21efa Author: Antoine Toulme <[email protected]> Date: Wed Jun 28 09:54:48 2023 -0700 [chore] enable exhaustive lint for mdatagen (#23806) commit 5adb2373c26d70559a1f0b23c6711ec98689d579 Author: Antoine Toulme <[email protected]> Date: Wed Jun 28 09:53:58 2023 -0700 [chore] signalfxexporter exhaustive lint (#23802) commit f50151e31e5220d601f127d4632685d6b0ed16ee Author: Antoine Toulme <[email protected]> Date: Wed Jun 28 08:53:20 2023 -0700 [chore] enable exhaustive lint for k8sclusterreceiver (#23803) commit 08202563ce02b03c389493bdb4b51de66dbb9e78 Author: Tyler Helmuth <[email protected]> Date: Wed Jun 28 09:10:22 2023 -0600 [processor/transform] Add new example (#23812) **Description:** Adds an example of how to set a new attribute from another telemetry path. commit f195900aa20617dca2370df638f4776a0ffc160e Author: Dominik Rosiek <[email protected]> Date: Wed Jun 28 16:21:45 2023 +0200 feat!(mysqlreceiver): set `mysql.locked_connects` as optional in order to remove it in next release (#23673) Set `mysql.locked_connects` as optional, as it is duplication of `mysql.connection.errors` metric Signed-off-by: Dominik Rosiek <[email protected]> commit 37a919c51095de6f5dbb5f8655eb712555f04aa4 Author: Mikołaj Świątek <[email protected]> Date: Wed Jun 28 14:23:49 2023 +0100 [receiver/windowseventlog] Fix buffer overflow when reading raw events (#23678) **Description:** Fixing a bug where an event larger than half the buffer capacity would cause a panic due to an overflow. The reason this happens is because raw events are render using the `evtRender` syscall, which returns the byte count, rather than the UTF16 character count, but we treat it as if it was the latter. **Link to tracking Issue:** #23677 **Testing:** Added some tests for previously untested parts of the code, and a test that triggers the problem in particular. I've also done a E2E test on a live system which previously triggered the problem, but doesn't after the fix. commit 207b866e03813cae04b0db85e376b3bb8d76470e Author: Ziqi Zhao <[email protected]> Date: Wed Jun 28 16:45:55 2023 +0800 fix exhaustive lint for awscontainerinsightreceiver (#23772) **Description:** Related issue #23266 Signed-off-by: Ziqi Zhao <[email protected]> commit 5d7b22d54585cd654eae00a41c63eaa89d76cc2c Author: Braydon Kains <[email protected]> Date: Tue Jun 27 19:24:40 2023 -0400 [receiver/hostmetrics] add process.handles metric (#22813) **Description:** <Describe what has changed.> Adds a new Windows-exclusive metric called process.handles, which represents the handle count of the given process. When enabled, the receiver will make a WMI Query at the beginning of each scrape to update the handle count for all processes on the system. If the metric is enabled on a platform other than Windows, an error will be produced when attempting to refresh handle counts. This matches the rough behaviour of the Linux exclusive `process.open_file_descriptors`. **Link to tracking Issue:** <Issue number if applicable> **Testing:** <Describe what testing was performed and which tests were added.> Ran the binary with the following configuration: ``` receivers: hostmetrics: collection_interval: 2s scrapers: cpu: {} disk: {} filesystem: {} load: {} memory: {} network: {} paging: {} process: mute_process_name_error: true metrics: process.handles: enabled: true processes: {} exporters: file: path: x.json service: pipelines: metrics: receivers: [hostmetrics] exporters: [file] ``` The following is an example result of a scrape with this configuration. https://gist.github.com/braydonk/c97996272574319e03111dc79076a1bd commit 2d23e4d9e0eb313da5d192e1066f444d19b8601f Author: Adam Boguszewski <[email protected]> Date: Tue Jun 27 13:58:00 2023 -0700 [chore][carbonreceiver][carbonexporter]: add aboguszewski-sumo as code owner (#23676) These components are lacking a codeowner, so I'd like to take this role. commit d200d2e50fa0e086ea91fbcb76764294040754cf Author: splunkertimn <[email protected]> Date: Tue Jun 27 16:01:07 2023 -0400 [receiver/syslog] fixed syslog octet frame parsing (#23645) Parse multiple syslog events from a single packet when octet framing is enabled. commit 7a1061d300e8fa990849bfcb2d4a2863ceebc44c Author: Antoine Toulme <[email protected]> Date: Tue Jun 27 11:58:42 2023 -0700 [chore] fix pod and container metadata to include parent and units (#23795) **Description:** Add parent information to pod and container metadata. **Link to tracking Issue:** Fixes #23793 commit c4dd245e186208f4ecd093552920ae5612284de5 Author: Pranav Shankar <[email protected]> Date: Tue Jun 27 20:55:09 2023 +0200 [receiver/sqlquery] Add support of optional Start and Stop Timestamp (#19160) In this PR, support for Start and Stop Timestamp to be picked up from the metrics stored in the rows is added. This will allow SQL queries to be more expressive and allows users to define the period of aggregation which is not only dependent on the default system time set upon processing. **Link to tracking Issue:** --------- Co-authored-by: Juraci Paixão Kröhling <[email protected]> commit 1edf7c9c03cb04e2002696b966ca70f2996c2a38 Author: Goutham Veeramachaneni <[email protected]> Date: Tue Jun 27 19:28:23 2023 +0200 docs: Clarify what an association is in k8sattr. processor (#23661) It took me several readings of the docs to understand what is happening in the config. I tried to clarify what an association is and how they are specified. I've removed the line "All rules are going to be executed, and combination of result is going to be a pod metadata cache key." because it actually doesn't matter from a user perspective. It looks like an internal detail and is confusing in this section of the docs. Signed-off-by: Gotham <[email protected]> commit 1e60629434bcd1f8d04f1d1976f41b1ad7c67a52 Author: Mend Renovate <[email protected]> Date: Tue Jun 27 19:26:29 2023 +0200 chore(deps): update wandalen/wretry.action action to v1.3.0 (#23771) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Wandalen/wretry.action](https://github.com/Wandalen/wretry.action) | action | minor | `v1.0.36` -> `v1.3.0` | --- <details> <summary>Wandalen/wretry.action (Wandalen/wretry.action)</summary> [`v1.3.0`](https://github.com/Wandalen/wretry.action/compare/v1.2.0...v1.3.0) [Compare Source](https://github.com/Wandalen/wretry.action/compare/v1.2.0...v1.3.0) [`v1.2.0`](https://github.com/Wandalen/wretry.action/compare/v1.0.42...v1.2.0) [Compare Source](https://github.com/Wandalen/wretry.action/compare/v1.0.42...v1.2.0) [`v1.0.42`](https://github.com/Wandalen/wretry.action/compare/v1.0.41...v1.0.42) [Compare Source](https://github.com/Wandalen/wretry.action/compare/v1.0.41...v1.0.42) [`v1.0.41`](https://github.com/Wandalen/wretry.action/compare/v1.0.40...v1.0.41) [Compare Source](https://github.com/Wandalen/wretry.action/compare/v1.0.40...v1.0.41) [`v1.0.40`](https://github.com/Wandalen/wretry.action/compare/v1.0.39...v1.0.40) [Compare Source](https://github.com/Wandalen/wretry.action/compare/v1.0.39...v1.0.40) [`v1.0.39`](https://github.com/Wandalen/wretry.action/compare/v1.0.38...v1.0.39) [Compare Source](https://github.com/Wandalen/wretry.action/compare/v1.0.38...v1.0.39) [`v1.0.38`](https://github.com/Wandalen/wretry.action/compare/v1.0.37...v1.0.38) [Compare Source](https://github.com/Wandalen/wretry.action/compare/v1.0.37...v1.0.38) [`v1.0.37`](https://github.com/Wandalen/wretry.action/compare/v1.0.36...v1.0.37) [Compare Source](https://github.com/Wandalen/wretry.action/compare/v1.0.36...v1.0.37) </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 this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> commit 6a35e5f9405d8b03c149dfec952dcac3b162662d Author: OpenTelemetry Bot <[email protected]> Date: Tue Jun 27 10:24:05 2023 -0700 [chore] dependabot updates Tue Jun 27 15:57:22 UTC 2023 (#23785) Bump Wandalen/wretry.action from 1.0.36 to 1.3.0 Bump github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp from 1.15.0 to 1.15.2 in /exporter/datadogexporter Bump github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp from 1.15.0 to 1.15.2 in /processor/resourcedetectionprocessor Bump github.com/SAP/go-hdb from 1.3.8 to 1.3.9 in /receiver/saphanareceiver Bump github.com/SAP/go-hdb from 1.3.8 to 1.3.9 in /receiver/sqlqueryreceiver Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /receiver/awsecscontainermetricsreceiver Bump github.com/aws/aws-sdk-go from 1.44.287 to 1.44.290 in /receiver/awsxrayreceiver Bump github.com/golangci/golangci-lint from 1.53.2 to 1.53.3 in /internal/tools Bump github.com/google/cadvisor from 0.47.1 to 0.47.2 in /receiver/awscontainerinsightreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.685 to 1.0.687 in /exporter/tencentcloudlogserviceexporter Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /extension/observer/dockerobserver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /internal/coreinternal Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/aerospikereceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/apachereceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/dockerstatsreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/elasticsearchreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/flinkmetricsreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/jmxreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/kafkametricsreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/memcachedreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/mongodbreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/mysqlreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/nginxreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/postgresqlreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/rabbitmqreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/redisreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/riakreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/sqlqueryreceiver Bump github.com/testcontainers/testcontainers-go from 0.20.1 to 0.21.0 in /receiver/zookeeperreceiver Bump go.mongodb.org/mongo-driver from 1.11.7 to 1.12.0 in /receiver/mongodbreceiver Bump go.opentelemetry.io/collector/cmd/builder from 0.79.0 to 0.80.0 in /internal/tools Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /cmd/telemetrygen Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /examples/demo/client Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /examples/demo/server Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /exporter/coralogixexporter Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /exporter/googlecloudpubsubexporter Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /exporter/jaegerexporter Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /exporter/opencensusexporter Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /exporter/skywalkingexporter Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /extension/asapauthextension Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /extension/basicauthextension Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /extension/bearertokenauthextension Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /extension/headerssetterextension Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /extension/jaegerremotesampling Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /extension/oauth2clientauthextension Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /extension/sigv4authextension Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /processor/routingprocessor Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /processor/spanmetricsprocessor Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /receiver/googlecloudspannerreceiver Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /receiver/jaegerreceiver Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /receiver/opencensusreceiver Bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /receiver/skywalkingreceiver Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 in /exporter/datadogexporter Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 in /exporter/logzioexporter Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 in /exporter/tencentcloudlogserviceexporter Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 in /pkg/translator/opencensus Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 in /receiver/collectdreceiver Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 in /receiver/opencensusreceiver Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 in /receiver/prometheusreceiver Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 in /receiver/skywalkingreceiver Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 in /receiver/solacereceiver Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 in /receiver/zipkinreceiver --------- Signed-off-by: Alex Boten <[email protected]> Co-authored-by: Alex Boten <[email protected]> commit 3d893e2727a4144488d09badb518c45b82422f2f Author: ZahidMirza95 <[email protected]> Date: Tue Jun 27 10:15:09 2023 -0700 [receiver/filelog] added example, additional info to configs and info on log rotation (#23609) Added example on how to use filelog receiver with log files. Also, added some details to the configuration descriptions and added anchor to some sections in the document. Additionally, added information on log rotation. - Added example on how to use filelog receiver with log files - Also, added some details to the configuration descriptions - Added information on log rotation - Added anchors to some sections commit 88ba4ed63e1bda1cbbb7ba42f6b5e1354d266791 Author: Mackenzie <[email protected]> Date: Tue Jun 27 18:54:10 2023 +0200 [cmd/mdatagen] Add validation to metadata.yaml (#23783) **Description:** This PR adds validation to mdatagen. It ensures that all required fields are present, and validates their content. The validation lies mostly in `validate.go` (and for tests `validate_test.go`), however validation that needs to be done via decoding lies in `loader.go` + `metricdata.go` (and for tests `loader_test.go`). **Link to tracking Issue:** commit 64ebfbce662f261b3afbf6bef7d5d6c7ee80de69 Author: Antoine Toulme <[email protected]> Date: Tue Jun 27 09:43:04 2023 -0700 Switch k8s.pod and k8s.container metrics to use pdata. (#23441) Updates https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/4367 commit fa2e2255f7ec5b9f2f0d003b23515aa805df0053 Author: Daniel Jaglowski <[email protected]> Date: Tue Jun 27 12:31:18 2023 -0400 Revert "[pkg/stanza/fileconsumer] Fix issue where buffer size could cause incorrect fingerprint update" (#23781) Reverts open-telemetry/opentelemetry-collector-contrib#23183 Several rotation test failures have been observed since this was merged. ([example](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/5391301380/jobs/9787962306?pr=23780#step:8:75)) I do not immediately see the problem so I think this needs to be reverted for now. commit 34b47334a19b50210cb14de9ae3326cc0d285261 Author: Daniel Jaglowski <[email protected]> Date: Tue Jun 27 12:19:15 2023 -0400 [chore] Add 'test' as prerequisite to default module-level make target (#23779) We've documented the intended approach to our default targets [here](https://github.com/open-telemetry/opentelemetry-collector/blob/5852d09fb7b519e18610b99fc5a9da8cddbbf790/CONTRIBUTING.md?plain=1#L589-L591). In `Makefile.Common`, the default target is `common`. This adds the `test` target as a prerequisite. commit dea886211de3abab9bb7ca9c2cae6b45947b7cf3 Author: Mend Renovate <[email protected]> Date: Tue Jun 27 17:17:16 2023 +0200 chore(deps): update docker-compose deps (#23770) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [otel/opentelemetry-collector-contrib](https://github.com/open-telemetry/opentelemetry-collector-releases) | minor | `0.79.0` -> `0.80.0` | | prom/prometheus | minor | `v2.44.0` -> `v2.45.0` | --- <details> <summary>open-telemetry/opentelemetry-collector-releases (otel/opentelemetry-collector-contrib)</summary> [`v0.80.0`](https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.80.0) [Compare Source](https://github.com/open-telemetry/opentelemetry-collector-releases/compare/v0.79.0...v0.80.0) - [`3fe11dc`](https://github.com/open-telemetry/opentelemetry-collector-releases/commit/3fe11dc) Update versions to v0.80.0 ([#​362](https://github.com/open-telemetry/opentelemetry-collector-releases/issues/362)) - [`f82587a`](https://github.com/open-telemetry/opentelemetry-collector-releases/commit/f82587a) Add warning about git tags ([#​359](https://github.com/open-telemetry/opentelemetry-collector-releases/issues/359)) - [`3af8267`](https://github.com/open-telemetry/opentelemetry-collector-releases/commit/3af8267) Bump github.com/goreleaser/nfpm/v2 from 2.29.0 to 2.30.1 ([#​358](https://github.com/open-telemetry/opentelemetry-collector-releases/issues/358)) - [`cb3c890`](https://github.com/open-telemetry/opentelemetry-collector-releases/commit/cb3c890) Add all missing components to contrib distribution manifest ([#​356](https://github.com/open-telemetry/opentelemetry-collector-releases/issues/356)) - [`60a7e46`](https://github.com/open-telemetry/opentelemetry-collector-releases/commit/60a7e46) Add missing components to contrib distribution ([#​354](https://github.com/open-telemetry/opentelemetry-collector-releases/issues/354)) - [`73fd3ae`](https://github.com/open-telemetry/opentelemetry-collector-releases/commit/73fd3ae) Add haproxyreceiver to the contrib distribution ([#​355](https://github.com/open-telemetry/opentelemetry-collector-releases/issues/355)) - [`98597be`](https://github.com/open-telemetry/opentelemetry-collector-releases/commit/98597be) \[chore] bump go version ([#​352](https://github.com/open-telemetry/opentelemetry-collector-releases/issues/352)) </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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> commit 7e3548fd92e255572b240b8aadf0aff2d63da99c Author: Antoine Toulme <[email protected]> Date: Tue Jun 27 07:04:32 2023 -0700 [chore] make azureeventhubreceiver pass exhaustive linting (#23774) commit c247210d319a58665f1988e231a5c5fcfc9b8383 Author: Marc Sanmiquel <[email protected]> Date: Tue Jun 27 08:12:20 2023 +0200 [receiver/dockerstats] Add optional resource attributes (#21185) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Add `container.image.id` and `container.command_line` as optional resource attributes, disabled by default. **Link to tracking Issue:** <Issue number if applicable> Tracking issue https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/21092 **Testing:** <Describe what testing was performed and which tests were added.> Until this point, all resource attributes have been enabled by default, resulting in the coupling of the [test](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/7bf5d66fae6c1c5360ec2875948f2c2adab6c44f/receiver/dockerstatsreceiver/receiver_test.go#L191) to the default configuration. In order to test the current implementation with the new resource attributes enabled & disabled, a minor refactoring was required in the `TestScrapeV2` test, allowing to pass different configurations for each test. Refer to the following commit 508dbee9aa9a22c1ca79f16bba5abeecceeb9c48 to check the refactor in the test. **Documentation:** <Describe the documentation added.> New resource attributes documentation was generated by `mdatagen`. commit c15794f8b3ad8bdf1bbf5abfba8486df4ad1b7c9 Author: Mackenzie <[email protected]> Date: Mon Jun 26 22:24:45 2023 +0200 [cmd/mdatagen] Add parent field to metadata.yaml file for subcomponents (#23636) This PR adds a `parent` field to the `metadata.yaml`. This is used in subcomponents, and the field contains the type of their parent component. --------- Co-authored-by: Dmitrii Anoshin <[email protected]> commit c2401dbbc240783005454f7b7046a303d495c5e1 Author: Mackenzie <[email protected]> Date: Mon Jun 26 20:04:16 2023 +0200 postgresqlreceiver: Add missing units in metadata.yaml (#23571) 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: - postgresql.bgwriter.maxwritten - postgresql.table.count commit 9fe4230817a192049f6c539f6c5d9ea31ce05f99 Author: Mike Dame <[email protected]> Date: Mon Jun 26 13:32:09 2023 -0400 [chore]: Update GCP dependencies (#23679) **Description:** Updates GCP libraries to v0.39.2 and 1.15.2 **Documentation:** updated readmes for new experimental WAL fields commit a7045cbee91a7d9fc6b16554ee4cf2ab2284a396 Author: Daniel Jaglowski <[email protected]> Date: Mon Jun 26 11:52:26 2023 -0400 [chore] Fix spark integration test by pinning version (#23675) Fixes #23670 The test appears to have begun failing when the [`latest`](https://hub.docker.com/layers/apache/spark/latest/images/sha256-a1dd2487a97fb5e35c5a5b409e830b501a92919029c62f9a559b13c4f5c50f63?context=explore) tag of for the image was updated. This PR just pins the version. commit bf00ae8213b55f2abf73a4df1c0a15dd1367c813 Author: Murphy Chen <[email protected]> Date: Mon Jun 26 23:52:09 2023 +0800 [exporter/clickhouse] Fix create database failure (#23666) resolve: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23664 commit 6f0fabb2ace265ebb18fb2f716567b4f7af1f335 Author: Murphy Chen <[email protected]> Date: Mon Jun 26 23:04:57 2023 +0800 [exporter/clickhouse] Add scope columns to log table (#23667) resolve: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/20280 commit fbe16e156cd90e11cbe5b70c59a83d94dc923cf4 Author: Daniel Jaglowski <[email protected]> Date: Mon Jun 26 09:24:56 2023 -0400 [pkg/stanza/fileconsumer] Fix issue where buffer size could cause incorrect fingerprint update (#23183) The logic for determining when to update a fingerprint previously failed to account for the case where the buffer size is smaller than the fingerprint. This allows the fingerprint to be truncated in some cases. This PR rewrites the logic to explicitly handle each expected case, with optimization for handling the most common cases first. commit 04327f5deaebd5f8abea3b313dd2f45ccef5bf7e Author: Olga <[email protected]> Date: Mon Jun 26 12:26:46 2023 +0200 [processor/resourcedetection] add resource_attributes to every detector in resource processor (#23253) **Description:** Adding resource_attributes option to every detector in resource detection processor <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> **Link to tracking Issue:** [21482](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/21482) **Testing:** Unit test for `resource_attribute` config, adjusting current unit tests to the new implementation **Documentation:** Updated README.md --------- Co-authored-by: Dmitrii Anoshin <[email protected]> commit 1a096adbeb24abc94eb9da2ea0126cf646d44c9b Author: Dmitrii Anoshin <[email protected]> Date: Mon Jun 26 02:31:07 2023 -0700 [chore] [receiver/apachespark] Disable failing integration test (#23671) Temporarily disable the integration test to unblock the CI. Updates https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23670 commit da5df85e77bb717e87096c20663ddc8bbb5ebf8a Author: Juan Manuel "Kang" Pérez <[email protected]> Date: Sun Jun 25 07:12:50 2023 +0200 [receiver/dockerstatsreceiver] Add metrics that are only available on hosts that use cgroups v2 (#22706) **Description:** This PR updates the documentation of all the metrics that are available only on cgroups v1 or cgroups v2. It PR also adds two metrics that are only available when the host is using cgroups v2: * `container.memory.anon` * `container.memory.file` Both are documented here: https://docs.kernel.org/admin-guide/cgroup-v2.html#memory-interface-files I enabled the metric `container.memory.file` by default (causing a breaking change) because it is a metric that was already scraped for cgroups v1, contained in the metric `container.memory.total_cache`. ```yaml container.memory.total_cache: enabled: true description: "Total amount of memory used by the processes of this cgroup (and descendants) that can be associated with a block on a block device. Also accounts for memory used by tmpfs (Only available with cgroups v1)." container.memory.file: enabled: true description: "Amount of memory used to cache filesystem data, including tmpfs and shared memory (Only available with cgroups v2)." ``` Let me know your thoughts about this breaking change. **Link to tracking Issue:** #21097 **Testing:** The refactor done during PR #21110 had mocks ready to test these new metrics. There is no need to add more tests. **Documentation:** To see which metrics are available in Docker: * v1: https://github.com/moby/moby/blob/7103efac9d737e8b202126e8c8e2227805e70771/daemon/stats_unix.go#L86 * v2: https://github.com/moby/moby/blob/7103efac9d737e8b202126e8c8e2227805e70771/daemon/stats_unix.go#L195 Kernel cgroup documentation: * v1: https://docs.kernel.org/admin-guide/cgroup-v1/memory.html * v2: https://docs.kernel.org/admin-guide/cgroup-v2.html#memory-interface-files commit 8ba48f6c48a1523fb2b7ec034b8d4d5e44f9e642 Author: Bomin Rahmani <[email protected]> Date: Fri Jun 23 15:18:45 2023 -0400 [receiver/postgresql] Fix blocks read metric (#23657) **Description:** <Describe what has changed.> fixed an issue where postgresql receiver was emitting the same attribute value "toast_hit" twice under postgresql.blocks_read metric. **Link to tracking Issue:** <Issue number if applicable> **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.> commit 0c625d042498a9985c51cee6476d4c17cfa0570b Author: Bomin Rahmani <[email protected]> Date: Fri Jun 23 15:18:05 2023 -0400 [receiver/vcenter] Fix datastore disk usage metric (#23654) **Description:** Fixed a bug in which the Vcenter receiver was incorrectly emmiting the disk_state: used datapoint twice under the vcenter.datastore.disk.usage metric instead of a disk_state: used disk_state: available **Documentation:** <Describe the documentation added.> commit 403b0eff117df29d969cc18706d1c58b605db8e2 Author: bryan-aguilar <[email protected]> Date: Fri Jun 23 10:15:36 2023 -0700 [receiver/awsecscontainermetrics] Fix possible panics from unchecked de-references (#23644) Fixes possible panics from unchecked de-references in metrics helper in `awsecscontainermetrics` receiver. **Link to tracking Issue:** https://github.com/aws-observability/aws-otel-collector/issues/2110 **Testing:** Added unit tests for these de-references **Documentation:** n//a commit c40be10a6e75e5ea15916d1dfeec95bf4de7a32c Author: PaoloGallina <[email protected]> Date: Fri Jun 23 19:14:36 2023 +0200 feat(statsdReceiver): add name and version to scope (#23564) Following the same approach of https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/20903 I am adding the scope whenever the metric is copied. We could also add the _scope_ at creation time, however, it would change the signature of several functions having already too many parameters. **Link to tracking Issue:** <Issue number if applicable> Fix https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23563 **Testing:** Added a test to cover the new use case commit b2a1d1f47e43843d3fc2078bcc1191d44973162e Author: Tomáš Žďára <[email protected]> Date: Fri Jun 23 19:12:48 2023 +0200 DSET-3468: update dataset-go to latest, send more details in user-agent (#23640) **Description:** updated dataset-go library, send more details in user-agent For more details see https://github.com/scalyr/dataset-go/releases/tag/v0.0.9 **Link to tracking Issue:** https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/20660 / DSET-3468 **Testing:** verified via unit tests and also e2e with DataSet environment **Documentation:** see https://github.com/scalyr/dataset-go/blob/fbaead7856a9c5669262564dfa4a13aa14a0775d/examples/readme/main.go#L81 commit 7c0fd3de2aa7cbf61d6360c6208079c761992512 Author: OpenTelemetry Bot <[email protected]> Date: Thu Jun 22 15:26:02 2023 -0700 Add JMX metrics gatherer version 1.27.0-alpha (#23435) Add JMX metrics gatherer version `1.27.0-alpha`. cc @open-telemetry/java-contrib-approvers commit 703be0d287915f34d1d8f23d48e1292e1c0d82bb Author: ZenoCC-Peng <[email protected]> Date: Thu Jun 22 13:43:15 2023 -0700 [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (#4327) (#23632) Utilize mdatagen to modify certain metrics from gauge to non-monotonic sum, employing delta aggregation. Adjust the test files to align with the sum test type and update the expected.yaml file for integration testing purposes. Co-authored-by: zeno-splunk <[email protected]> commit 03b375ebef74eee1a25e9e82ea5815ef29f373d7 Author:…
This issue can now be closed, thanks @ZenoCC-Peng ! |
E.g.
kafka.consumer_group.members
The text was updated successfully, but these errors were encountered: