-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Receivers/SQLServerReceiver add stored procedure info to TopX and Sample events #45610
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
base: main
Are you sure you want to change the base?
Conversation
* Adding the query and tracking of stored procedures to events * Fixed missing process id * Removing stored procedure type Updating tests * Added changelog entry * Added changelog entry * reverted changelog entry * fix changelog entry * updates to variable naming and usage * updates to variable naming and usage * updates to variable naming and usage * ran make generate * Moved QuerySampleCount and TopQueryCount ot of params and reference config obj directly * Added issue to changelog * Replaced values with vars * Integrating stored procedure values for samples * updates to test data * Backout unintended merge * updating change log * Fix for inaccurate query count being reported in postgresql query metrics collection * change log * this fix is for sqlserver * fill issue details * go generate * fix lint * make gogci * tweak to samples sql * Revert checks around sending metrics for countInDb=1, since it's addressing a negligable edge case. * Updates in prep for testing * fix lint * cleanup * Fix invalid casting and update old test * Updating topN query to use HAVING instead of external WHERE clause * Query Tuning --------- Co-authored-by: sreenathv <[email protected]>
* Adding the query and tracking of stored procedures to events * Fixed missing process id * Removing stored procedure type Updating tests * Added changelog entry * Added changelog entry * reverted changelog entry * fix changelog entry * updates to variable naming and usage * updates to variable naming and usage * updates to variable naming and usage * ran make generate * Moved QuerySampleCount and TopQueryCount ot of params and reference config obj directly * Added issue to changelog * Replaced values with vars * Integrating stored procedure values for samples * updates to test data * Backout unintended merge * updating change log * Fix for inaccurate query count being reported in postgresql query metrics collection * change log * this fix is for sqlserver * fill issue details * go generate * fix lint * make gogci * tweak to samples sql * Revert checks around sending metrics for countInDb=1, since it's addressing a negligable edge case. * Updates in prep for testing * fix lint * cleanup * Fix invalid casting and update old test * Updating topN query to use HAVING instead of external WHERE clause * Query Tuning * [exporter/elasticsearch] Remove go-elasticsearch dependency to reduce binary size (#45104) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Remove go-elasticsearch dependency and reimplement the elasticsearch client ##### Binary size reduction For `make otelcontribcol` Before ``` -rwxrwxr-x 1 carson carson 471M Jan 14 18:23 bin/otelcontribcol_linux_amd64 ``` After ``` -rwxrwxr-x 1 carson carson 452M Jan 14 18:22 bin/otelcontribcol_linux_amd64 ``` ##### Side effect This PR reimplements most of elasticsearch.NewClient with the exception of: - x-elastic-client-meta HTTP header emitted by go-elasticsearch for telemetry - compatibility header which is disabled by default and can be enabled via ELASTIC_CLIENT_APIVERSIONING ##### Related PRs Supercedes https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39559 <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> * [k8sattributes] Bump version of semconv (#45447) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Bumping version of semconv to 1.39: https://github.com/open-telemetry/opentelemetry-go/pull/7783 Release: https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.39.0 In particular https://github.com/open-telemetry/semantic-conventions/pull/3215 moves the used attributes to `alpha`. <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> --------- Signed-off-by: ChrsMark <[email protected]> * [chore] Update core dependencies (#45476) This PR updates the opentelemetry-collector dependencies to open-telemetry/opentelemetry-collector@0550b08ddcc55fa878fc0798e8a51d4e4ce80579. Changes included in this PR: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.143.1...0550b08ddcc55fa878fc0798e8a51d4e4ce80579 --------- Signed-off-by: otelbot <[email protected]> Co-authored-by: otelbot <[email protected]> Co-authored-by: Pablo Baeyens <[email protected]> * [chore] add clarification about the usage of ready to merge label (#45474) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description The usage of the `ready to merge` label is not documented. This PR adds the clarification of when it should be added as part of the PR review guidelines to ensure proper usage within the project. FYI @open-telemetry/collector-contrib-approvers @open-telemetry/collector-contrib-triagers <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes ~ <!--Describe what testing was performed and which tests were added.--> #### Testing ~ <!--Describe the documentation added.--> #### Documentation Updated <!--Please delete paragraphs that you did not use before submitting.--> Signed-off-by: ChrsMark <[email protected]> * [CHORE] Bump Prometheus version (#45475) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This bump should pull in https://github.com/prometheus/prometheus/pull/17665 Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/44197 Signed-off-by: Arthur Silva Sens <[email protected]> * [chore] [receiver/k8s_cluster] Remove unused constant definitions (#45465) * [chore] [cmd/schemagen] Ensure schemas are up-to-date with Go structs (#45436) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Added `checkschema` script that allows verifying whether all component config schemas are up-to-date with corresponding Go structs. Script generates schemas for all components and uses `git diff` to find if there are any changes. <!--Describe what testing was performed and which tests were added.--> #### Testing Manual testing: 1. Run `make checkschema` -> should finish successfully 2. Change content of `receiver/icmpcheckreceiver` Go config struct 3. Run `make checkschema` -> should finish with error (For faster execution you can limit schema generation only to receivers by commenting out other directories in `generate-schema` task) * Update dockerfile deps (#45492) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | golang | stage | digest | `581c059` → `ce63a16` | | golang | final | digest | `581c059` → `ce63a16` | | mcr.microsoft.com/mssql/server | final | digest | `54b23ca` → `cd7c284` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update github-actions deps (#45493) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/cache](https://redirect.github.com/actions/cache) ([changelog](https://redirect.github.com/actions/cache/compare/9255dc7a253b0ccc959486e2bca901246202afeb..8b402f58fbc84540c8b491a91e594a4576fec3d7)) | action | digest | `9255dc7` → `8b402f5` | | [kentaro-m/auto-assign-action](https://redirect.github.com/kentaro-m/auto-assign-action) | action | patch | `v2.0.0` → `v2.0.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>kentaro-m/auto-assign-action (kentaro-m/auto-assign-action)</summary> ### [`v2.0.1`](https://redirect.github.com/kentaro-m/auto-assign-action/releases/tag/v2.0.1) [Compare Source](https://redirect.github.com/kentaro-m/auto-assign-action/compare/v2.0.0...v2.0.1) #### What's Changed - chore(deps): update dependency ts-jest to v29.1.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​167](https://redirect.github.com/kentaro-m/auto-assign-action/pull/167) - chore(deps): update dependency [@​octokit/webhooks-types](https://redirect.github.com/octokit/webhooks-types) to v7.3.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​173](https://redirect.github.com/kentaro-m/auto-assign-action/pull/173) - chore(deps): update dependency node to v20.11.1 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​175](https://redirect.github.com/kentaro-m/auto-assign-action/pull/175) - chore(deps): update dependency prettier to v3.2.5 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​174](https://redirect.github.com/kentaro-m/auto-assign-action/pull/174) - chore(deps): update dependency [@​octokit/webhooks-types](https://redirect.github.com/octokit/webhooks-types) to v7.4.0 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​176](https://redirect.github.com/kentaro-m/auto-assign-action/pull/176) - chore(deps): update dependency typescript to v5.4.3 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​177](https://redirect.github.com/kentaro-m/auto-assign-action/pull/177) - chore(deps): update dependency [@​octokit/webhooks-types](https://redirect.github.com/octokit/webhooks-types) to v7.5.0 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​180](https://redirect.github.com/kentaro-m/auto-assign-action/pull/180) - chore(deps): update dependency typescript to v5.4.5 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​179](https://redirect.github.com/kentaro-m/auto-assign-action/pull/179) - chore(deps): update dependency [@​octokit/webhooks-types](https://redirect.github.com/octokit/webhooks-types) to v7.5.1 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​182](https://redirect.github.com/kentaro-m/auto-assign-action/pull/182) - chore(deps): update dependency node to v20.12.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​178](https://redirect.github.com/kentaro-m/auto-assign-action/pull/178) - chore(deps): update dependency node to v20.13.1 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​183](https://redirect.github.com/kentaro-m/auto-assign-action/pull/183) - chore(deps): update dependency ts-jest to v29.1.3 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​184](https://redirect.github.com/kentaro-m/auto-assign-action/pull/184) - chore(deps): update dependency ts-jest to v29.1.4 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​185](https://redirect.github.com/kentaro-m/auto-assign-action/pull/185) - chore(deps): update dependency prettier to v3.3.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​187](https://redirect.github.com/kentaro-m/auto-assign-action/pull/187) - chore(deps): update dependency ts-jest to v29.1.5 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​189](https://redirect.github.com/kentaro-m/auto-assign-action/pull/189) - chore(deps): update dependency node to v20.15.0 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​186](https://redirect.github.com/kentaro-m/auto-assign-action/pull/186) - chore(deps): update dependency typescript to v5.5.3 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​190](https://redirect.github.com/kentaro-m/auto-assign-action/pull/190) - chore(deps): update dependency node to v20.15.1 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​194](https://redirect.github.com/kentaro-m/auto-assign-action/pull/194) - chore(deps): update dependency prettier to v3.3.3 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​196](https://redirect.github.com/kentaro-m/auto-assign-action/pull/196) - chore(deps): update dependency typescript to v5.5.4 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​197](https://redirect.github.com/kentaro-m/auto-assign-action/pull/197) - chore(deps): update dependency node to v20.16.0 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​198](https://redirect.github.com/kentaro-m/auto-assign-action/pull/198) - chore(deps): update dependency ts-jest to v29.2.4 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​195](https://redirect.github.com/kentaro-m/auto-assign-action/pull/195) - chore(deps): update dependency ts-jest to v29.2.5 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​199](https://redirect.github.com/kentaro-m/auto-assign-action/pull/199) - chore(deps): update dependency node to v20.17.0 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​200](https://redirect.github.com/kentaro-m/auto-assign-action/pull/200) - chore(deps): update dependency typescript to v5.6.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​202](https://redirect.github.com/kentaro-m/auto-assign-action/pull/202) - chore(deps): update dependency [@​vercel/ncc](https://redirect.github.com/vercel/ncc) to v0.38.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​203](https://redirect.github.com/kentaro-m/auto-assign-action/pull/203) - chore(deps): update dependency [@​octokit/webhooks-types](https://redirect.github.com/octokit/webhooks-types) to v7.6.1 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​204](https://redirect.github.com/kentaro-m/auto-assign-action/pull/204) - chore(deps): update dependency typescript to v5.6.3 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​207](https://redirect.github.com/kentaro-m/auto-assign-action/pull/207) - chore(deps): update dependency node to v20.18.0 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​205](https://redirect.github.com/kentaro-m/auto-assign-action/pull/205) - fix(deps): update dependency [@​actions/core](https://redirect.github.com/actions/core) to v1.11.1 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​206](https://redirect.github.com/kentaro-m/auto-assign-action/pull/206) - chore(deps): update dependency [@​vercel/ncc](https://redirect.github.com/vercel/ncc) to v0.38.3 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​210](https://redirect.github.com/kentaro-m/auto-assign-action/pull/210) - chore(deps): update node.js to v20.18.1 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​211](https://redirect.github.com/kentaro-m/auto-assign-action/pull/211) - chore(deps): update dependency prettier to v3.4.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​212](https://redirect.github.com/kentaro-m/auto-assign-action/pull/212) - chore(deps): update dependency typescript to v5.7.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​213](https://redirect.github.com/kentaro-m/auto-assign-action/pull/213) - chore(deps): update release-drafter/release-drafter action to v6 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​172](https://redirect.github.com/kentaro-m/auto-assign-action/pull/172) - chore(deps): update dependency typescript to v5.7.3 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​214](https://redirect.github.com/kentaro-m/auto-assign-action/pull/214) - chore(deps): update node.js to v20.18.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​215](https://redirect.github.com/kentaro-m/auto-assign-action/pull/215) - chore(deps): update dependency prettier to v3.5.1 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​218](https://redirect.github.com/kentaro-m/auto-assign-action/pull/218) - chore(deps): update node.js to v20.18.3 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​219](https://redirect.github.com/kentaro-m/auto-assign-action/pull/219) - chore(deps): update dependency typescript to v5.8.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​223](https://redirect.github.com/kentaro-m/auto-assign-action/pull/223) - chore(deps): update dependency ts-jest to v29.3.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​222](https://redirect.github.com/kentaro-m/auto-assign-action/pull/222) - chore(deps): update dependency prettier to v3.5.3 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​221](https://redirect.github.com/kentaro-m/auto-assign-action/pull/221) - chore(deps): update dependency typescript to v5.8.3 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​224](https://redirect.github.com/kentaro-m/auto-assign-action/pull/224) - chore(deps): update dependency ts-jest to v29.3.4 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​227](https://redirect.github.com/kentaro-m/auto-assign-action/pull/227) - chore(deps): update node.js to v20.19.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​225](https://redirect.github.com/kentaro-m/auto-assign-action/pull/225) - chore(deps): update dependency ts-jest to v29.4.0 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​229](https://redirect.github.com/kentaro-m/auto-assign-action/pull/229) - chore(deps): update dependency prettier to v3.6.2 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​232](https://redirect.github.com/kentaro-m/auto-assign-action/pull/232) - chore(deps): update node.js to v20.19.4 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​231](https://redirect.github.com/kentaro-m/auto-assign-action/pull/231) - chore(deps): update dependency ts-jest to v29.4.1 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​233](https://redirect.github.com/kentaro-m/auto-assign-action/pull/233) - chore(deps): update node.js to v20.19.5 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​237](https://redirect.github.com/kentaro-m/auto-assign-action/pull/237) - chore(deps): update dependency [@​vercel/ncc](https://redirect.github.com/vercel/ncc) to v0.38.4 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​239](https://redirect.github.com/kentaro-m/auto-assign-action/pull/239) - chore(deps): update dependency ts-jest to v29.4.5 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​240](https://redirect.github.com/kentaro-m/auto-assign-action/pull/240) - chore(deps): update dependency js-yaml to v3.14.2 \[security] by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​243](https://redirect.github.com/kentaro-m/auto-assign-action/pull/243) - chore(deps): update dependency ts-jest to v29.4.6 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​244](https://redirect.github.com/kentaro-m/auto-assign-action/pull/244) - chore(deps): update node.js to v20.19.6 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [#​245](https://redirect.github.com/kentaro-m/auto-assign-action/pull/245) - docs: add CLAUDE.md for Claude Code guidance by [@​kentaro-m](https://redirect.github.com/kentaro-m) in [#​248](https://redirect.github.com/kentaro-m/auto-assign-action/pull/248) - chore(deps): update node.js to v20.20.0 for security patch by [@​kentaro-m](https://redirect.github.com/kentaro-m) in [#​253](https://redirect.github.com/kentaro-m/auto-assign-action/pull/253) - chore: bump version to 2.0.1 by [@​kentaro-m](https://redirect.github.com/kentaro-m) in [#​254](https://redirect.github.com/kentaro-m/auto-assign-action/pull/254) **Full Changelog**: <https://github.com/kentaro-m/auto-assign-action/compare/v2.0.0...v2.0.1> </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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * [chore] receiver/kafka: fix TestConsumerShutdownConsuming (#45491) #### Description Fix TestConsumerShutdownConsuming by not overriding the consumer config returned by mustNewFakeCluster. Most importantly, mustNewFakeCluster sets InitialOffset to "earliest" to ensure the receiver does not race with producers. I've repeated the change in a couple of other tests, and removed an unnecessary sleep in another test to speed things up. #### Link to tracking issue Fixes #45010 #### Testing Ran the tests in a loop with Wine (which was causing the test to reliably fail for me) #### Documentation N/A * [chore] Inject component.Host into franz-go Kafka clients (#45336) #### Description Inject `component.Host` into franz-go Kafka clients. This will enable us to expose an oauth2 token source as an extension (e.g. oauth2clientauth, or azureauth (https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/45064)). See also https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/41873#discussion_r2366723836 #### Link to tracking issue N/A #### Testing N/A #### Documentation N/A * [chore][receiver/kafka] fix typo in logs.topic documentation (#45478) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Fix typo in `logs.topic` documentation Signed-off-by: Paulo Dias <[email protected]> * Adding '''WHERE st.text IS NOT NULL; ''' to topx and samples queries * [chore] Prepare release 0.144.0 (#45517) The following commands were run to prepare this release: - make chlog-update VERSION=v0.144.0 - sed -i.bak s/0[.]143[.]0/0.144.0/g versions.yaml - make multimod-prerelease - make multimod-sync --------- Signed-off-by: otelbot <[email protected]> Co-authored-by: otelbot <[email protected]> Co-authored-by: Pablo Baeyens <[email protected]> * [CHORE] Replace Prometheus receiver feature gates with mdatagen ones (#45485) #### Description mdatagen recently added support for generating and documenting feature gates. In this PR, I'm replacing all our feature gates with ones generated by mdatagen. --------- Signed-off-by: Arthur Silva Sens <[email protected]> Co-authored-by: Paulo Dias <[email protected]> * [ci] get core version from GitHub api (#45477) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description The change added in https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/45462 was not 100% accurate as in https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/45476 is using the value of `v0.143.1`, which is a non-existent tag. Using the GitHub api for this, it will be accurate for the expected behaviour. \cc @mx-psi Signed-off-by: Paulo Dias <[email protected]> * Update module github.com/hetznercloud/hcloud-go/v2 to v2.35.0 (#45507) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/hetznercloud/hcloud-go/v2](https://redirect.github.com/hetznercloud/hcloud-go) | `v2.34.0` → `v2.35.0` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>hetznercloud/hcloud-go (github.com/hetznercloud/hcloud-go/v2)</summary> ### [`v2.35.0`](https://redirect.github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2350) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.34.0...v2.35.0) ##### [`StorageBoxClient.GetSubaccount`](https://pkg.go.dev/github.com/hetznercloud/hcloud-go/v2/hcloud#StorageBoxClient.GetSubaccount) no longer gets a subaccount by `username` [`StorageBoxClient.GetSubaccount`](https://pkg.go.dev/github.com/hetznercloud/hcloud-go/v2/hcloud#StorageBoxClient.GetSubaccount) no longer tries to get a subaccount by `username`, instead it tries to get it by `name`. To get a subaccount by `username` please use [`StorageBoxClient.GetSubaccountByUsername`](https://pkg.go.dev/github.com/hetznercloud/hcloud-go/v2/hcloud#StorageBoxClient.GetSubaccountByUsername). See the [changelog](https://docs.hetzner.cloud/changelog#2026-01-15-storage-box-subaccount-name) for more details. ##### Features - add name to Storage Box Subaccount ([#​806](https://redirect.github.com/hetznercloud/hcloud-go/issues/806)) ##### Bug Fixes - do not ignore action error when the error message is empty ([#​801](https://redirect.github.com/hetznercloud/hcloud-go/issues/801)) </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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * Update module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common to v1.3.34 (#45499) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common](https://redirect.github.com/tencentcloud/tencentcloud-sdk-go) | `v1.3.32` → `v1.3.34` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>tencentcloud/tencentcloud-sdk-go (github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common)</summary> ### [`v1.3.34`](https://redirect.github.com/tencentcloud/tencentcloud-sdk-go/compare/v1.3.33...v1.3.34) [Compare Source](https://redirect.github.com/tencentcloud/tencentcloud-sdk-go/compare/v1.3.33...v1.3.34) ### [`v1.3.33`](https://redirect.github.com/tencentcloud/tencentcloud-sdk-go/compare/v1.3.32...v1.3.33) [Compare Source](https://redirect.github.com/tencentcloud/tencentcloud-sdk-go/compare/v1.3.32...v1.3.33) </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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * Update All github.com/aws packages (#45501) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/aws/aws-lambda-go](https://redirect.github.com/aws/aws-lambda-go) | `v1.51.2` → `v1.52.0` |  |  | | [github.com/aws/aws-sdk-go-v2/service/ec2](https://redirect.github.com/aws/aws-sdk-go-v2) | `v1.279.1` → `v1.279.2` |  |  | | [github.com/aws/aws-sdk-go-v2/service/ecs](https://redirect.github.com/aws/aws-sdk-go-v2) | `v1.70.1` → `v1.71.0` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>aws/aws-lambda-go (github.com/aws/aws-lambda-go)</summary> ### [`v1.52.0`](https://redirect.github.com/aws/aws-lambda-go/releases/tag/v1.52.0) [Compare Source](https://redirect.github.com/aws/aws-lambda-go/compare/v1.51.2...v1.52.0) ##### What's Changed - `lambdacontext` feature: Adding structured logging helper by [@​anzheyazzz](https://redirect.github.com/anzheyazzz) in [#​614](https://redirect.github.com/aws/aws-lambda-go/pull/614) ##### New Contributors - [@​anzheyazzz](https://redirect.github.com/anzheyazzz) made their first contribution in [#​614](https://redirect.github.com/aws/aws-lambda-go/pull/614) **Full Changelog**: <https://github.com/aws/aws-lambda-go/compare/v1.51.2...v1.52.0> </details> <details> <summary>aws/aws-sdk-go-v2 (github.com/aws/aws-sdk-go-v2/service/ec2)</summary> ### [`v1.279.2`](https://redirect.github.com/aws/aws-sdk-go-v2/blob/HEAD/CHANGELOG.md#Release-2026-01-15) #### Module Highlights - `github.com/aws/aws-sdk-go-v2/service/cleanrooms`: [v1.41.0](service/cleanrooms/CHANGELOG.md#v1410-2026-01-15) - **Feature**: This release adds support for parameters in PySpark analysis templates. - `github.com/aws/aws-sdk-go-v2/service/deadline`: [v1.23.0](service/deadline/CHANGELOG.md#v1230-2026-01-15) - **Feature**: AWS Deadline Cloud now supports tagging Budget resources with ABAC for permissions management and selecting up to 16 filter values in the monitor and Search API. - `github.com/aws/aws-sdk-go-v2/service/ec2`: [v1.279.2](service/ec2/CHANGELOG.md#v12792-2026-01-15) - **Documentation**: This release includes documentation updates to support up to four Elastic Volume modifications per Amazon EBS volume within a rolling 24-hour period. - `github.com/aws/aws-sdk-go-v2/service/ecs`: [v1.71.0](service/ecs/CHANGELOG.md#v1710-2026-01-15) - **Feature**: Adds support for configuring FIPS in AWS GovCloud (US) Regions via a new ECS Capacity Provider field fipsEnabled. When enabled, instances launched by the capacity provider will use a FIPS-140 enabled AMI. Instances will use FIPS-140 compliant cryptographic modules and AWS FIPS endpoints. - `github.com/aws/aws-sdk-go-v2/service/evs`: [v1.6.0](service/evs/CHANGELOG.md#v160-2026-01-15) - **Feature**: A new GetVersions API has been added to retrieve VCF, ESX versions, and EC2 instances provided by Amazon EVS. The CreateEnvironment API now allows you to select a VCF version and the CreateEnvironmentHost API introduces a optional esxVersion parameter. - `github.com/aws/aws-sdk-go-v2/service/lakeformation`: [v1.47.0](service/lakeformation/CHANGELOG.md#v1470-2026-01-15) - **Feature**: API Changes for GTCForLocation feature. Includes a new API, GetTemporaryDataLocationCredentials and updates to the APIs RegisterResource and UpdateResource - `github.com/aws/aws-sdk-go-v2/service/opensearchserverless`: [v1.29.0](service/opensearchserverless/CHANGELOG.md#v1290-2026-01-15) - **Feature**: Collection groups in Amazon OpenSearch Serverless enables to organize multiple collections and enable compute resource sharing across collections with different KMS keys. This shared compute model reduces costs by eliminating the need for separate OpenSearch Compute Units (OCUs) for each KMS key. - `github.com/aws/aws-sdk-go-v2/service/qconnect`: [v1.26.0](service/qconnect/CHANGELOG.md#v1260-2026-01-15) - **Feature**: Fix inference configuration shapes for the CreateAIPrompt and UpdateAIPrompt APIs, Modify Text Length Limit for SendMessage API </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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * Update module github.com/getsentry/sentry-go to v0.41.0 (#45503) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/getsentry/sentry-go](https://redirect.github.com/getsentry/sentry-go) | `v0.40.0` → `v0.41.0` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>getsentry/sentry-go (github.com/getsentry/sentry-go)</summary> ### [`v0.41.0`](https://redirect.github.com/getsentry/sentry-go/releases/tag/v0.41.0): 0.41.0 [Compare Source](https://redirect.github.com/getsentry/sentry-go/compare/v0.40.0...v0.41.0) The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.41.0. ##### Features - Add HTTP client integration for distributed tracing via `sentryhttpclient` package ([#​876](https://redirect.github.com/getsentry/sentry-go/pull/876)) - Provides an `http.RoundTripper` implementation that automatically creates spans for outgoing HTTP requests - Supports trace propagation targets configuration via `WithTracePropagationTargets` option - Example usage: ```go import sentryhttpclient "github.com/getsentry/sentry-go/httpclient" roundTripper := sentryhttpclient.NewSentryRoundTripper(nil) client := &http.Client{ Transport: roundTripper, } ``` - Add `ClientOptions.PropagateTraceparent` option to control W3C `traceparent` header propagation in outgoing HTTP requests ([#​1161](https://redirect.github.com/getsentry/sentry-go/pull/1161)) - Add `SpanID` field to structured logs ([#​1169](https://redirect.github.com/getsentry/sentry-go/pull/1169)) </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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * Update module github.com/DataDog/datadog-api-client-go/v2 to v2.54.0 (#45502) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/DataDog/datadog-api-client-go/v2](https://redirect.github.com/DataDog/datadog-api-client-go) | `v2.53.0` → `v2.54.0` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>DataDog/datadog-api-client-go (github.com/DataDog/datadog-api-client-go/v2)</summary> ### [`v2.54.0`](https://redirect.github.com/DataDog/datadog-api-client-go/releases/tag/v2.54.0) [Compare Source](https://redirect.github.com/DataDog/datadog-api-client-go/compare/v2.53.0...v2.54.0) See ./CHANGELOG.md for details </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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * Update module modernc.org/sqlite to v1.44.2 (#45500) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) | `v1.44.0` → `v1.44.2` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>cznic/sqlite (modernc.org/sqlite)</summary> ### [`v1.44.2`](https://gitlab.com/cznic/sqlite/compare/v1.44.1...v1.44.2) [Compare Source](https://gitlab.com/cznic/sqlite/compare/v1.44.1...v1.44.2) ### [`v1.44.1`](https://gitlab.com/cznic/sqlite/compare/v1.44.0...v1.44.1) [Compare Source](https://gitlab.com/cznic/sqlite/compare/v1.44.0...v1.44.1) </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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * Update module github.com/google/cadvisor to v0.56.2 (#45504) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/google/cadvisor](https://redirect.github.com/google/cadvisor) | `v0.55.1` → `v0.56.2` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>google/cadvisor (github.com/google/cadvisor)</summary> ### [`v0.56.2`](https://redirect.github.com/google/cadvisor/releases/tag/v0.56.2): cAdvisor v0.56.2 [Compare Source](https://redirect.github.com/google/cadvisor/compare/v0.56.1...v0.56.2) #### What's Changed - docker: fix nil pointer dereference when GraphDriver is nil by [@​dims](https://redirect.github.com/dims) in [#​3816](https://redirect.github.com/google/cadvisor/pull/3816) **Full Changelog**: <https://github.com/google/cadvisor/compare/v0.56.1...v0.56.2> #### What's Changed - docker: fix nil pointer dereference when GraphDriver is nil by [@​dims](https://redirect.github.com/dims) in [#​3816](https://redirect.github.com/google/cadvisor/pull/3816) **Full Changelog**: <https://github.com/google/cadvisor/compare/v0.56.1...v0.56.2> ### [`v0.56.1`](https://redirect.github.com/google/cadvisor/releases/tag/v0.56.1): cAdvisor v0.56.1 [Compare Source](https://redirect.github.com/google/cadvisor/compare/v0.56.0...v0.56.1) #### What's Changed - Fixing entrypoint- and healthcheck script in container by [@​benji2k2](https://redirect.github.com/benji2k2) in [#​3814](https://redirect.github.com/google/cadvisor/pull/3814) **Full Changelog**: <https://github.com/google/cadvisor/compare/v0.56.0...v0.56.1> #### What's Changed - Fixing entrypoint- and healthcheck script in container by [@​benji2k2](https://redirect.github.com/benji2k2) in [#​3814](https://redirect.github.com/google/cadvisor/pull/3814) **Full Changelog**: <https://github.com/google/cadvisor/compare/v0.56.0...v0.56.1> ### [`v0.56.0`](https://redirect.github.com/google/cadvisor/releases/tag/v0.56.0): cAdvisor v0.56.0 [Compare Source](https://redirect.github.com/google/cadvisor/compare/v0.55.1...v0.56.0) #### Upgrade - [docker versions older than 25.0 are no longer supported](https://redirect.github.com/google/cadvisor/pull/3757#issuecomment-3750329932) #### What's Changed - Expose s390x CPU Topology to Prometheus by [@​madeelibm](https://redirect.github.com/madeelibm) in [#​3610](https://redirect.github.com/google/cadvisor/pull/3610) - Replace references to docker registry `gcr.io` with `ghcr.io` by [@​luckv](https://redirect.github.com/luckv) in [#​3806](https://redirect.github.com/google/cadvisor/pull/3806) - fix: docker working even without containerd by [@​benji2k2](https://redirect.github.com/benji2k2) in [#​3796](https://redirect.github.com/google/cadvisor/pull/3796) - feat(summary): add standard deviation in derived metrics by [@​sambhav-jain-16](https://redirect.github.com/sambhav-jain-16) in [#​3797](https://redirect.github.com/google/cadvisor/pull/3797) - fix: modified container healthcheck to support custom port via -port/--port flag by [@​dylandacosta8](https://redirect.github.com/dylandacosta8) in [#​3789](https://redirect.github.com/google/cadvisor/pull/3789) - update README by [@​SirSobhan0](https://redirect.github.com/SirSobhan0) in [#​3809](https://redirect.github.com/google/cadvisor/pull/3809) - Update containerd, docker, moby, and opencontainers dependencies by [@​dims](https://redirect.github.com/dims) in [#​3812](https://redirect.github.com/google/cadvisor/pull/3812) - docker: migrate to github.com/moby/moby modules by [@​thaJeztah](https://redirect.github.com/thaJeztah) in [#​3757](https://redirect.github.com/google/cadvisor/pull/3757) #### New Contributors - [@​luckv](https://redirect.github.com/luckv) made their first contribution in [#​3806](https://redirect.github.com/google/cadvisor/pull/3806) - [@​benji2k2](https://redirect.github.com/benji2k2) made their first contribution in [#​3796](https://redirect.github.com/google/cadvisor/pull/3796) - [@​dylandacosta8](https://redirect.github.com/dylandacosta8) made their first contribution in [#​3789](https://redirect.github.com/google/cadvisor/pull/3789) - [@​SirSobhan0](https://redirect.github.com/SirSobhan0) made their first contribution in [#​3809](https://redirect.github.com/google/cadvisor/pull/3809) **Full Changelog**: <https://github.com/google/cadvisor/compare/v0.55.1...v0.56.0> #### What's Changed - Expose s390x CPU Topology to Prometheus by [@​madeelibm](https://redirect.github.com/madeelibm) in [#​3610](https://redirect.github.com/google/cadvisor/pull/3610) - Replace references to docker registry `gcr.io` with `ghcr.io` by [@​luckv](https://redirect.github.com/luckv) in [#​3806](https://redirect.github.com/google/cadvisor/pull/3806) - fix: docker working even without containerd by [@​benji2k2](https://redirect.github.com/benji2k2) in [#​3796](https://redirect.github.com/google/cadvisor/pull/3796) - feat(summary): add standard deviation in derived metrics by [@​sambhav-jain-16](https://redirect.github.com/sambhav-jain-16) in [#​3797](https://redirect.github.com/google/cadvisor/pull/3797) - fix: modified container healthcheck to support custom port via -port/--port flag by [@​dylandacosta8](https://redirect.github.com/dylandacosta8) in [#​3789](https://redirect.github.com/google/cadvisor/pull/3789) - update README by [@​SirSobhan0](https://redirect.github.com/SirSobhan0) in [#​3809](https://redirect.github.com/google/cadvisor/pull/3809) - Update containerd, docker, moby, and opencontainers dependencies by [@​dims](https://redirect.github.com/dims) in [#​3812](https://redirect.github.com/google/cadvisor/pull/3812) - docker: migrate to github.com/moby/moby modules by [@​thaJeztah](https://redirect.github.com/thaJeztah) in [#​3757](https://redirect.github.com/google/cadvisor/pull/3757) #### New Contributors - [@​luckv](https://redirect.github.com/luckv) made their first contribution in [#​3806](https://redirect.github.com/google/cadvisor/pull/3806) - [@​benji2k2](https://redirect.github.com/benji2k2) made their first contribution in [#​3796](https://redirect.github.com/google/cadvisor/pull/3796) - [@​dylandacosta8](https://redirect.github.com/dylandacosta8) made their first contribution in [#​3789](https://redirect.github.com/google/cadvisor/pull/3789) - [@​SirSobhan0](https://redirect.github.com/SirSobhan0) made their first contribution in [#​3809](https://redirect.github.com/google/cadvisor/pull/3809) **Full Changelog**: <https://github.com/google/cadvisor/compare/v0.55.1...v0.56.0> </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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * Update module cloud.google.com/go/storage to v1.59.1 (#45495) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [cloud.google.com/go/storage](https://redirect.github.com/googleapis/google-cloud-go) | `v1.59.0` → `v1.59.1` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * Update module github.com/DataDog/agent-payload/v5 to v5.0.179 (#45521) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/DataDog/agent-payload/v5](https://redirect.github.com/DataDog/agent-payload) | `v5.0.178` → `v5.0.179` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>DataDog/agent-payload (github.com/DataDog/agent-payload/v5)</summary> ### [`v5.0.179`](https://redirect.github.com/DataDog/agent-payload/releases/tag/v5.0.179) [Compare Source](https://redirect.github.com/DataDog/agent-payload/compare/v5.0.178...v5.0.179) ##### What's Changed - \[CODEOWNERS] Update container-app to kubernetes-experiences by [@​mbotarro](https://redirect.github.com/mbotarro) in [#​434](https://redirect.github.com/DataDog/agent-payload/pull/434) - Pin setup-python Github actions in test workflow by [@​Enzu83](https://redirect.github.com/Enzu83) in [#​436](https://redirect.github.com/DataDog/agent-payload/pull/436) - \[agent-health] add proto definition by [@​pducolin](https://redirect.github.com/pducolin) in [#​438](https://redirect.github.com/DataDog/agent-payload/pull/438) ##### New Contributors - [@​Enzu83](https://redirect.github.com/Enzu83) made their first contribution in [#​436](https://redirect.github.com/DataDog/agent-payload/pull/436) - [@​pducolin](https://redirect.github.com/pducolin) made their first contribution in [#​438](https://redirect.github.com/DataDog/agent-payload/pull/438) **Full Changelog**: <https://github.com/DataDog/agent-payload/compare/v5.0.178...v5.0.179> </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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * Update module github.com/klauspost/compress to v1.18.3 (#45496) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/klauspost/compress](https://redirect.github.com/klauspost/compress) | `v1.18.2` → `v1.18.3` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>klauspost/compress (github.com/klauspost/compress)</summary> ### [`v1.18.3`](https://redirect.github.com/klauspost/compress/releases/tag/v1.18.3) [Compare Source](https://redirect.github.com/klauspost/compress/compare/v1.18.2...v1.18.3) Downstream CVE-2025-61728 See [golang/go#77102](https://redirect.github.com/golang/go/issues/77102) **Full Changelog**: <https://github.com/klauspost/compress/compare/v1.18.2...v1.18.3> </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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * Update module github.com/microsoft/go-mssqldb to v1.9.6 (#45497) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/microsoft/go-mssqldb](https://redirect.github.com/microsoft/go-mssqldb) | `v1.9.5` → `v1.9.6` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>microsoft/go-mssqldb (github.com/microsoft/go-mssqldb)</summary> ### [`v1.9.6`](https://redirect.github.com/microsoft/go-mssqldb/compare/v1.9.5...v1.9.6) [Compare Source](https://redirect.github.com/microsoft/go-mssqldb/compare/v1.9.5...v1.9.6) </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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * Update module github.com/SAP/go-hdb to v1.14.18 (#45498) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/SAP/go-hdb](https://redirect.github.com/SAP/go-hdb) | `v1.14.17` → `v1.14.18` |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>SAP/go-hdb (github.com/SAP/go-hdb)</summary> ### [`v1.14.18`](https://redirect.github.com/SAP/go-hdb/releases/tag/v1.14.18) [Compare Source](https://redirect.github.com/SAP/go-hdb/compare/v1.14.17...v1.14.18) v1.14.18 </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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: otelbot <[email protected]> Co-authored-by: Yang Song <[email protected]> * [chore][pkg/stanza/fileconsumer] Use mdatagen for managing feature gates (#45488) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description The `mdatagen` recently added support for generating and documenting feature gates. In this PR, I'm updating all the existing feature gates with the `mdatagen` ones. --------- Signed-off-by: Paulo Dias <[email protected]> * [chore] Remove unused go mod replace statement (#45483) #### Description Removing replace statement added in #42753 since all dependencies have been updated and the replaced module is no longer used. #### Link to tracking issue Fixes #42766 Co-authored-by: Alex Boten <[email protected]> * Update All github.com/googlecloudplatform packages (#45524) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp](https://redirect.github.com/GoogleCloudPlatform/opentelemetry-operations-go) | `v1.30.0` → `v1.31.0` |  | " This reverts commit 75b17b2. --------- Co-authored-by: sreenathv <[email protected]>
* Adding the query and tracking of stored procedures to events * Fixed missing process id * Removing stored procedure type Updating tests * Added changelog entry * Added changelog entry * reverted changelog entry * fix changelog entry * updates to variable naming and usage * updates to variable naming and usage * updates to variable naming and usage * ran make generate * Moved QuerySampleCount and TopQueryCount ot of params and reference config obj directly * Added issue to changelog * Replaced values with vars * Integrating stored procedure values for samples * updates to test data * Backout unintended merge * updating change log * Fix for inaccurate query count being reported in postgresql query metrics collection * change log * this fix is for sqlserver * fill issue details * go generate * fix lint * make gogci * tweak to samples sql * Revert checks around sending metrics for countInDb=1, since it's addressing a negligable edge case. * Updates in prep for testing * fix lint * cleanup * Fix invalid casting and update old test * Updating topN query to use HAVING instead of external WHERE clause * Query Tuning * Adding '''WHERE st.text IS NOT NULL; ''' to topx and samples queries * Backed out changes to samples query * Adding documentation for default samples count * Revert "Add stored procedure columns to events (#1)" This reverts commit 75b17b2. * Reapply "Add stored procedure columns to events (#1)" This reverts commit 135c988. --------- Co-authored-by: sreenathv <[email protected]>
* Adding the query and tracking of stored procedures to events * Fixed missing process id * Removing stored procedure type Updating tests * Added changelog entry * Added changelog entry * reverted changelog entry * fix changelog entry * updates to variable naming and usage * updates to variable naming and usage * updates to variable naming and usage * ran make generate * Moved QuerySampleCount and TopQueryCount ot of params and reference config obj directly * Added issue to changelog * Replaced values with vars * Integrating stored procedure values for samples * updates to test data * Backout unintended merge * updating change log * Fix for inaccurate query count being reported in postgresql query metrics collection * change log * this fix is for sqlserver * fill issue details * go generate * fix lint * make gogci * tweak to samples sql * Revert checks around sending metrics for countInDb=1, since it's addressing a negligable edge case. * Updates in prep for testing * fix lint * cleanup * Fix invalid casting and update old test * Updating topN query to use HAVING instead of external WHERE clause * Query Tuning * Adding '''WHERE st.text IS NOT NULL; ''' to topx and samples queries * Backed out changes to samples query * Adding documentation for default samples count * Revert "Add stored procedure columns to events (#1)" This reverts commit 75b17b2. * Reapply "Add stored procedure columns to events (#1)" This reverts commit 135c988. * removing not null from samples again --------- Co-authored-by: sreenathv <[email protected]>
* Adding the query and tracking of stored procedures to events * Fixed missing process id * Removing stored procedure type Updating tests * Added changelog entry * Added changelog entry * reverted changelog entry * fix changelog entry * updates to variable naming and usage * updates to variable naming and usage * updates to variable naming and usage * ran make generate * Moved QuerySampleCount and TopQueryCount ot of params and reference config obj directly * Added issue to changelog * Replaced values with vars * Integrating stored procedure values for samples * updates to test data * Backout unintended merge * updating change log * Fix for inaccurate query count being reported in postgresql query metrics collection * change log * this fix is for sqlserver * fill issue details * go generate * fix lint * make gogci * tweak to samples sql * Revert checks around sending metrics for countInDb=1, since it's addressing a negligable edge case. * Updates in prep for testing * fix lint * cleanup * Fix invalid casting and update old test * Updating topN query to use HAVING instead of external WHERE clause * Query Tuning * Adding '''WHERE st.text IS NOT NULL; ''' to topx and samples queries * Backed out changes to samples query * Adding documentation for default samples count * Revert "Add stored procedure columns to events (#1)" This reverts commit 75b17b2. * Reapply "Add stored procedure columns to events (#1)" This reverts commit 135c988. * removing not null from samples again * [chore][processor/resourcedetection] Add E2E tests for upcloud detector (open-telemetry#45584) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Add E2E tests for Upcloud detector <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Relates to open-telemetry#24671 --------- Signed-off-by: Paulo Dias <[email protected]> * [chore][processor/resourcedetection] Add E2E tests for vultr detector (open-telemetry#45583) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Add E2E tests for Vultr detector <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Relates to open-telemetry#24671 Signed-off-by: Paulo Dias <[email protected]> * [chore][processor/resourcedetection] Add E2E tests for ec2 detector (open-telemetry#45438) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Add E2E tests for EC2 detector <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Relates to open-telemetry#24671 Signed-off-by: Paulo Dias <[email protected]> * [chore][processor/resourcedetection] Add E2E tests for scaleway detector (open-telemetry#45590) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Add E2E tests for scaleway detector <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Relates to open-telemetry#24671 --------- Signed-off-by: Paulo Dias <[email protected]> * [chore][processor/resourcedetection] Add E2E tests for azure detector (open-telemetry#45569) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Add E2E tests for Azure detector <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Relates to open-telemetry#24671 --------- Signed-off-by: Paulo Dias <[email protected]> * Update Move functions in routing connector to not use pointer. (open-telemetry#45563) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.--> * [receiver/filelog] Suppress repeated permission denied errors (open-telemetry#44350) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Added logic to suppress repeated error logs due to file permission errors within the `filelog` receiver. - Updated `makeFingerprint` to check for permission errors via [os.isPermission](https://pkg.go.dev/os#IsPermission) - Log an error only on the first occurrence for a given file path and add it to an in-memory map, guarded by a mutex to avoid race conditions for concurrent read/writes. - Debug log only for subsequent read attempt (to avoid spam) - When the file becomes readable, info log a message and remove the path from the stored set <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#39491 <!--Describe what testing was performed and which tests were added.--> #### Testing New unit test verifying: - First unreadable-open produces exactly one Error-level log. - Second attempt does not produce another Error-level log. - When permissions are restored, an Info-level `Previously unreadable...` message appears. NOTE: Test skips Windows due to unreliable os.Chmod behavior <!--Describe the documentation added.--> #### Documentation Added changelog yaml entry summarizing the issue and fix. <!--Please delete paragraphs that you did not use before submitting.--> * [pkg/stanza/trim] Improve performance of Trailing and Leading (open-telemetry#45281) #### Description Improves the performance of `Trailing` and `Leading` functions. You can see it in the benchmarks results here: ``` goos: linux goarch: amd64 pkg: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/trim cpu: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz │ Previous code │ This PR │ │ sec/op │ sec/op vs base │ TrimFuncs/leading/small_clean-16 20.345n ± 23% 2.924n ± 18% -85.63% (p=0.000 n=10) TrimFuncs/leading/small_dirty-16 24.65n ± 30% 12.77n ± 10% -48.22% (p=0.000 n=10) TrimFuncs/leading/all_space-16 25.91n ± 13% 13.38n ± 8% -48.35% (p=0.000 n=10) TrimFuncs/leading/large_dirty-16 21.440n ± 15% 8.457n ± 7% -60.56% (p=0.000 n=10) TrimFuncs/trailing/small_clean-16 16.400n ± 8% 2.737n ± 3% -83.31% (p=0.000 n=10) TrimFuncs/trailing/small_dirty-16 18.88n ± 14% 10.37n ± 8% -45.10% (p=0.000 n=10) TrimFuncs/trailing/all_space-16 22.61n ± 5% 12.10n ± 7% -46.50% (p=0.000 n=10) TrimFuncs/trailing/large_dirty-16 19.085n ± 10% 7.271n ± 22% -61.90% (p=0.000 n=10) TrimFuncs/whitespace/small_clean-16 29.895n ± 4% 3.788n ± 3% -87.33% (p=0.000 n=10) TrimFuncs/whitespace/small_dirty-16 41.10n ± 11% 17.20n ± 3% -58.16% (p=0.000 n=10) TrimFuncs/whitespace/all_space-16 24.47n ± 7% 13.22n ± 17% -45.97% (p=0.000 n=10) TrimFuncs/whitespace/large_dirty-16 36.59n ± 15% 12.82n ± 15% -64.95% (p=0.000 n=10) TrimFuncs/nop/small_clean-16 2.071n ± 8% 1.937n ± 7% ~ (p=0.052 n=10) TrimFuncs/nop/small_dirty-16 2.048n ± 7% 1.939n ± 4% ~ (p=0.063 n=10) TrimFuncs/nop/all_space-16 2.346n ± 10% 2.022n ± 4% -13.83% (p=0.000 n=10) TrimFuncs/nop/large_dirty-16 2.355n ± 9% 2.175n ± 12% -7.62% (p=0.023 n=10) WithFunc/baseline_scanlines-16 215.8n ± 11% 219.5n ± 3% ~ (p=0.755 n=10) WithFunc/with_whitespace-16 237.3n ± 12% 237.9n ± 13% ~ (p=0.912 n=10) ToLength/under_limit-16 241.7n ± 12% 267.3n ± 17% +10.57% (p=0.002 n=10) ToLength/over_limit-16 266.9n ± 12% 247.1n ± 20% ~ (p=0.393 n=10) geomean 23.72n 12.33n -48.00% │ Previous code │ This PR │ │ B/op │ B/op vs base │ TrimFuncs/leading/small_clean-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/leading/small_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/leading/all_space-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/leading/large_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/trailing/small_clean-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/trailing/small_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/trailing/all_space-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/trailing/large_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/whitespace/small_clean-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/whitespace/small_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/whitespace/all_space-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/whitespace/large_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/nop/small_clean-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/nop/small_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/nop/all_space-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/nop/large_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ WithFunc/baseline_scanlines-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ WithFunc/with_whitespace-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ ToLength/under_limit-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ ToLength/over_limit-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ geomean ² +0.00% ² ¹ all samples are equal ² summaries must be >0 to compute geomean │ Previous code │ This PR │ │ allocs/op │ allocs/op vs base │ TrimFuncs/leading/small_clean-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/leading/small_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/leading/all_space-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/leading/large_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/trailing/small_clean-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/trailing/small_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/trailing/all_space-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/trailing/large_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/whitespace/small_clean-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/whitespace/small_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/whitespace/all_space-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/whitespace/large_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/nop/small_clean-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/nop/small_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/nop/all_space-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ TrimFuncs/nop/large_dirty-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ WithFunc/baseline_scanlines-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ WithFunc/with_whitespace-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ ToLength/under_limit-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ ToLength/over_limit-16 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ geomean ² +0.00% ² ¹ all samples are equal ² summaries must be >0 to compute geomean ``` * [ci] Ensure github token is available for github cli (open-telemetry#45602) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description I enabled the usage of the `gh` CLI in open-telemetry#45477, but I forgot to ensure the variable `GH_TOKEN` is configured with the proper value. This will fix that issue, but the workflow should be triggered manually after this merge. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#45600 Signed-off-by: Paulo Dias <[email protected]> * Updating documentation --------- Signed-off-by: Paulo Dias <[email protected]> Co-authored-by: sreenathv <[email protected]> Co-authored-by: Paulo Dias <[email protected]> Co-authored-by: Vengal rao <[email protected]> Co-authored-by: Keagan Peet <[email protected]> Co-authored-by: Constança Manteigas <[email protected]>
|
Welcome, contributor! Thank you for your contribution to opentelemetry-collector-contrib. Important reminders:
A maintainer will review your pull request soon. Thank you for helping make OpenTelemetry better! |
* Adding the query and tracking of stored procedures to events * Fixed missing process id * Removing stored procedure type Updating tests * Added changelog entry * Added changelog entry * reverted changelog entry * fix changelog entry * updates to variable naming and usage * updates to variable naming and usage * updates to variable naming and usage * ran make generate * Moved QuerySampleCount and TopQueryCount ot of params and reference config obj directly * Added issue to changelog * Replaced values with vars * Integrating stored procedure values for samples * updates to test data * Backout unintended merge * updating change log * Fix for inaccurate query count being reported in postgresql query metrics collection * change log * this fix is for sqlserver * fill issue details * go generate * fix lint * make gogci * tweak to samples sql * Revert checks around sending metrics for countInDb=1, since it's addressing a negligable edge case. * Updates in prep for testing * fix lint * cleanup * Fix invalid casting and update old test * Updating topN query to use HAVING instead of external WHERE clause * Query Tuning * Adding '''WHERE st.text IS NOT NULL; ''' to topx and samples queries * Backed out changes to samples query * Adding documentation for default samples count * Revert "Add stored procedure columns to events (#1)" This reverts commit 75b17b2. * Reapply "Add stored procedure columns to events (#1)" This reverts commit 135c988. * removing not null from samples again * Updating documentation * Updates made per PR feedback. --------- Co-authored-by: sreenathv <[email protected]>
* Adding the query and tracking of stored procedures to events * Fixed missing process id * Removing stored procedure type Updating tests * Added changelog entry * Added changelog entry * reverted changelog entry * fix changelog entry * updates to variable naming and usage * updates to variable naming and usage * updates to variable naming and usage * ran make generate * Moved QuerySampleCount and TopQueryCount ot of params and reference config obj directly * Added issue to changelog * Replaced values with vars * Integrating stored procedure values for samples * updates to test data * Backout unintended merge * updating change log * Fix for inaccurate query count being reported in postgresql query metrics collection * change log * this fix is for sqlserver * fill issue details * go generate * fix lint * make gogci * tweak to samples sql * Revert checks around sending metrics for countInDb=1, since it's addressing a negligable edge case. * Updates in prep for testing * fix lint * cleanup * Fix invalid casting and update old test * Updating topN query to use HAVING instead of external WHERE clause * Query Tuning * Adding '''WHERE st.text IS NOT NULL; ''' to topx and samples queries * Backed out changes to samples query * Adding documentation for default samples count * Revert "Add stored procedure columns to events (#1)" This reverts commit 75b17b2. * Reapply "Add stored procedure columns to events (#1)" This reverts commit 135c988. * removing not null from samples again * Updating documentation * Updates made per PR feedback. * Removing unused comment --------- Co-authored-by: sreenathv <[email protected]>
Co-authored-by: Curtis Robert <[email protected]>
|
@crobert-1 @XSAM , are there any more concerns? If not, are we ready to merge? |
I'm just waiting on CI being green at this point, I'll keep an eye on it and approve once it's green 👍 |
Description
Adds stored procedure id and name, if present, to reported TopX and Samples events. Attributes are specific to the stored procedure for more detailed reporting. Additionally, the maximum number of active queries reported by default has been increased from 200 to 250 to account for record de-aggregation introduced by this change, ensuring the effective limit remains consistent with the previous 200-query baseline.
Link to tracking issue
Fixes
#45576
Testing
As it is only two new columns, testing merely adds those columns and validates the used queries
Documentation
Added to metadata and README.md