-
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
Enable exhaustive in missing components #23266
Labels
chore
ci-cd
CI, CD, testing, build issues
good first issue
Good for newcomers
help wanted
Extra attention is needed
priority:p2
Medium
Comments
10 tasks
codeboten
pushed a commit
that referenced
this issue
Jun 14, 2023
Updates #23266 - receiver/nsxt - receiver/snmp - connector/count - extension/storage - pkg/stanza
fchikwekwe
pushed a commit
to fchikwekwe/opentelemetry-collector-contrib
that referenced
this issue
Jun 23, 2023
…23329) Updates open-telemetry#23266 - receiver/nsxt - receiver/snmp - connector/count - extension/storage - pkg/stanza
MovieStoreGuy
pushed a commit
that referenced
this issue
Jun 28, 2023
**Description:** Related issue #23266 Signed-off-by: Ziqi Zhao <[email protected]>
dmitryax
pushed a commit
that referenced
this issue
Jun 28, 2023
**Description:** <Describe what has changed.> related #23266 --------- Signed-off-by: Ziqi Zhao <[email protected]>
This was referenced Jun 29, 2023
mx-psi
pushed a commit
that referenced
this issue
Jun 29, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
This was referenced Jun 29, 2023
dmitryax
pushed a commit
that referenced
this issue
Jun 30, 2023
related to #23266 Signed-off-by: Ziqi Zhao <[email protected]>
JimChenWYU
pushed a commit
to easyops-cn/opentelemetry-collector-contrib
that referenced
this issue
Jun 30, 2023
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
JimChenWYU
added a commit
to easyops-cn/opentelemetry-collector-contrib
that referenced
this issue
Jun 30, 2023
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]>
mx-psi
pushed a commit
that referenced
this issue
Jun 30, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
mx-psi
pushed a commit
that referenced
this issue
Jul 3, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
This was referenced Jul 3, 2023
dmitryax
pushed a commit
that referenced
this issue
Aug 11, 2023
dmitryax
pushed a commit
that referenced
this issue
Aug 11, 2023
mx-psi
pushed a commit
that referenced
this issue
Aug 11, 2023
evan-bradley
pushed a commit
that referenced
this issue
Aug 11, 2023
dmitryax
pushed a commit
that referenced
this issue
Aug 13, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
dmitryax
pushed a commit
that referenced
this issue
Aug 15, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
dmitryax
pushed a commit
that referenced
this issue
Aug 18, 2023
) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
codeboten
pushed a commit
that referenced
this issue
Aug 18, 2023
related to #23266 Co-authored-by: Alex Boten <[email protected]>
samiura
pushed a commit
to samiura/opentelemetry-collector-contrib
that referenced
this issue
Aug 18, 2023
…n-telemetry#25877) **Description:** related open-telemetry#23266 Signed-off-by: Ziqi Zhao <[email protected]>
samiura
pushed a commit
to samiura/opentelemetry-collector-contrib
that referenced
this issue
Aug 18, 2023
…metry#25131) related to open-telemetry#23266 Co-authored-by: Alex Boten <[email protected]>
This was referenced Aug 19, 2023
codeboten
pushed a commit
that referenced
this issue
Aug 21, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
codeboten
pushed a commit
that referenced
this issue
Aug 21, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
codeboten
pushed a commit
that referenced
this issue
Aug 23, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
codeboten
pushed a commit
that referenced
this issue
Aug 24, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> Co-authored-by: Alex Boten <[email protected]>
This was referenced Aug 25, 2023
djaglowski
pushed a commit
that referenced
this issue
Aug 28, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
dmitryax
pushed a commit
that referenced
this issue
Aug 28, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
mx-psi
pushed a commit
that referenced
this issue
Aug 30, 2023
**Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]>
all tasks are done |
foadnh
added a commit
to Canva/opentelemetry-collector-contrib
that referenced
this issue
Nov 7, 2023
* [chore] dependabot updates Wed Aug 9 04:37:47 UTC 2023 (#25105) Bump github.com/Azure/azure-event-hubs-go/v3 from 3.6.0 to 3.6.1 in /receiver/azureblobreceiver Bump github.com/Azure/azure-event-hubs-go/v3 from 3.6.0 to 3.6.1 in /receiver/azureeventhubreceiver Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /receiver/awsecscontainermetricsreceiver Bump github.com/aws/aws-sdk-go from 1.44.316 to 1.44.319 in /receiver/awsxrayreceiver Bump github.com/aws/aws-sdk-go-v2 from 1.20.0 to 1.20.1 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/config from 1.18.32 to 1.18.33 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.31 to 1.13.32 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.21.1 to 1.21.2 in /extension/sigv4authextension Bump github.com/getsentry/sentry-go from 0.22.0 to 0.23.0 in /exporter/sentryexporter Bump github.com/hashicorp/consul/api from 1.23.0 to 1.24.0 in /internal/metadataproviders Bump github.com/hashicorp/consul/api from 1.23.0 to 1.24.0 in /processor/resourcedetectionprocessor Bump github.com/shirou/gopsutil/v3 from 3.23.6 to 3.23.7 in /exporter/signalfxexporter Bump github.com/shirou/gopsutil/v3 from 3.23.6 to 3.23.7 in /extension/observer/hostobserver Bump github.com/shirou/gopsutil/v3 from 3.23.6 to 3.23.7 in /receiver/awscontainerinsightreceiver Bump github.com/shirou/gopsutil/v3 from 3.23.6 to 3.23.7 in /receiver/hostmetricsreceiver Bump github.com/shirou/gopsutil/v3 from 3.23.6 to 3.23.7 in /receiver/jmxreceiver Bump github.com/shirou/gopsutil/v3 from 3.23.6 to 3.23.7 in /testbed Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.715 to 1.0.717 in /exporter/tencentcloudlogserviceexporter Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /extension/observer/dockerobserver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /internal/coreinternal Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/aerospikereceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/apachereceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/dockerstatsreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/elasticsearchreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/flinkmetricsreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/jmxreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/kafkametricsreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/memcachedreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/mongodbreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/mysqlreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/nginxreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/postgresqlreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/redisreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/sqlqueryreceiver Bump github.com/testcontainers/testcontainers-go from 0.21.0 to 0.22.0 in /receiver/zookeeperreceiver Bump github.com/vmware/govmomi from 0.30.6 to 0.30.7 in /receiver/vcenterreceiver Bump go.mongodb.org/mongo-driver from 1.12.0 to 1.12.1 in /receiver/mongodbreceiver Bump golang.org/x/crypto from 0.11.0 to 0.12.0 in /receiver/podmanreceiver Bump golang.org/x/net from 0.12.0 to 0.14.0 in /exporter/azuremonitorexporter Bump golang.org/x/net from 0.12.0 to 0.14.0 in /internal/aws/awsutil Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 in /exporter/f5cloudexporter Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 in /extension/oauth2clientauthextension Bump golang.org/x/sys from 0.10.0 to 0.11.0 in /exporter/signalfxexporter Bump golang.org/x/sys from 0.10.0 to 0.11.0 in /pkg/stanza Bump golang.org/x/sys from 0.10.0 to 0.11.0 in /pkg/winperfcounters Bump golang.org/x/sys from 0.10.0 to 0.11.0 in /receiver/hostmetricsreceiver Bump golang.org/x/sys from 0.10.0 to 0.11.0 in /receiver/windowseventlogreceiver Bump golang.org/x/text from 0.11.0 to 0.12.0 in /cmd/configschema Bump golang.org/x/text from 0.11.0 to 0.12.0 in /cmd/mdatagen Bump golang.org/x/text from 0.11.0 to 0.12.0 in /internal/coreinternal Bump golang.org/x/text from 0.11.0 to 0.12.0 in /pkg/stanza Bump golang.org/x/text from 0.11.0 to 0.12.0 in /testbed Bump golang.org/x/tools from 0.11.1 to 0.12.0 in /internal/tools Bump sigs.k8s.io/controller-runtime from 0.15.0 to 0.15.1 in /exporter/loadbalancingexporter --------- Co-authored-by: Dmitrii Anoshin <[email protected]> * [chore] preallocate slices (#24957) * [chore] dependabot updates Wed Aug 9 06:51:47 UTC 2023 (#25113) Bump github.com/hashicorp/golang-lru from 0.5.4 to 1.0.2 in /extension/observer/ecsobserver Bump github.com/hashicorp/golang-lru from 0.6.0 to 1.0.2 in /processor/spanmetricsprocessor Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.717 to 1.0.719 in /exporter/tencentcloudlogserviceexporter Bump google.golang.org/api from 0.134.0 to 0.136.0 in /receiver/googlecloudspannerreceiver * [exporter/clickhouse] Change the type of `Config.Password` to be `configopaque.String` (#24778) clickhouse exporter also needs use `Config.Password`. --------- Co-authored-by: Dmitrii Anoshin <[email protected]> * [chore] Add a new Test and refactor code function for collectdreceiver (#25120) **Description:** Add a new test 'testInvalidMethod' in receiver_test.go, and refactor code for readability. * [receiver/hostmetrics] Improve description of system.cpu.utilization metric (#25123) Replaces https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/25115 --------- Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]> Co-authored-by: Ryan Fitzpatrick <[email protected]> * [chore] [exporter/signalfx] Add few tests for histogram metrics (#25127) **Description:** [exporter/signalfx] Added few tests for histogram metrics on SFx exporter's converter piece **Link to tracking Issue:** https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25067 * [chore] [processor/transform] enable exhaustive lint (#25140) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> * [chore][exporter/clickhouse]enable exhaustive for linter (#25133) relate https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23266 * [chore][exporter/azuredataexplore]enable exhaustive linter (#25130) relate https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23266 * [chore] [dataset/exporter]: Fix flaky windows tests (#25143) **Description:** There is flaky Windows test **Link to tracking Issue:** https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25094 **Testing:** Before applying this change, it has failed in 1 test out of 60. So this should pass 200 tests without failure. * [chore][exporter/sumologic] enable exhaustive linter (#25159) relate: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23266 * [chore][exporter/skywalking] enable exhaustive linter (#25158) relate: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23266 * [chore][exporter/googlecloudpubsub] enable exhaustive linter (#25156) relate https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23266 * [exporter/awsemfexporter] Propagate RetainInitialValueOfDeltaMetric to translateOTelToGroupedMetric (#24051) **Description:** The config option `retain_initial_value_of_delta_metric` does not seem to be used in `translateOTelToGroupedMetric`, which prevents the initial value of a basic counter from being published during a Lambda cold boot. Please see the minimum project required to replicate the issue [here](https://github.com/jameshi16/delta-initial-value-minimum-project). **Link to tracking Issue:** The main issue related to this PR can be found [here](https://github.com/aws-observability/aws-otel-lambda/issues/634). It seems like I had a predecessor fixing this issue (see #17988), but his changes does not work for my use case. **Testing:** An additional test ensures that if `retain_initial_value_of_delta_metric` is set, it will be propagated to the `cWMetricMetadata`. **Documentation:** None * [chore][exporter/dynatrace] enable exhaustive linter (#25155) relate https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23266 * [chore] [CI] Exclude go version matrix from the unittest job (#25151) To not update required jobs every time a new go version is released. Needed for https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25116 * Bump filelog.allowHeaderMetadataParsing feature gate to beta (#25173) * [processor/k8sattributes] Add optional k8s.cluster.uid resource attribute (#23668) **Description:** Add k8s.cluster.uid to attribute to k8sattributes processor and disable it by default for backward compatibility. Users can set it to `true` to populate cluster uid as part of resource attributes. **Link to tracking Issue:** https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/21974 * [chore] Upgrade koanf to v2 in the Supervisor (#25169) This is primarily to align the version with what the Collector uses in `confmap`. It doesn't introduce any functional changes. * Remove go 1.19 support, bump minimum to go 1.20 and add testing for 1.21 (#25162) Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25116 * [chore] [receiver/file] enable exhaustive lint (#25180) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> * [chore] [exporter/awskinesis] Migrate from deprecated kinesis.WithEndpointResolver (#25164) Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25104 * [chore] dependabot updates Sun Aug 13 19:41:07 UTC 2023 (#25182) Bump github.com/openzipkin/zipkin-go from 0.4.1 to 0.4.2 in /receiver/pulsarreceiver * [receiver/sqlquery] set ObservedTimestamp on collected logs (#23777) Fixes #23776 * [chore] [clickhouseexporter] use errors.Join instead of go.uber.org/multierr (#25183) Part of: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25121 * [chore] migrate all the files under connector to use errors.Join (#25184) Related to https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25121 * Datadog Connector Component (#25065) This pull request is for a newly created Datadog connector that replaces the need for the Datadog processor. This replacement is needed because the processor made use of a work-around that directly allowed the processor to export data. This is not something that adheres to the OpenTelemetry standard and thus the previous system should be deprecated and replaced by this new connector. Link to issue: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/19740 --------- Co-authored-by: Yang Song <[email protected]> Co-authored-by: Pablo Baeyens <[email protected]> * [chore] Migrate all `aws` receviers to use errors.Join (#25185) Related to https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25121 * [pkg/stanza] Create a new decoder for each TCP/UDP connection to prevent concurrent write to buffer. (#25100) Change the TCP/UDP inputs so that they parse the encoding and get the `encoding.Encoding` during initialization, but wait to create the `helper.Encoding` instance in each goroutine. This prevents concurrent calls to `Decode` using the same instance. Co-authored-by: Dan Jaglowski <[email protected]> * [extension/jaegerremotesampling] Support reload_interval option in remote mode of usage (#24981) Updates the jaegerremotesampling extension's `remote` mode of usage to support the `reload_interval` caching option already supported in `file` mode of usage. Co-authored-by: Anthony Mirabella <[email protected]> * [translator/loki] Fixes a panic that occurred during the promotion of nested attributes containing dots to labels (#25142) When the value for loki hint attribute contains dots (more than 1 dot) and attributes are nested so some level contains dotted attribute name (for example `{"log": {"file.name": "foo"}}`), the getNestedAttribute function throws a panic Co-authored-by: Tyler Helmuth <[email protected]> * [chore] [receiver/sqlquery] Fix flaky test TestLogsQueryReceiver_Collect (#25191) Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25189 * Prepare update to core v0.83.0 (#25187) Corresponds to [Step 3](https://github.com/open-telemetry/opentelemetry-collector/blob/81242fa7eff332756df6e03034c0e6686b9b988e/docs/release.md?plain=1#L34) of collector core release process. Updated as part of Step 8. --------- Signed-off-by: Alex Boten <[email protected]> Co-authored-by: Alex Boten <[email protected]> * [chore] dependabot updates Mon Aug 14 23:07:29 UTC 2023 (#25810) Bump github.com/ClickHouse/clickhouse-go/v2 from 2.12.1 to 2.13.0 in /exporter/clickhouseexporter Bump github.com/antonmedv/expr from 1.12.5 to 1.13.0 in /receiver/receivercreator Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.322 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.322 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.322 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.322 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.322 in /receiver/awsxrayreceiver Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.323 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.323 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.323 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.323 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.323 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.323 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.323 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.323 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.319 to 1.44.323 in /receiver/awsxrayreceiver Bump github.com/daixiang0/gci from 0.10.1 to 0.11.0 in /internal/tools Bump github.com/golangci/golangci-lint from 1.53.3 to 1.54.1 in /internal/tools Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /extension/observer/dockerobserver Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /internal/coreinternal Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /receiver/aerospikereceiver Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /receiver/apachereceiver Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /receiver/dockerstatsreceiver Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /receiver/elasticsearchreceiver Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /receiver/jmxreceiver Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /receiver/kafkametricsreceiver Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /receiver/nginxreceiver Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /receiver/postgresqlreceiver Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /receiver/redisreceiver Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /receiver/sqlqueryreceiver Bump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.23.0 in /receiver/zookeeperreceiver Bump go.mongodb.org/atlas from 0.32.0 to 0.33.0 in /receiver/mongodbatlasreceiver Bump go.opentelemetry.io/collector from 0.82.0 to 0.83.0 in /pkg/stanza Bump go.opentelemetry.io/collector from 0.82.0 to 0.83.0 in /receiver/carbonreceiver Bump go.opentelemetry.io/collector/cmd/builder from 0.82.1-0.20230811173841-81242fa7eff3 to 0.83.0 in /internal/tools Bump go.opentelemetry.io/collector/component from 0.82.0 to 0.83.0 in /exporter/logzioexporter Bump go.opentelemetry.io/collector/config/confighttp from 0.82.0 to 0.83.0 in /receiver/elasticsearchreceiver Bump go.opentelemetry.io/collector/config/confighttp from 0.82.0 to 0.83.0 in /receiver/skywalkingreceiver Bump go.opentelemetry.io/collector/config/confignet from 0.82.0 to 0.83.0 in /extension/jaegerremotesampling Bump go.opentelemetry.io/collector/config/configopaque from 0.82.0 to 0.83.0 in /extension/jaegerremotesampling Bump go.opentelemetry.io/collector/config/configtls from 0.82.0 to 0.83.0 in /processor/resourcedetectionprocessor Bump go.opentelemetry.io/collector/config/configtls from 0.82.0 to 0.83.0 in /receiver/sapmreceiver Bump go.opentelemetry.io/collector/config/configtls from 0.82.0 to 0.83.0 in /receiver/signalfxreceiver Bump go.opentelemetry.io/collector/confmap from 0.82.0 to 0.83.0 in /exporter/splunkhecexporter Bump go.opentelemetry.io/collector/confmap from 0.82.0 to 0.83.0 in /processor/logstransformprocessor Bump go.opentelemetry.io/collector/confmap from 0.82.0 to 0.83.0 in /receiver/awsfirehosereceiver Bump go.opentelemetry.io/collector/confmap from 0.82.0 to 0.83.0 in /receiver/rabbitmqreceiver Bump go.opentelemetry.io/collector/confmap from 0.82.0 to 0.83.0 in /receiver/saphanareceiver Bump go.opentelemetry.io/collector/confmap from 0.82.0 to 0.83.0 in /receiver/signalfxreceiver Bump go.opentelemetry.io/collector/consumer from 0.82.0 to 0.83.0 in /exporter/opencensusexporter Bump go.opentelemetry.io/collector/consumer from 0.82.0 to 0.83.0 in /processor/logstransformprocessor Bump go.opentelemetry.io/collector/consumer from 0.82.0 to 0.83.0 in /processor/resourcedetectionprocessor Bump go.opentelemetry.io/collector/consumer from 0.82.0 to 0.83.0 in /receiver/mysqlreceiver Bump go.opentelemetry.io/collector/consumer from 0.82.0 to 0.83.0 in /receiver/nsxtreceiver Bump go.opentelemetry.io/collector/processor from 0.82.0 to 0.83.0 in /exporter/datadogexporter Bump go.opentelemetry.io/collector/receiver from 0.82.0 to 0.83.0 in /receiver/dockerstatsreceiver Bump go.opentelemetry.io/collector/receiver from 0.82.0 to 0.83.0 in /receiver/googlecloudpubsubreceiver Bump go.opentelemetry.io/collector/semconv from 0.82.0 to 0.83.0 in /exporter/awsemfexporter Bump go.opentelemetry.io/collector/semconv from 0.82.0 to 0.83.0 in /receiver/hostmetricsreceiver * [chore] Prepare release 0.83.0 (#25819) The following commands were run to prepare this release: - make chlog-update VERSION=v0.83.0 - sed -i.bak s/0.82.0/0.83.0/g versions.yaml - make multimod-prerelease - make multimod-sync * [chore] Move a few entries between changelogs (#25822) Followup to the v0.83.0 release. The chloggen tool was recently upgraded to support multiple separate changelogs. While the tool worked correctly, several entries were added prior to the new feature being added, resulting in several entries going to the default (user) changelog rather than the api changelog. * [chore] [receiver/k8scluster] enable exhaustive lint (#25818) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> * [processor/k8sattributes] Move config validation into Validate (#25153) **Description:** Moves existing config validation into the Validate function **Testing:** Added more unit tests --------- Co-authored-by: Dmitrii Anoshin <[email protected]> * Update otel/opentelemetry-collector-contrib Docker tag to v0.83.0 (#25826) [![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.82.0` -> `0.83.0` | --- ### Release Notes <details> <summary>open-telemetry/opentelemetry-collector-releases (otel/opentelemetry-collector-contrib)</summary> ### [`v0.83.0`](https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.83.0) [Compare Source](https://github.com/open-telemetry/opentelemetry-collector-releases/compare/v0.82.0...v0.83.0) #### Changelog - [`66a5e00`](https://github.com/open-telemetry/opentelemetry-collector-releases/commit/66a5e00) Prep release v0.83.0 ([#​388](https://github.com/open-telemetry/opentelemetry-collector-releases/issues/388)) - [`8eb6a21`](https://github.com/open-telemetry/opentelemetry-collector-releases/commit/8eb6a21) Bump github.com/goreleaser/goreleaser from 1.19.2 to 1.20.0 ([#​387](https://github.com/open-telemetry/opentelemetry-collector-releases/issues/387)) - [`9157d9d`](https://github.com/open-telemetry/opentelemetry-collector-releases/commit/9157d9d) \[admin] Add criteria for distributions ([#​376](https://github.com/open-telemetry/opentelemetry-collector-releases/issues/376)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> * [chore] [cmd/mdatagen] Fix a comment in resource_test.go (#25827) Cutting it from https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/24444 * [chore] [receiver/haproxy] Use generated pdata output in the test (#25824) Cutting it from https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/24444 to reduce the change set * [chore][fileconsumer] Move splitter factory code into internal package (#25172) * [receiver/influxdb] Fix time precision parser (#24974) (#25791) Add precision=n and precision=u to line protocol endpoint handler. This explicitly matches the behavior of InfluxDB 1.11, and allows a certain [Java client](https://github.com/influxdata/influxdb-java/blob/master/src/main/java/org/influxdb/impl/TimeUtil.java#L63) to write to OpenTelemetry. Also adds precision=µ and precision=µs for more complete compatibility with github.com/influxdata/line-protocol . * [receiver/postgresql] Added postgresql.deadlocks metric. (#25792) **Description:** Added new metric -- `postgresql.deadlocks` -- number of deadlocks detected in a database. **Link to tracking Issue:** https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25688 * [chore] [receiver/postgres] Remove custom metrics builder code (#25830) The code was introduced to migrate table and database datapoint attributes to resource attributes in https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/12967. Migration was completed a long time ago. The custom code isn't needed anymore. This also fixed the documentation to match the emitted data and removes redundant testdata * [chore] update segment download timeout to 2 minutes across all builds (#25832) Fixes #25794 Fixes #21506 * [receiver/vcenter] Metric attributes for host and vm performance metrics (#25149) Adds 'object' data point attribute to several metrics which has undifferentiated data points * [chore] cache telemetrygen image to avoid test flakiness (#25825) Fixes #24223 * [chore] update rotation (#25841) @TylerHelmuth sponsored vendor component here: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/24294 Signed-off-by: Alex Boten <[email protected]> * [chore] make tests faster and close http responses (#24925) These changes only touch tests. * [cmd/telemetrygen] Add status code to cli argument (#24673) **Description:** Adding command line argument `--status-code` to `telemetrygen traces`, which accepts `(Unset,Error,Ok)` (case sensitive) or the enum equivalent of `(0,1,2)`. Running ```shell telemetrygen traces --otlp-insecure --traces 1 --status-code 1 ``` against a minimal local collector yields ```txt 2023-07-29T21:27:57.862+0100 info ResourceSpans #0 Resource SchemaURL: https://opentelemetry.io/schemas/1.4.0 Resource attributes: -> service.name: Str(telemetrygen) ScopeSpans #0 ScopeSpans SchemaURL: InstrumentationScope telemetrygen Span #0 Trace ID : f6dc4be32c78b9999c69d504a79e68c1 Parent ID : 4e2cd6e0e90cf2ea ID : 20835413e32d26a5 Name : okey-dokey Kind : Server Start time : 2023-07-29 20:27:57.861602 +0000 UTC End time : 2023-07-29 20:27:57.861726 +0000 UTC Status code : Error Status message : Attributes: -> net.peer.ip: Str(1.2.3.4) -> peer.service: Str(telemetrygen-client) Span #1 Trace ID : f6dc4be32c78b9999c69d504a79e68c1 Parent ID : ID : 4e2cd6e0e90cf2ea Name : lets-go Kind : Client Start time : 2023-07-29 20:27:57.861584 +0000 UTC End time : 2023-07-29 20:27:57.861726 +0000 UTC Status code : Error Status message : Attributes: -> net.peer.ip: Str(1.2.3.4) -> peer.service: Str(telemetrygen-server) ``` and similarly (the string version) ```shell telemetrygen traces --otlp-insecure --traces 1 --status-code '"Ok"' ``` produces ```txt Resource SchemaURL: https://opentelemetry.io/schemas/1.4.0 Resource attributes: -> service.name: Str(telemetrygen) ScopeSpans #0 ScopeSpans SchemaURL: InstrumentationScope telemetrygen Span #0 Trace ID : dfd830da170acfe567b12f87685d7917 Parent ID : 8e15b390dc6a1ccc ID : 165c300130532072 Name : okey-dokey Kind : Server Start time : 2023-07-29 20:29:16.026965 +0000 UTC End time : 2023-07-29 20:29:16.027089 +0000 UTC Status code : Ok Status message : Attributes: -> net.peer.ip: Str(1.2.3.4) -> peer.service: Str(telemetrygen-client) Span #1 Trace ID : dfd830da170acfe567b12f87685d7917 Parent ID : ID : 8e15b390dc6a1ccc Name : lets-go Kind : Client Start time : 2023-07-29 20:29:16.026956 +0000 UTC End time : 2023-07-29 20:29:16.027089 +0000 UTC Status code : Ok Status message : Attributes: -> net.peer.ip: Str(1.2.3.4) -> peer.service: Str(telemetrygen-server) ``` The default is `Unset` which is the current behaviour. **Link to tracking Issue:** 24286 **Testing:** Added unit tests which covers both valid and invalid inputs. **Documentation:** Command line arguments are self documenting via the usage info in the flag. Co-authored-by: Pablo Baeyens <[email protected]> * [receiver/vcenter] Add resource attribute for resource pool inventory path (#25842) ix the issue where the integration test was emitting resource pools resources with the same identifiers. A resource pool generally isn't going to be named the same unless there is some nested structure and generally is believed to be a malpractice from my experience. The inventory path may be the best all around solution for adding context to where the metrics are coming from. * [chore][fileconsumer] Extract a readerMetadata struct (#25828) This PR continues the incremental refactoring of the fileconsumer package. I'd like to eventually move the reader struct into an internal package. Prior to doing so, I believe it will be helpful to simplify the struct's contents and usage. - Extract a readerMetadata struct from the reader struct. This contains exactly the fields which can be saved and reloaded. Consequently, saving and reloading will operator directly on the metadata, rather than the entire reader. - Simplify the readerFactory and readerBuilder by pulling some nuanced responsibilities out of the builder and into the factory's specialized functions. - Remove several builder options, which are now handled by factory. - Remove special case where fingerprint was initialized by builder. This was only used in tests. - Remove useless test which only validates that json encoder functionality. * [chore][golden] Normal timestamps in golden metric files (#23002) Normalized the timestamps on Golden file outputs. Normalization in this instance basically means setting non-unique timestamps of a metric equal to each other and unique timestamps incremented in increments of 1,000,000 nanoseconds. To see a clear example of this, navigate into the added test files (internal/coreinternal/golden/testdata/timestamp-norm) The goal is to further make the Golden output files as deterministic as possible and clear up the cluttered git diff's every time one of these golden files are remade. * [chore] update codeowners to respect capitalization (#25848) Update github logins to match capitalization. * [pkg/stanza] Deprecate EncodingConfig (#25846) * Revert "[chore] cache telemetrygen image to avoid test flakiness" (#25853) Reverts open-telemetry/opentelemetry-collector-contrib#25825 * [chore] do not ignore error when json marshaling (#24934) * [exporter/opensearch] Send traces to OpenSearch (#24540) Implementation of exporter to OpenSearch using opensearch-go library. Requests sent adhere to OpenSearch Catalog [schema for traces](https://github.com/opensearch-project/opensearch-catalog/tree/main/schema/observability/traces). # Testing ## Integration - Successful round-trip to HTTP endpoint, - Permanent error during round-trip, - Retryable error response for first request, followed by successful response on retry, - Two retriable error responses, followed by successful response on second retry. ## Manual end-to-end - Authenticating using basicauth extension, - Connecting to OpenSearch using TLS. ## Issues Found ### Rejected Attribute JSON In bdd41142467997c3261c5c991ddffd038fff43db, some values in `ptrace.Span.Attributes()` can be converted to JSON that OpenSearch Observability's ss4o index template rejects. The collector correctly logs these as dropped. Working with OpenSearch observability to find root cause. The fix will be localized to `sso_model.go` and `traceBulkIndexer.createJSON`. --------- Signed-off-by: Max Ksyunz <[email protected]> Co-authored-by: Anthony Mirabella <[email protected]> * [chore] prealloc for internal/coreinternal (#24947) * [chore] Code linter findings for internal/aws (#24946) preallocate slices do not assign a boolean if it is reassigned right after * [chore] Add TylerHelmuth to k8s components codeowners (#25869) **Description:** I'd like to be more actively involved with the collector's k8s components. * [chore] [pkg/stanza] correct code comment (#25873) Corrects an inaccurate comment header on the FromPdataConverter type. **Description:** Small correction to a go comment that threw me for a loop. Thanks! **Link to tracking Issue:** NA **Testing:** NA **Documentation:** None Signed-off-by: Christian Kruse <[email protected]> * [chore] rename error variable to match expected golang pattern (#24936) * [chore] preallocate slice (#24940) * [chore] preallocate slices throughout the observer extension (#24943) * [chore] [exporter/alibabacloudlogservice] enable exhaustive lint (#25877) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> * Deprecating The Datadog Processor (#25437) The Datadog Processor is deprecated in favor of the Datadog Connector Link to issue: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/19740 --------- Co-authored-by: Yang Song <[email protected]> Co-authored-by: Alex Boten <[email protected]> * [receiver/kubeletstats] Add uptime metric for nodes, pods, and containers (#25867) **Description:** Adds a new monotonic, cumulative sum metric for tracking uptime of nodes, pods, and containers. Uptime is calculated as the number of seconds since the object's `StartTime`. **Testing:** Updated unit tests. Tested locally using the otel demo * [chore][receiver/httpcheck] fix configuration docs (#25881) Replaces `endpoint` with `targets` in README as changed in https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/23439. * [chore] Add to TylerHelmuth as codeowner for kubeletstats receiver (#25891) * [chore][exporter/azuremonitor]enable exhaustive for linter (#25131) related to https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23266 Co-authored-by: Alex Boten <[email protected]> * [cmd/telemetrygen] fix status-code args default value (#25889) Fix #25849 after adding more logs for failed telemetrygen pod, I found traces-job keeps failing with the error log ``` Error: expected `status-code` to be one of (Unset, Error, Ok) or (0, 1, 2), got "Unset" instead ``` here is a failed run https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/5899236967/job/16005926116 I thinks this bug is brought in by the pr #24673 , the default value `Unset` for arg `status-code` is not a legal one, the legal one is `"Unset"` --------- Signed-off-by: Ziqi Zhao <[email protected]> * [chore] Remove unused BUILD_INFO from Makefile (#25823) This PR removes unused `BUILD_INFO` from Makefile which was originally deleted in https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16828. As far as I checked briefly, the file itself was already deleted, and no one uses it now. **Link to tracking Issue:** https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/11867 **Testing:** ```shell-session $ make otelcontribcol cd ./cmd/otelcontribcol && GO111MODULE=on CGO_ENABLED=0 go build -trimpath -o ../../bin/otelcontribcol_darwin_arm64 \ -tags "" . $ ./bin/otelcontribcol_darwin_arm64 -v otelcontribcol version 0.83.0-dev ``` Signed-off-by: Kotaro Inoue <[email protected]> * [exporter/azuremonitor] Log exporter handle non-string values (#24911) The log exporter was incorrectly assuming a string value for the body. Minor refactoring of the log exporter unit tests for better isolation. Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23422 **Testing:** Unit tests --------- Co-authored-by: Alex Boten <[email protected]> * [receiver/haproxy] add support for http (#24560) Support HTTP endpoints as well for haproxy receiver. * [exporter/signalfx] Option to drop histogram buckets. part-1 (#25893) **Description:** : Added a mechanism to drop histogram buckets from the signalfx translator. Please note this will be used in upcoming second part of the "histogram bucket drop" effort for the same issue. **Link to tracking Issue:** #25845 * [receiver/redis] Add username parameter for connecting to redis (#24408) **Description:** Adding a feature - Adding username for redis receiver for connecting to redis over ACL **Testing:** Running go test is ok. Generating my custom OpenTelemetry Collector binary with redis receiver and otlp exporter (using ocb). This custom Opentelemetry Collector collecting redis data by connecting with a username and password work fine. I test to collect data using password only, it works too. **Documentation:** Mardown file has been updated * [receiver/journald]: add support for dmesg (#25910) Adds support for `--dmesg` to journaldreceiver * [chore] [connector/datadog] add status table to readme (#25903) For consistency with other components. Signed-off-by: Alex Boten <[email protected]> * [exporter/opensearch] ensure readme is generated (#25899) This will ensure consistency w/ the other components in the repo. Signed-off-by: Alex Boten <[email protected]> * [receiver/journald]: add support for identifiers (#25911) Adds support for `identifiers` to journaldreceiver * [pkg/ottl] use IntGetter argument for Substring function (#25874) **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.--> use IntGetter argument for Substring function **Link to tracking Issue:** <Issue number if applicable> #25852 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.> --------- Co-authored-by: Antoine Toulme <[email protected]> Co-authored-by: Tyler Helmuth <[email protected]> * [internal/filter] enable exhaustive lint (#25908) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> * [internal/coreinternal] enable exhaustive lint (#25907) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> * [exporter/clickhouse] Change writing of metrics data to batch (#24403) **Description:** <Describe what has changed.> The clickhouseexporter using a StringBuilder to build a big sql string while writing metrics. This will be causing the queue to full when metric data is big. Changes: valueArgs := make([]any, e.count*expHistogramValueCounts) var b strings.Builder index := 0 for _, model := range e.expHistogramModels { for i := 0; i < model.expHistogram.DataPoints().Len(); i++ { dp := model.expHistogram.DataPoints().At(i) b.WriteString(*expHistogramPlaceholders) valueArgs[index] = model.metadata.ResAttr valueArgs[index+1] = model.metadata.ResURL ..... valueArgs[index+28] = dp.Max() index += expHistogramValueCounts } } start := time.Now() err := doWithTx(ctx, db, func(tx *sql.Tx) error { _, err := tx.ExecContext(ctx, fmt.Sprintf("%s %s", e.insertSQL, strings.TrimSuffix(b.String(), ",")), valueArgs...) return err }) TO: start := time.Now() err := doWithTx(ctx, db, func(tx *sql.Tx) error { batch, err := tx.PrepareContext(ctx, e.insertSQL) if err != nil { return err } batch: for _, model := range e.expHistogramModels { for i := 0; i < model.expHistogram.DataPoints().Len(); i++ { dp := model.expHistogram.DataPoints().At(i) attrs, times, values, traceIDs, spanIDs := convertExemplars(dp.Exemplars()) _, err = batch.ExecContext(ctx, model.metadata.ResAttr, model.metadata.ResURL, model.metadata.ScopeInstr.Name(), model.metadata.ScopeInstr.Version(), attributesToMap(model.metadata.ScopeInstr.Attributes()), model.metadata.ScopeInstr.DroppedAttributesCount(), model.metadata.ScopeURL, model.metricName, model.metricDescription, model.metricUnit, attributesToMap(dp.Attributes()), dp.StartTimestamp().AsTime(), dp.Timestamp().AsTime(), dp.Count(), dp.Sum(), dp.Scale(), dp.ZeroCount(), dp.Positive().Offset(), convertSliceToArraySet(dp.Positive().BucketCounts().AsRaw()), dp.Negative().Offset(), convertSliceToArraySet(dp.Negative().BucketCounts().AsRaw()), attrs, times, values, traceIDs, spanIDs, uint32(dp.Flags()), dp.Min(), dp.Max(), ) if err != nil { break batch } } } return err }) --------- Co-authored-by: Murphy Chen <[email protected]> * [pkg/ottl] Add new `ExtractPatterns` converter that extract regex patterns from string (#25878) **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.--> [pkg/ottl] Add new `ExtractPatterns` converter that extract regex pattern from string **Link to tracking Issue:** <Issue number if applicable> #25834, #25856 **Testing:** <Describe what testing was performed and which tests were added.> Unit tests **Documentation:** <Describe the documentation added.> Added documentation to pkg/ottl/ottlfuncs/README.md. --------- Co-authored-by: Tyler Helmuth <[email protected]> * [chore][fileconsumer] Remove readerBuilder and simplify reader instantiation (#25847) Followup to https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/25828 - Remove the `readerBuilder` entirely and instead works with clearer `readerFactory` methods. - Fixes test setup in `otlpjsonfilereceiver`, which was previous relying on a force flush event. This was exposed as part of this refactoring. * [chore][fileconsumer] Cleanup file handle when closed by reader (#25912) This PR is a small step towards reducing complexity in the way we manage readers and their files. With this change we now have an expectation that reader file handles are always open. * [fileconsumer] Remove deprecated structs (#25916) * Revert "[chore][fileconsumer] Cleanup file handle when closed by reader" (#26021) Reverts open-telemetry/opentelemetry-collector-contrib#25912 This change appears to have caused special behaviors on windows. * Remove retry_on_failure from the googlecloud exporters (#25900) **Description:** In https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/19203, we disabled retry_on_failure by default because retry is now handled by the google cloud client libraries. However, many users still enable it because the error message encourages users to enable retry_on_failure. This is causing problems, especially with metrics because retrying a batch of metrics produces confusing errors (like out-of-order or duplicate timeseries errors) and spams users logs more than necessary. This PR removes the retry_on_failure config from the GMP and googlecloud exporters. * [pkg/translator/loki] Added Attributes support to the InstrumentationScope (#25883) **Description:** <Describe what has changed.> Added Attributes support to InstrumentationScope Now the attributes information in the `pcommon.InstrumentationScope` structure is translated and transmitted to Loki. **Link to tracking Issue:** https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/24027 **Testing:** Added unit tests * [extension/healthcheck] remove dependency on jaeger package (#25895) This extension was pulling in a dependency on jaeger for a fairly small amount of code. I've copied the code into an internal package instead to remove the dep. --------- Signed-off-by: Alex Boten <[email protected]> * Fix replace_all_patterns attributes for transform readme (#26032) In the transform processor readme, there's still one instance of the replace_all_patterns without the mode parameter. This PR fixed that. Signed-off-by: Juraci Paixão Kröhling <[email protected]> Signed-off-by: Juraci Paixão Kröhling <[email protected]> * [pkg/stanza] Move encoding concerns to dedicated package (#26019) * Remove defunct elastic_output reference from operator README (#26034) **Description:** The operators README file still included a reference to the `elastic_output` which was removed a while back in favor of the `elasticsearchexporter`. This PR replaces the example with a file_output example, which still exists. * Translate unit from words to UCUM in the prometheus receiver (#25887) Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23208 This is the reverse of the logic in the prometheus exporter, which changes UCUM to words. * [chore][fileconsumer] Fix bug where flush period would be forgotten (#26033) Adds a test for and fixes a bug introduced in https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/25847 No changelog is necessary because the bug was introduced yesterday and was never released. * [chore][fileconsumer] Extract splitter, flusher, multiline, encoding into dedicated package (#25914) ~~Follows #26019~~ There are several structs in `pkg/stanza/operator/helper` which define and manage tokenization related behaviors. `fileconsumer` has a dependency on these, as do a few other components such as tcp and udp receivers. These structs have complex interrelationships which I find difficult to reason about and difficult to manage. Their current location in the `helpers` package is unhelpful and unnecessary. I'd like to move them into a dedicated package where I can start to untangle and hopefully simplify them. * [chore] [exporter/coralogix] Document and test attributes ordering (#26027) **Description:** We were seeing reports of cases where unexpected attribute has been picked up as subsytem / application attribute. This PR adds some clarifications on how the attribute is picked. Also adds tests to validate this behavior. **Link to tracking Issue:** N/A **Testing:** N/A **Documentation:** Added documentation regarding attributes ordering. --------- Signed-off-by: Matej Gera <[email protected]> * [chore][pkg/stanza] Move tokenization tests into tokenizetest package (#25997) * [chore] Remove non-ucum units from prometheus readme (#26035) Follow-up to https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/24647 Addresses comment in https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/25887#pullrequestreview-1588092792 * [chore] dependabot updates Tue Aug 22 20:28:42 UTC 2023 (#26039) Bump cloud.google.com/go/spanner from 1.47.0 to 1.48.0 in /receiver/googlecloudspannerreceiver Bump github.com/ClickHouse/clickhouse-go/v2 from 2.13.0 to 2.13.2 in /exporter/clickhouseexporter Bump github.com/aliyun/aliyun-log-go-sdk from 0.1.51 to 0.1.53 in /exporter/alibabacloudlogserviceexporter Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.327 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.327 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.327 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.327 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.327 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.327 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.327 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.327 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.327 in /receiver/awsecscontainermetricsreceiver Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.328 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.328 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.328 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.328 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.328 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.328 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.328 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.323 to 1.44.328 in /receiver/awsxrayreceiver Bump github.com/aws/aws-sdk-go-v2 from 1.20.1 to 1.20.3 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2 from 1.20.1 to 1.21.0 in /exporter/awskinesisexporter Bump github.com/aws/aws-sdk-go-v2/config from 1.18.33 to 1.18.35 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/config from 1.18.33 to 1.18.36 in /exporter/awskinesisexporter Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.32 to 1.13.34 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.32 to 1.13.35 in /exporter/awskinesisexporter Bump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.18.2 to 1.18.5 in /exporter/awskinesisexporter Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.21.2 to 1.21.4 in /extension/sigv4authextension Bump github.com/google/uuid from 1.3.0 to 1.3.1 in /cmd/configschema Bump github.com/google/uuid from 1.3.0 to 1.3.1 in /exporter/awscloudwatchlogsexporter Bump github.com/google/uuid from 1.3.0 to 1.3.1 in /exporter/awsemfexporter Bump github.com/google/uuid from 1.3.0 to 1.3.1 in /exporter/googlecloudpubsubexporter Bump github.com/google/uuid from 1.3.0 to 1.3.1 in /exporter/tanzuobservabilityexporter Bump github.com/google/uuid from 1.3.0 to 1.3.1 in /pkg/ottl Bump github.com/google/uuid from 1.3.0 to 1.3.1 in /processor/k8sattributesprocessor Bump github.com/google/uuid from 1.3.0 to 1.3.1 in /processor/tailsamplingprocessor Bump github.com/google/uuid from 1.3.0 to 1.3.1 in /receiver/awsxrayreceiver Bump github.com/google/uuid from 1.3.0 to 1.3.1 in /receiver/k8sclusterreceiver Bump github.com/google/uuid from 1.3.0 to 1.3.1 in /receiver/skywalkingreceiver Bump github.com/mongodb-forks/digest from 1.0.4 to 1.0.5 in /receiver/mongodbatlasreceiver Bump github.com/sijms/go-ora/v2 from 2.7.11 to 2.7.14 in /receiver/sqlqueryreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.719 to 1.0.727 in /exporter/tencentcloudlogserviceexporter Bump go.opentelemetry.io/collector/receiver from 0.82.0 to 0.83.0 in /receiver/googlecloudpubsubreceiver Bump golang.org/x/vuln from 1.0.0 to 1.0.1 in /internal/tools Bump gonum.org/v1/gonum from 0.13.0 to 0.14.0 in /pkg/stanza Bump gonum.org/v1/gonum from 0.13.0 to 0.14.0 in /receiver/statsdreceiver Bump google.golang.org/api from 0.136.0 to 0.138.0 in /exporter/f5cloudexporter Bump google.golang.org/api from 0.136.0 to 0.138.0 in /exporter/googlecloudpubsubexporter Bump google.golang.org/api from 0.136.0 to 0.138.0 in /receiver/googlecloudpubsubreceiver Bump google.golang.org/api from 0.136.0 to 0.138.0 in /receiver/googlecloudspannerreceiver * [chore] [processor/transform] Add the missing parenthesis in the README example (#26066) One parenthesis is missing in "Comnbine two attributes" example code. * [exporter/loadbalancingexporter] fix k8s service resolver retaining invalid old endpoints (#25061) **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.--> fix k8s service resolver retaining invalid old endpoints In the endpoint update event, the step of deleting the old endpoint is missed, so a connection request will still be made to the old endpoint. **Link to tracking Issue:** <Issue number if applicable> #24914 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.> Signed-off-by: Yuan Fang <[email protected]> Co-authored-by: Juraci Paixão Kröhling <[email protected]> * [chore] dependabot updates Wed Aug 23 04:31:08 UTC 2023 (#26067) Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /exporter/awscloudwatchlogsexporter Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /exporter/awsemfexporter Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /exporter/awsxrayexporter Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /exporter/datadogexporter Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /exporter/kafkaexporter Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /extension/observer/ecsobserver Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /internal/aws/awsutil Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /internal/aws/cwlogs Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /internal/aws/k8s Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /internal/aws/proxy Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /internal/aws/xray Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /internal/aws/xray/testdata/sampleapp Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /internal/metadataproviders Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /processor/resourcedetectionprocessor Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /receiver/awscontainerinsightreceiver Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /receiver/awsecscontainermetricsreceiver Bump github.com/aws/aws-sdk-go from 1.44.328 to 1.44.329 in /receiver/awsxrayreceiver Bump github.com/aws/aws-sdk-go-v2/config from 1.18.33 to 1.18.36 in /exporter/awskinesisexporter Bump github.com/aws/aws-sdk-go-v2/config from 1.18.35 to 1.18.36 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.32 to 1.13.35 in /exporter/awskinesisexporter Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.34 to 1.13.35 in /extension/sigv4authextension Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.21.4 to 1.21.5 in /extension/sigv4authextension Bump github.com/sijms/go-ora/v2 from 2.7.14 to 2.7.15 in /receiver/sqlqueryreceiver Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.727 to 1.0.728 in /exporter/tencentcloudlogserviceexporter Bump go.opentelemetry.io/collector/receiver from 0.82.0 to 0.83.0 in /receiver/googlecloudpubsubreceiver * fix e2e telemetrygen pod to enable e2e-test action (#25905) **Description:** before #25889 is released, the telemetrygen image is still not the latest one, so we need to fix e2e telemetrygen pod yaml to enable e2e-test action again. --------- Signed-off-by: Ziqi Zhao <[email protected]> * Add support for Metrics Slices to ottl len converter (#25890) Fixes #25868 **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> **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.> * Allow log's body to be set in telemetrygen (#26069) This change adds a flag allowing users to set the log's body. It also sets a log body to a default message. Replaces #26031 Signed-off-by: Juraci Paixão Kröhling <[email protected]> * [exporter/tanzuobservability] Deprecate Tanzu Observability (Wavefront) Exporter (#25904) The Tanzu Observability (Wavefront) Proxy has support for ingesting traces and metrics via OTLP, so the vendor specific exporter is no longer needed. This PR adds a deprecation message. **Link to tracking Issue:** #24225 **Documentation:** Readme updated with deprecation notice and link to migration documentation. * [chore] dependabot updates Wed Aug 23 16:09:23 UTC 2023 (#26077) Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.728 to 1.0.729 in /exporter/tencentcloudlogserviceexporter * receiver_creator: update expr with breaking type fn (#26064) Fixing a bug - These changes adopt the latest version of expr and incorporate a breaking built-in `type` function addition by relocating its implementation to `typeOf`. Fixes #26038 * [chore] Update lb exporter and k8sattributes processor with aws distro (#26079) **Description:** ADOT Collector now includes load balancing exporter and k8s attributes processor. This PR Updates medata.yaml and the components associated readme. * [pkg/resourcetotelemetry] enable exhaustive lint (#26075) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> * [chore] enforce validation of codeowners membership (#24638) **Description:** This adds a validation to our codeowners by forcing us to review and manage the codeowners registered with the OpenTelemetry github organization. * [chore] Check component API (#25855) **Description:** Introduce an API checker ensuring components only define a function per component to expose the factory function NewFactory **Testing:** Run locally, run as part of CI * [chore] only check for codeowners on main branch (#26088) Restrict when this step is run to make sure the secret GITHUB_TOKEN is set. * [receiver/memcached] remove duplicate Timeout setting (#26084) Use the Timeout setting from ScraperHelper instead --------- Signed-off-by: Alex Boten <[email protected]> * [receiver/k8sobjects] Switch to current config testing pattern (#26078) **Description:** Updates the component to use the latest config testing patterns. * [pkg/translator/loki] Moved labels names normalization to LogToLokiEntry function (#26093) **Description:** <Describe what has changed.> The public method `LogToLokiEntry` should return normalized label names to release developers who use it from the necessity to normalize them in their code **Testing:** adjusted unit tests of lokitranslator * feat: allow custom port for cassandra connection (#25179) * Add JMX metrics gatherer version 1.29.0-alpha (#26089) Add JMX metrics gatherer version `1.29.0-alpha`. cc @open-telemetry/java-contrib-approvers * [chore] fix exhaustive lint for processor groupbyattrs (#24919) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> Co-authored-by: Alex Boten <[email protected]> * [exporter/awsxray] Feature Gate to Allow fully random Trace IDs in XRay Exporter (#26041) Currently, the AWS XRay Exporter will drop segments/traces with trace IDs where the first 32 bits, when converted to UNIX Epoch time, are not within the past 28 days. This change is to add an Alpha feature gate `exporter.awsxray.skiptimestampvalidation`, which is disabled by default. If enabled, the timestamp restriction is removed so that users do not need to use the AWS XRay ID Generator. - Updated unit test in `config_test.go` - Added unit tests in `factory_test.go` and `segment_test.go` - All other unit tests related to trace ID are passing. * added a new postgresql metric. (#26086) Added new metric `postgresql.time_files` which is number of temp files detected in a database. Fixes #26080 * [receiver/zookeeper] remove duplicate Timeout field (#26082) Rely on the scraper helper's Timeout instead --------- Signed-off-by: Alex Boten <[email protected]> * [chore] [exporter/datasetexporter]: Update dataset-go to 0.14.0 (#26094) Upgrade dataset-go from 0.12.1 to 0.14.0 Next release is happening on 2023-08-28 (Monday) - https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/release.md - but next dependant is running on 2023-08-31 (Wednesday) - https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/.github/dependabot.yml - so it will not get updated on time. * [receiver/azuremonitorreceiver] Added new attributes for metrics (#24774) Added new attributes: name, type and resource group to the metrics * [chore] Add bryan-aguilar as EMF Exporter codeowner (#26100) **Description:** Adding myself as a codeowner of AWS EMF Exporter * [chore] add cmd group target and use it for testing and lint (#25876) Fixes #25875 * Parse scope information from otel_scope_name, otel_scope_version, and otel_scope_info (#25898) **Description:** Implements this specification: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/compatibility/prometheus_and_openmetrics.md#instrumentation-scope, with https://github.com/open-telemetry/opentelemetry-specification/pull/3660 Instrumentation Scope > Each otel_scope_info metric point present in a batch of metrics SHOULD be dropped from the incoming scrape, and converted to an instrumentation scope. The otel_scope_name and otel_scope_version labels, if present, MUST be converted to the Name and Version of the Instrumentation Scope. Additional labels MUST be added as scope attributes, with keys and values unaltered. Other metrics in the batch which have otel_scope_name and otel_scope_version labels that match an instrumentation scope MUST be placed within the matching instrumentation scope, and MUST remove those labels. > Metrics which are not found to be associated with an instrumentation scope MUST all be placed within an empty instrumentation scope, and MUST not have any labels removed. It does this by: * For all metrics, use `otel_scope_name` and `otel_scope_version` to set the scope name and version. * For `otel_scope_info` metrics, use `otel_scope_name` and `otel_scope_version` as the scope name and version, and all other labels (other than `job`/`instance`/`__name__`) as scope attributes. * Change `map[metricName]metricFamily` to `map[scope][metricName]metricFamily` to sort metrics by instrumentation scope as they come in, and to make writing the scope easier on commit. **Link to tracking Issue:** Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/25870 * [receiver/jaeger] Removing remote sampling configuration code (#24186) Most remote sampling code is already removed from the jaeger receiver via #6633, but the configuration is still there. It is unused and should be removed. The only reason I can think of for retaining it is so that old configuration files don't stop the Collector from running. However, given that this is a no-op, I think it would be better to have an error and let the customers reconfigure their collectors. Here, I'm assuming that configuring a struct which doesn't exist will indeed raise an error. There is no changelog entry since the change is mostly an implementation detail. --------- Co-authored-by: Juraci Paixão Kröhling <[email protected]> * [pkg/pdatatest] enable exhaustive lint (#26105) **Description:** related #23266 Signed-off-by: Ziqi Zhao <[email protected]> * feat: add duration to int float converters (#25069) Description: Allows conversion of durations to nanoseconds, microseconds, milliseconds, seconds, minutes or hours Link to tracking Issue: Related to #24686 Testing: Unit tests for each converter Documentation: --------- Co-authored-by: Tyler Helmuth <12352919+TylerHelm…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
chore
ci-cd
CI, CD, testing, build issues
good first issue
Good for newcomers
help wanted
Extra attention is needed
priority:p2
Medium
According the suggestion here #23266 (comment)
We should enable exhaustive in a way that makes sure only check for the enum type
pmetric.MetricType
. So I should do following thingsexplicit-exhaustive-switch
[chore] enable exhaustive option explicit-exhaustive-switch #24412pmetric.MetricType
with switch, and then determine if the related code should be added with//exhaustive:enforce
comment. And if the linter is failed after the comment is added, we should solve the failure in the meantime.all components that used
pmetric.MetricType
following list is generated by command
cmd/mdatagen: no needprocessor/cumulativetodeltaprocessor: no needreceiver/saphanareceiver: no need, metric is auto-generatedreceiver/bigipreceiver: no need, metric is auto-generatedreceiver/elasticsearchreceiver: no need, metric is auto-generatedreceiver/hostmetricsreceiver: no need, metric is auto-generatedreceiver/vcenterreceiver: no need, metric is auto-generatedreceiver/rabbitmqreceiver: no need, metric is auto-generatedreceiver/expvarreceiver: no need, metric is auto-generatedreceiver/aerospikereceiver: no need, metric is auto-generatedreceiver/snowflakereceiver: no need, metric is auto-generatedreceiver/nsxtreceiver: no need, metric is auto-generatedreceiver/sqlserverreceiver: no need, metric is auto-generatedreceiver/couchdbreceiver: no need, metric is auto-generatedreceiver/mongodbreceiver: no need, metric is auto-generatedreceiver/nginxreceiver: no need, metric is auto-generatedreceiver/postgresqlreceiver: no need, metric is auto-generatedreceiver/kubeletstatsreceiver: no need, metric is auto-generatedreceiver/haproxyreceiver: no need, metric is auto-generatedreceiver/redisreceiver: no need, metric is auto-generatedreceiver/zookeeperreceiver: no need, metric is auto-generatedreceiver/kafkametricsreceiver: no need, metric is auto-generatedreceiver/memcachedreceiver: no need, metric is auto-generatedreceiver/mysqlreceiver: no need, metric is auto-generatedreceiver/sshcheckreceiver: no need, metric is auto-generatedreceiver/mongodbatlasreceiver: no need, metric is auto-generatedreceiver/filestatsreceiver: no need, metric is auto-generatedreceiver/activedirectorydsreceiver: no need, metric is auto-generatedreceiver/chronyreceiver: no need, metric is auto-generatedreceiver/httpcheckreceiver: no need, metric is auto-generatedreceiver/dockerstatsreceiver: no need, metric is auto-generatedreceiver/prometheusreceiver: no needreceiver/apachereceiver: no need, metric is auto-generatedreceiver/apachesparkreceiver: no need, metric is auto-generatedreceiver/iisreceiver: no need, metric is auto-generatedreceiver/oracledbreceiver: no need, metric is auto-generatedreceiver/flinkmetricsreceiver: no need, metric is auto-generatedreceiver/riakreceiver: no need, metric is auto-generatedexporter/prometheusexporter: no needexporter/carbonexporter: no needThe text was updated successfully, but these errors were encountered: