forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 6
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
[pull] main from open-telemetry:main #40
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**Description:** As discussed [here](#32433 (comment)) we should agree on some guidelines when it comes to creating proposals for new functions and converters cc @TylerHelmuth **Link to tracking Issue:** - **Testing:** - **Documentation:** - --------- Co-authored-by: Evan Bradley <[email protected]> Co-authored-by: Tyler Helmuth <[email protected]> Co-authored-by: Daniel Jaglowski <[email protected]>
…33406) **Description:** This PR adds support for reading gzip compressed log files for the file log receiver. This is done by, if enabled via the `gzip_file_suffix` parameter, creating a `gzip.Reader` on top of the file handle of a compressed file. **Link to tracking Issue:** #2328 **Testing:** Added unit tests for the new functionality. Manually tested using the following configuration for the filelog receiver: ``` filelog: include: [ ./simple.log*.gz ] start_at: beginning gzip_file_suffix: ".gz" operators: - type: regex_parser regex: '^(?P<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}) (?P<sev>[A-Z]*) (?P<msg>.*)$' timestamp: parse_from: attributes.time layout: '%Y-%m-%d %H:%M:%S' severity: parse_from: attributes.sev ``` **Documentation:** Added documentation in the readme of the file log receiver --------- Signed-off-by: Florian Bacher <[email protected]> Co-authored-by: Dan Jaglowski <[email protected]>
This migrates internal metrics from opencensus to mdatagen + otel Fixes #33467 Signed-off-by: Alex Boten <[email protected]>
…33549) When following the contributing docs for a new component, it was not apparent that there are 2 separate builder configs that need to be updated in order to release a component. While this is documented in the *next* section (and as a comment under this repo's builder config), I hope that adding this note to the main section on new components will help others avoid the same mistake. Co-authored-by: Alex Boten <[email protected]>
Update k8sattributesprocessor to migrate from opencensus to otel with mdatagen. Closes #33466 --------- Signed-off-by: Alex Boten <[email protected]>
**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.--> This PR adds the `k8s.pod.cpu.node.utilization` metric. Follow up from #32295 (comment) (cc @TylerHelmuth) . **Link to tracking Issue:** <Issue number if applicable> Related to #27885. **Testing:** <Describe what testing was performed and which tests were added.> Adjusted the respective unit test to cover this metric as well. **Documentation:** <Describe the documentation added.> Added Tested with a single container Pod: ![podCpu](https://github.com/open-telemetry/opentelemetry-collector-contrib/assets/11754898/9a0069c2-7077-4944-93b6-2dde00979bf3) --------- Signed-off-by: ChrsMark <[email protected]> Co-authored-by: Tiffany Hrabusa <[email protected]> Co-authored-by: Tyler Helmuth <[email protected]>
**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.--> The upstream issue was fixed by golangci/golangci-lint#4748, which was included in release [`v1.59.0`](https://github.com/golangci/golangci-lint/releases/tag/v1.59.0) of `golangci-lint`. From local testing, we're pulling version `v1.59.1` of `golangci-lint`, so the issue should be resolved. Local runtime with excludes: ``` $ .tools/golangci-lint run -v --enable-only gosec ... INFO Execution took 10.927544867s INFO Execution took 8.011302204s INFO Execution took 7.716441258s INFO Execution took 7.441336833s ``` Local runtime without excludes: ``` $ .tools/golangci-lint run -v --enable-only gosec ... INFO Execution took 9.780250262s INFO Execution took 8.175492516s INFO Execution took 7.550060974s INFO Execution took 7.526585686s ``` Note: I ran `.tools/golangci-lint cache clean` between each test to clean the cache and keep results as consistent as possible. I admit that I don't know why the values keep going down with every run, the cache cleaning command may not entirely be working. **Link to tracking Issue:** <Issue number if applicable> These excludes were introduced in #33192 I've opened a PR in core for this issue as well: open-telemetry/opentelemetry-collector#10411
**Description:** Fixes #32814 It places the removal of replaced resource attributes (`net.host.name`, `net.host.port`, and `http.scheme`) behind a feature gate, `receiver.prometheusreceiver.RemoveLegacyResourceAttributes`, which is initially disabled by default. This means the current default behavior is to write BOTH new and old semconv. When the feature gate moves to beta, the default will be only new semconv, but with the ability for users to revert to having both. When the feature gate moves to GA, it will mean users only get the new semconv. --------- Co-authored-by: Tyler Helmuth <[email protected]> Co-authored-by: Bertrand Martin <[email protected]>
**Description:** Noticed a bug in the new debug logs where nil IDs (All 0s) were not being printed correctly. The feature hasn't been released yet, so as long as this gets merged before the next release we dont need a changelog **Testing:** <Describe what testing was performed and which tests were added.> Tested locally
httputil.DumpResponse does more than just discarding the HTTP response body, it copies to a buffer. This change makes sure we discard the body buffer and don't do any allocation for it. ``` goos: darwin goarch: arm64 pkg: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter │ before.txt │ after.txt │ │ sec/op │ sec/op vs base │ _pushLogData_10_10_1024-10 110.1µ ± ∞ ¹ 108.7µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_8K-10 125.74µ ± ∞ ¹ 93.61µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_2M-10 97.92µ ± ∞ ¹ 92.51µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_200_2M-10 1.938m ± ∞ ¹ 1.878m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_100_200_2M-10 17.94m ± ∞ ¹ 17.78m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_100_200_5M-10 17.73m ± ∞ ¹ 17.79m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_1024-10 731.4µ ± ∞ ¹ 753.4µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_8K-10 172.2µ ± ∞ ¹ 169.0µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_2M-10 169.9µ ± ∞ ¹ 168.8µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_200_2M-10 3.819m ± ∞ ¹ 3.700m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_2M-10 40.16m ± ∞ ¹ 36.23m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_5M-10 37.29m ± ∞ ¹ 36.27m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024-10 147.9µ ± ∞ ¹ 146.3µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K-10 146.8µ ± ∞ ¹ 148.6µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M-10 267.8µ ± ∞ ¹ 284.4µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M-10 3.035m ± ∞ ¹ 3.062m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_2M-10 28.44m ± ∞ ¹ 28.70m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_5M-10 28.70m ± ∞ ¹ 29.85m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_1024-10 308.2µ ± ∞ ¹ 310.7µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K-10 309.4µ ± ∞ ¹ 309.7µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M-10 442.1µ ± ∞ ¹ 449.8µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M-10 6.791m ± ∞ ¹ 6.737m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_2M-10 66.05m ± ∞ ¹ 65.67m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_5M-10 66.31m ± ∞ ¹ 65.77m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024_MultiMetric-10 363.8µ ± ∞ ¹ 359.8µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K_MultiMetric-10 361.1µ ± ∞ ¹ 360.1µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M_MultiMetric-10 359.4µ ± ∞ ¹ 374.4µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M_MultiMetric-10 7.192m ± ∞ ¹ 7.176m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_2M_MultiMetric-10 69.59m ± ∞ ¹ 69.52m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_5M_MultiMetric-10 69.56m ± ∞ ¹ 69.21m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_1024_MultiMetric-10 508.3µ ± ∞ ¹ 517.2µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K_MultiMetric-10 509.6µ ± ∞ ¹ 514.4µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M_MultiMetric-10 510.9µ ± ∞ ¹ 511.6µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M_MultiMetric-10 10.55m ± ∞ ¹ 10.51m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_2M_MultiMetric-10 104.5m ± ∞ ¹ 105.2m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_5M_MultiMetric-10 103.7m ± ∞ ¹ 103.5m ± ∞ ¹ ~ (p=1.000 n=1) ² ConsumeLogsRejected-10 918.1µ ± ∞ ¹ 934.6µ ± ∞ ¹ ~ (p=1.000 n=1) ² geomean 2.335m 2.311m -1.00% ¹ need >= 6 samples for confidence interval at level 0.95 ² need >= 4 samples to detect a difference at alpha level 0.05 │ before.txt │ after.txt │ │ B/op │ B/op vs base │ _pushLogData_10_10_1024-10 83.09Ki ± ∞ ¹ 83.10Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_8K-10 72.49Ki ± ∞ ¹ 72.52Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_2M-10 71.87Ki ± ∞ ¹ 71.86Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_200_2M-10 1.394Mi ± ∞ ¹ 1.397Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_100_200_2M-10 13.98Mi ± ∞ ¹ 13.98Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_100_200_5M-10 14.07Mi ± ∞ ¹ 14.07Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_1024-10 2.969Mi ± ∞ ¹ 2.962Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_8K-10 73.29Ki ± ∞ ¹ 73.67Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_2M-10 73.28Ki ± ∞ ¹ 73.15Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_200_2M-10 1.395Mi ± ∞ ¹ 1.392Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_2M-10 13.92Mi ± ∞ ¹ 13.92Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_5M-10 13.92Mi ± ∞ ¹ 13.92Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024-10 85.35Ki ± ∞ ¹ 85.45Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K-10 92.34Ki ± ∞ ¹ 92.40Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M-10 2.083Mi ± ∞ ¹ 2.083Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M-10 3.637Mi ± ∞ ¹ 3.637Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_2M-10 20.44Mi ± ∞ ¹ 20.44Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_5M-10 26.44Mi ± ∞ ¹ 26.44Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_1024-10 86.01Ki ± ∞ ¹ 85.60Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K-10 93.01Ki ± ∞ ¹ 93.49Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M-10 2.083Mi ± ∞ ¹ 2.083Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M-10 3.644Mi ± ∞ ¹ 3.640Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_2M-10 18.41Mi ± ∞ ¹ 18.41Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_5M-10 21.41Mi ± ∞ ¹ 21.41Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024_MultiMetric-10 243.8Ki ± ∞ ¹ 243.9Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K_MultiMetric-10 243.8Ki ± ∞ ¹ 243.8Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M_MultiMetric-10 243.8Ki ± ∞ ¹ 243.8Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M_MultiMetric-10 4.759Mi ± ∞ ¹ 4.759Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_2M_MultiMetric-10 47.57Mi ± ∞ ¹ 47.57Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_5M_MultiMetric-10 47.57Mi ± ∞ ¹ 47.57Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_1024_MultiMetric-10 244.1Ki ± ∞ ¹ 244.5Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K_MultiMetric-10 243.8Ki ± ∞ ¹ 243.8Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M_MultiMetric-10 244.1Ki ± ∞ ¹ 243.8Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M_MultiMetric-10 4.769Mi ± ∞ ¹ 4.761Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_2M_MultiMetric-10 47.43Mi ± ∞ ¹ 47.43Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_5M_MultiMetric-10 47.43Mi ± ∞ ¹ 47.43Mi ± ∞ ¹ ~ (p=1.000 n=1) ² ConsumeLogsRejected-10 713.9Ki ± ∞ ¹ 713.6Ki ± ∞ ¹ ~ (p=1.000 n=1) ² geomean 1.515Mi 1.515Mi +0.00% ¹ need >= 6 samples for confidence interval at level 0.95 ² need >= 4 samples to detect a difference at alpha level 0.05 │ before.txt │ after.txt │ │ allocs/op │ allocs/op vs base │ _pushLogData_10_10_1024-10 1.286k ± ∞ ¹ 1.286k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_8K-10 1.121k ± ∞ ¹ 1.121k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_2M-10 1.110k ± ∞ ¹ 1.110k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_200_2M-10 22.01k ± ∞ ¹ 22.01k ± ∞ ¹ ~ (p=1.000 n=1) ³ _pushLogData_100_200_2M-10 220.0k ± ∞ ¹ 220.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_100_200_5M-10 220.0k ± ∞ ¹ 220.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_1024-10 1.194k ± ∞ ¹ 1.194k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_8K-10 1.110k ± ∞ ¹ 1.110k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_2M-10 1.110k ± ∞ ¹ 1.110k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_200_2M-10 22.01k ± ∞ ¹ 22.01k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_2M-10 220.0k ± ∞ ¹ 220.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_5M-10 220.0k ± ∞ ¹ 220.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024-10 1.811k ± ∞ ¹ 1.811k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K-10 1.811k ± ∞ ¹ 1.811k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M-10 1.812k ± ∞ ¹ 1.812k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M-10 36.01k ± ∞ ¹ 36.01k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_2M-10 360.0k ± ∞ ¹ 360.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_5M-10 360.0k ± ∞ ¹ 360.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_1024-10 1.811k ± ∞ ¹ 1.811k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K-10 1.811k ± ∞ ¹ 1.811k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M-10 1.812k ± ∞ ¹ 1.812k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M-10 36.01k ± ∞ ¹ 36.01k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_2M-10 360.0k ± ∞ ¹ 360.0k ± ∞ ¹ ~ (p=1.000 n=1) ³ _pushMetricData_compressed_100_200_5M-10 360.0k ± ∞ ¹ 360.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024_MultiMetric-10 3.935k ± ∞ ¹ 3.935k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K_MultiMetric-10 3.935k ± ∞ ¹ 3.935k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M_MultiMetric-10 3.935k ± ∞ ¹ 3.935k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M_MultiMetric-10 78.08k ± ∞ ¹ 78.07k ± ∞ ¹ ~ (p=1.000 n=1) ³ _pushMetricData_100_200_2M_MultiMetric-10 780.4k ± ∞ ¹ 780.4k ± ∞ ¹ ~ (p=1.000 n=1) ³ _pushMetricData_100_200_5M_MultiMetric-10 780.4k ± ∞ ¹ 780.4k ± ∞ ¹ ~ (p=1.000 n=1) ³ _pushMetricData_compressed_10_10_1024_MultiMetric-10 3.935k ± ∞ ¹ 3.935k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K_MultiMetric-10 3.935k ± ∞ ¹ 3.935k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M_MultiMetric-10 3.935k ± ∞ ¹ 3.935k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M_MultiMetric-10 78.07k ± ∞ ¹ 78.07k ± ∞ ¹ ~ (p=1.000 n=1) ³ _pushMetricData_compressed_100_200_2M_MultiMetric-10 780.4k ± ∞ ¹ 780.4k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_5M_MultiMetric-10 780.4k ± ∞ ¹ 780.4k ± ∞ ¹ ~ (p=1.000 n=1) ³ ConsumeLogsRejected-10 11.01k ± ∞ ¹ 11.01k ± ∞ ¹ ~ (p=1.000 n=1) ³ geomean 18.96k 18.96k -0.00% ¹ need >= 6 samples for confidence interval at level 0.95 ² all samples are equal ³ need >= 4 samples to detect a difference at alpha level 0.05 ```
**Description:** This ottl converter converts uri string into SemConv attributes. Instead of using regex it uses `uri.Parse` providing nicer shorthand. **Link to tracking Issue:** #32433 **Testing:** unit test added **Documentation:** readme updated with: ### Uri `Uri(uri_string)` Parses a Uniform Resource Identifier (URI) string and extracts its components as an object. This URI object includes properties for the URI’s domain, path, fragment, port, query, scheme, user info, username, and password. `original`, `domain`, `scheme` and `path` are always present, other are present only if they have corresponding values. `uri_string` is a `string`. - `Uri("http://www.example.com")` results in ``` "original": "http://www.example.com", "scheme": "http", "domain": "www.example.com", "path": "", ``` - `Uri("http://myusername:mypassword@www.example.com:80/foo.gif?key1=val1&key2=val2#fragment")` results in ``` "path": "/foo.gif", "fragment": "fragment", "extension": "gif", "password": "mypassword", "original": "http://myusername:mypassword@www.example.com:80/foo.gif?key1=val1&key2=val2#fragment", "scheme": "http", "port": 80, "user_info": "myusername:mypassword", "domain": "www.example.com", "query": "key1=val1&key2=val2", "username": "myusername", ``` --------- Co-authored-by: Tiffany Hrabusa <[email protected]> Co-authored-by: Evan Bradley <[email protected]>
**Description:** Adds simple LRU decision cache for sampled trace IDs. The design makes it easy to add another cache for non-sampled IDs. It does not save any other information other than the trace ID that is sampled. It only holds the right half of the trace ID (as a uint64) in the cache. By default the cache remains no-op. Only when the user configures the cache size will the cache become active. **Link to tracking Issue:** #31583 **Testing:** * unit tests on new code * test in `processor_decision_test.go` to test that a trace that was sampled, cached, but the span data was dropped persists a "keep" decision. **Documentation:** Added description to README
**Description:** Adding an option to include line numbers as a record attribute to the filelogreceiver. <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> **Testing:** Add unit tests **Documentation:** Add documentation on filelogreceiver for the new file line number option --------- Co-authored-by: Daniel Jaglowski <[email protected]>
This is the result of running `make update-otel`. --------- Signed-off-by: Dan Jaglowski <[email protected]>
…33554) **Description:** Benchmark didn't log errors before and issues would not surface if something was failing during bench. Since benchmarks don't assert the situation is made worse.
…h no job/instance label (#33565) **Description:** This PR fixes the retrieval of metrics where either the `job` or `instance` label is missing, and `honor_labels` is set to `true`. This can be the case for aggregated metrics coming from a federate endpoint. This PR introduces a fallback to using the `job`/`instance` labels from the scrape config for such metrics. **Link to tracking Issue:** Fixes #32555 **Testing:** - Added a Unit test - Verified using the following config: ``` receivers: prometheus: config: scrape_configs: - job_name: 'federate' scrape_interval: 10s honor_labels: true params: 'match[]': - '{__name__="cluster:node_cpu:sum_rate5m"}' metrics_path: '/federate' static_configs: - targets: - "localhost:9090" exporters: debug: verbosity: detailed otlphttp: endpoint: ${env:OTLP_ENDPOINT} pipelines: metrics: receivers: [otlp,prometheus] exporters: [otlphttp, debug] ``` This was tested on a `kind` K8s cluster running the prometheus operator, with a port forward for the `prometheus-k8s` service created by the prometheus operator (therefore the `localhost:9090` address in the target). --------- Signed-off-by: Florian Bacher <[email protected]> Co-authored-by: David Ashpole <[email protected]>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [docker/build-push-action](https://togithub.com/docker/build-push-action) | action | major | `v5` -> `v6` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>docker/build-push-action (docker/build-push-action)</summary> ### [`v6`](https://togithub.com/docker/build-push-action/compare/v5...v6) [Compare Source](https://togithub.com/docker/build-push-action/compare/v5...v6) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [codecov/codecov-action](https://togithub.com/codecov/codecov-action) | action | minor | `4.4.1` -> `4.5.0` | # Warnings (1) Please correct - or verify that you can safely ignore - these warnings before you merge this PR. - `codecov/codecov-action`: Could not determine new digest for update (github-tags package codecov/codecov-action) --- --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>codecov/codecov-action (codecov/codecov-action)</summary> ### [`v4.5.0`](https://togithub.com/codecov/codecov-action/compare/v4.4.1...v4.5.0) [Compare Source](https://togithub.com/codecov/codecov-action/compare/v4.4.1...v4.5.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Dan Jaglowski <[email protected]>
The following commands were run to prepare this release: - make chlog-update VERSION=v0.103.0 - sed -i.bak s/0.102.0/0.103.0/g versions.yaml - make multimod-prerelease - make multimod-sync
When adding new components, new files are introduced. These files need to include the license header, which is done by running the `make addlicense` commnand. This should be documented for users to know what they need to do when introducing new components and files. Also, [here's an example](#33458 (comment)) where it wasn't obvious that this command was necessary.
#33598) Having recently been working with the `kubeletstats` receiver (using it and contributing to it), I would like to volunteer to help with its maintainance by intending to dedicate time to contribute to the component as well as help with the existing and future issue queue. Also being a member of the [semconv-k8s-approvers](https://github.com/orgs/open-telemetry/teams/semconv-k8s-approvers) and [semconv-container-approvers](https://github.com/orgs/open-telemetry/teams/semconv-container-approvers) will help to bring more alignment between the [Semantic Conventions](open-telemetry/semantic-conventions#1032) and the Collector's implementation within this specific scope. - ✅ Being a member of Opentelemetry organization - PRs authored: https://github.com/open-telemetry/opentelemetry-collector-contrib/pulls?q=is%3Apr+author%3AChrsMark++label%3Areceiver%2Fkubeletstats%2Cinternal%2Fkubeletstats%2Cinternal%2Fkubelet - Issues have been involved: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aissue+commenter%3AChrsMark+label%3Areceiver%2Fkubeletstats%2Cinternal%2Fkubeletstats+ /cc @dmitryax @TylerHelmuth with whom I have already discussed about it Signed-off-by: ChrsMark <[email protected]>
…eam EOF (#33570) **Description:** Fixes a bug in the OTel Arrow receiver. When a stream reaches its end-of-life, the exporter closes the send channel and the receiver's `Recv()` loop receives an EOF error. This was inadvertently canceling a context too soon, such that requests in-flight during EOF would be canceled before finishing. **Link to tracking Issue:** #26491 **Testing:** Several tests cover this scenario, and they had to change for this fix. There is now an extra assertion in the healthy test channel to ensure that consumers never receive data on a canceled context (in testing).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google.golang.org/api](https://togithub.com/googleapis/google-api-go-client) | `v0.183.0` -> `v0.184.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fapi/v0.184.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fapi/v0.184.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fapi/v0.183.0/v0.184.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fapi/v0.183.0/v0.184.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>googleapis/google-api-go-client (google.golang.org/api)</summary> ### [`v0.184.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.184.0) [Compare Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.183.0...v0.184.0) ##### Features - **all:** Auto-regenerate discovery clients ([#​2624](https://togithub.com/googleapis/google-api-go-client/issues/2624)) ([7fccba6](https://togithub.com/googleapis/google-api-go-client/commit/7fccba6a6fce5ebedabf5d85601779318fe5c26e)) - Regen cloudcommerceprocurement v1 from updated discovery file ([#​2627](https://togithub.com/googleapis/google-api-go-client/issues/2627)) ([7e30ed2](https://togithub.com/googleapis/google-api-go-client/commit/7e30ed210c23e9eaa9d45e5dc972ecf4e00b80c6)) - Support structpb.Struct as req/resp ([#​2632](https://togithub.com/googleapis/google-api-go-client/issues/2632)) ([ebc44d1](https://togithub.com/googleapis/google-api-go-client/commit/ebc44d15955116f5647020142005c34e6a8d1d47)), refs [#​2601](https://togithub.com/googleapis/google-api-go-client/issues/2601) ##### Bug Fixes - **cba:** Update credsNewAuth to support oauth2 over mTLS ([#​2610](https://togithub.com/googleapis/google-api-go-client/issues/2610)) ([953f728](https://togithub.com/googleapis/google-api-go-client/commit/953f7289417d9dc6e6b5405678434073e078c90a)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]> Co-authored-by: Yang Song <[email protected]>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/spf13/cobra](https://togithub.com/spf13/cobra) | `v1.8.0` -> `v1.8.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fcobra/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fspf13%2fcobra/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fspf13%2fcobra/v1.8.0/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspf13%2fcobra/v1.8.0/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>spf13/cobra (github.com/spf13/cobra)</summary> ### [`v1.8.1`](https://togithub.com/spf13/cobra/releases/tag/v1.8.1) [Compare Source](https://togithub.com/spf13/cobra/compare/v1.8.0...v1.8.1) #### ✨ Features - Add env variable to suppress completion descriptions on create by [@​scop](https://togithub.com/scop) in [https://github.com/spf13/cobra/pull/1938](https://togithub.com/spf13/cobra/pull/1938) #### 🐛 Bug fixes - Micro-optimizations by [@​scop](https://togithub.com/scop) in [https://github.com/spf13/cobra/pull/1957](https://togithub.com/spf13/cobra/pull/1957) #### 🔧 Maintenance - build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/cobra/pull/2127](https://togithub.com/spf13/cobra/pull/2127) - Consistent annotation names by [@​nirs](https://togithub.com/nirs) in [https://github.com/spf13/cobra/pull/2140](https://togithub.com/spf13/cobra/pull/2140) - Remove fully inactivated linters by [@​nirs](https://togithub.com/nirs) in [https://github.com/spf13/cobra/pull/2148](https://togithub.com/spf13/cobra/pull/2148) - Address golangci-lint deprecation warnings, enable some more linters by [@​scop](https://togithub.com/scop) in [https://github.com/spf13/cobra/pull/2152](https://togithub.com/spf13/cobra/pull/2152) #### 🧪 Testing & CI/CD - Add test for func in cobra.go by [@​korovindenis](https://togithub.com/korovindenis) in [https://github.com/spf13/cobra/pull/2094](https://togithub.com/spf13/cobra/pull/2094) - ci: test golang 1.22 by [@​cyrilico](https://togithub.com/cyrilico) in [https://github.com/spf13/cobra/pull/2113](https://togithub.com/spf13/cobra/pull/2113) - Optimized and added more linting by [@​scop](https://togithub.com/scop) in [https://github.com/spf13/cobra/pull/2099](https://togithub.com/spf13/cobra/pull/2099) - build(deps): bump actions/setup-go from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/cobra/pull/2087](https://togithub.com/spf13/cobra/pull/2087) - build(deps): bump actions/labeler from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/cobra/pull/2086](https://togithub.com/spf13/cobra/pull/2086) - build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/cobra/pull/2108](https://togithub.com/spf13/cobra/pull/2108) - build(deps): bump actions/cache from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/cobra/pull/2102](https://togithub.com/spf13/cobra/pull/2102) #### ✏️ Documentation - Fixes and docs for usage as plugin by [@​nirs](https://togithub.com/nirs) in [https://github.com/spf13/cobra/pull/2070](https://togithub.com/spf13/cobra/pull/2070) - flags: clarify documentation that LocalFlags related function do not modify the state by [@​niamster](https://togithub.com/niamster) in [https://github.com/spf13/cobra/pull/2064](https://togithub.com/spf13/cobra/pull/2064) - chore: remove repetitive words by [@​racerole](https://togithub.com/racerole) in [https://github.com/spf13/cobra/pull/2122](https://togithub.com/spf13/cobra/pull/2122) - Add LXC to the list of projects using Cobra [@​VaradBelwalkar](https://togithub.com/VaradBelwalkar) in [https://github.com/spf13/cobra/pull/2071](https://togithub.com/spf13/cobra/pull/2071) - Update projects_using_cobra.md by [@​marcuskohlberg](https://togithub.com/marcuskohlberg) in [https://github.com/spf13/cobra/pull/2089](https://togithub.com/spf13/cobra/pull/2089) - \[chore]: update projects using cobra by [@​cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/spf13/cobra/pull/2093](https://togithub.com/spf13/cobra/pull/2093) - Add Taikun CLI to list of projects by [@​Smidra](https://togithub.com/Smidra) in [https://github.com/spf13/cobra/pull/2098](https://togithub.com/spf13/cobra/pull/2098) - Add Incus to the list of projects using Cobra by [@​montag451](https://togithub.com/montag451) in [https://github.com/spf13/cobra/pull/2118](https://togithub.com/spf13/cobra/pull/2118) #### New Contributors - [@​VaradBelwalkar](https://togithub.com/VaradBelwalkar) made their first contribution in [https://github.com/spf13/cobra/pull/2071](https://togithub.com/spf13/cobra/pull/2071) - [@​marcuskohlberg](https://togithub.com/marcuskohlberg) made their first contribution in [https://github.com/spf13/cobra/pull/2089](https://togithub.com/spf13/cobra/pull/2089) - [@​cmwylie19](https://togithub.com/cmwylie19) made their first contribution in [https://github.com/spf13/cobra/pull/2093](https://togithub.com/spf13/cobra/pull/2093) - [@​korovindenis](https://togithub.com/korovindenis) made their first contribution in [https://github.com/spf13/cobra/pull/2094](https://togithub.com/spf13/cobra/pull/2094) - [@​niamster](https://togithub.com/niamster) made their first contribution in [https://github.com/spf13/cobra/pull/2064](https://togithub.com/spf13/cobra/pull/2064) - [@​Smidra](https://togithub.com/Smidra) made their first contribution in [https://github.com/spf13/cobra/pull/2098](https://togithub.com/spf13/cobra/pull/2098) - [@​montag451](https://togithub.com/montag451) made their first contribution in [https://github.com/spf13/cobra/pull/2118](https://togithub.com/spf13/cobra/pull/2118) - [@​cyrilico](https://togithub.com/cyrilico) made their first contribution in [https://github.com/spf13/cobra/pull/2113](https://togithub.com/spf13/cobra/pull/2113) - [@​racerole](https://togithub.com/racerole) made their first contribution in [https://github.com/spf13/cobra/pull/2122](https://togithub.com/spf13/cobra/pull/2122) - [@​pedromotita](https://togithub.com/pedromotita) made their first contribution in [https://github.com/spf13/cobra/pull/2120](https://togithub.com/spf13/cobra/pull/2120) - [@​cubxxw](https://togithub.com/cubxxw) made their first contribution in [https://github.com/spf13/cobra/pull/2128](https://togithub.com/spf13/cobra/pull/2128) *** Thank you everyone who contributed to this release and all your hard work! Cobra and this community would never be possible without all of you!!!! 🐍 **Full Changelog**: spf13/cobra@v1.8.0...v1.8.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]>
Signed-off-by: Pablo Baeyens <[email protected]>**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.--> Updates core modules to open-telemetry/opentelemetry-collector@e7ce1d50fb5e. To do this I had to tidy manually by doing: ``` make for-all CMD="go mod edit -require=go.opentelemetry.io/collector/internal/[email protected] " make gotidy ``` to work around #33954 **Link to tracking Issue:** Fixes #33954 --------- Signed-off-by: Pablo Baeyens <[email protected]>
**Description:** @lquerel is an owner of the OTel-Arrow repository so it makes sense to add him as CODEOWNER here for the OTel-Arrow components. **Link to tracking Issue:** #26491 --------- Signed-off-by: Alex Boten <[email protected]> Co-authored-by: Alex Boten <[email protected]>
fix typo
Fixes #33916 Signed-off-by: Juraci Paixão Kröhling <[email protected]> --------- Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Alex Boten <[email protected]>
…ion` metrics (#33591) **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.--> Similar to #32295 and #33390, this PR adds the `k8s.{container,pod}.memory.node.utilization` metrics. **Link to tracking Issue:** <Issue number if applicable> #27885 **Testing:** <Describe what testing was performed and which tests were added.> Added unit test. **Documentation:** <Describe the documentation added.> Added ### Manual testing 1. Using the following target Pod: ```yaml apiVersion: v1 kind: Pod metadata: name: memory-demo spec: containers: - name: memory-demo-ctr image: polinux/stress resources: requests: memory: "8070591Ki" limits: memory: "9070591Ki" command: ["stress"] args: ["--vm", "1", "--vm-bytes", "800M", "--vm-hang", "4"] ``` 2. ![memGood](https://github.com/open-telemetry/opentelemetry-collector-contrib/assets/11754898/fae04b30-59ca-4d70-8446-f54b5a085cf7) On a node of 32,5G memory the 800Mb container/Pod consumes the `0.8/32.5=0.0246...=0.025`. --------- Signed-off-by: ChrsMark <[email protected]>
**Description:** This PR is the third in a series to decompose #30673 into more manageable pieces for review. This PR introduces the HTTP service which builds upon the aggregation logic added in the [previous PR](#32695). Following this will be a PR to add a gRPC health check service. A summary of the changes is below: - http service based on component status - supports legacy behavior and config; to be deprecated - overall collector health can be monitored as well as pipeline health - additionally the verbosity of the response can be controlled by passing a `verbose` query parameter - adds optional endpoint to retrieve the config of the running collector - this is currently unredacted JSON and is opt-in Note, that there will be a follow up PR to add the gRPC service. This will be relevant when reviewing the extension code. It is setup to manage a slice of subcomponents. The HTTP and gRPC services are the subcomponents to be managed, and both implement the `Component` interface. See the [reference PR](#30673) for details. I've provided some examples below to help get an idea of what the responses look like when serialized as JSON. **Collector Health Example Response** Below is an example verbose response for the overall collector health. Note, the top level fields correspond to the collector overall, the next level corresponds to the pipelines, and the level below that is the health of the individual components in each pipeline. ```json { "start_time": "2024-01-18T17:27:12.570394-08:00", "healthy": true, "status": "StatusRecoverableError", "error": "rpc error: code = ResourceExhausted desc = resource exhausted", "status_time": "2024-01-18T17:27:32.572301-08:00", "components": { "extensions": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.570428-08:00", "components": { "extension:healthcheckv2": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.570428-08:00" } } }, "pipeline:metrics/grpc": { "healthy": true, "status": "StatusRecoverableError", "error": "rpc error: code = ResourceExhausted desc = resource exhausted", "status_time": "2024-01-18T17:27:32.572301-08:00", "components": { "exporter:otlp/staging": { "healthy": true, "status": "StatusRecoverableError", "error": "rpc error: code = ResourceExhausted desc = resource exhausted", "status_time": "2024-01-18T17:27:32.572301-08:00" }, "processor:batch": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571132-08:00" }, "receiver:otlp": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571576-08:00" } } }, "pipeline:traces/http": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571625-08:00", "components": { "exporter:otlphttp/staging": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571615-08:00" }, "processor:batch": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571621-08:00" }, "receiver:otlp": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571625-08:00" } } } } } ``` **Pipeline Health Example Response** This is an example verbose response for the `traces/http` pipeline. The top level corresponds to the health of the pipeline, and the second level contains the health of the individual components that make up the pipeline. ```json { "start_time": "2024-01-18T17:27:12.570394-08:00", "healthy": true, "status": "StatusRecoverableError", "error": "rpc error: code = ResourceExhausted desc = resource exhausted", "status_time": "2024-01-18T17:27:32.572301-08:00", "components": { "extensions": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.570428-08:00", "components": { "extension:healthcheckv2": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.570428-08:00" } } }, "pipeline:metrics/grpc": { "healthy": true, "status": "StatusRecoverableError", "error": "rpc error: code = ResourceExhausted desc = resource exhausted", "status_time": "2024-01-18T17:27:32.572301-08:00", "components": { "exporter:otlp/staging": { "healthy": true, "status": "StatusRecoverableError", "error": "rpc error: code = ResourceExhausted desc = resource exhausted", "status_time": "2024-01-18T17:27:32.572301-08:00" }, "processor:batch": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571132-08:00" }, "receiver:otlp": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571576-08:00" } } }, "pipeline:traces/http": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571625-08:00", "components": { "exporter:otlphttp/staging": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571615-08:00" }, "processor:batch": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571621-08:00" }, "receiver:otlp": { "healthy": true, "status": "StatusOK", "status_time": "2024-01-18T17:27:12.571625-08:00" } } } } } ``` **Link to tracking Issue:** #26661 **Testing:** Units / manual **Documentation:** Comments, etc --------- Signed-off-by: Alex Boten <[email protected]> Co-authored-by: Alex Boten <[email protected]>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [go.opentelemetry.io/build-tools/checkfile](https://togithub.com/open-telemetry/opentelemetry-go-build-tools) | `v0.13.0` -> `v0.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/build-tools/chloggen](https://togithub.com/open-telemetry/opentelemetry-go-build-tools) | `v0.13.0` -> `v0.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/build-tools/crosslink](https://togithub.com/open-telemetry/opentelemetry-go-build-tools) | `v0.13.0` -> `v0.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/build-tools/issuegenerator](https://togithub.com/open-telemetry/opentelemetry-go-build-tools) | `v0.13.0` -> `v0.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fissuegenerator/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fissuegenerator/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fissuegenerator/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fissuegenerator/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/build-tools/multimod](https://togithub.com/open-telemetry/opentelemetry-go-build-tools) | `v0.13.0` -> `v0.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>open-telemetry/opentelemetry-go-build-tools (go.opentelemetry.io/build-tools/checkfile)</summary> ### [`v0.14.0`](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/blob/HEAD/CHANGELOG.md#v0140) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/compare/v0.13.0...v0.14.0) ##### 💡 Enhancements 💡 - `semconvgen`: Add `--capitalizations-path` to allow users to add additional strings to the static capitalizations slice in generator.go ([#​528](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/528)) ##### 🧰 Bug fixes 🧰 - `multimod`: Get pseudoversion for each module in a module set separately to support moving modules between module sets. ([#​582](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/582)) </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 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]>
**Description:** While building `make docker-telemetrygen`, it appears broken: ``` $ make docker-telemetrygen no Go files in //home/mikedame/go/src/github.com/open-telemetry/opentelemetry-collector-contrib GOOS=linux GOARCH=amd64 make telemetrygen make[1]: Entering directory '/home/mikedame/go/src/github.com/open-telemetry/opentelemetry-collector-contrib' no Go files in /home/mikedame/go/src/github.com/open-telemetry/opentelemetry-collector-contrib cd ./cmd/telemetrygen && GO111MODULE=on CGO_ENABLED=0 go build -trimpath -o ../../bin/telemetrygen_linux_amd64 \ -tags "" . make[1]: Leaving directory '/home/mikedame/go/src/github.com/open-telemetry/opentelemetry-collector-contrib' cp bin/telemetrygen_* cmd/telemetrygen/ cd cmd/telemetrygen && docker build --platform linux/amd64 -t telemetrygen:latest . Sending build context to Docker daemon 25.2MB Step 1/10 : FROM alpine:latest as certs ---> 1d34ffeaf190 Step 2/10 : RUN apk --update add ca-certificates ---> Using cache ---> 958d3ffd0e84 Step 3/10 : FROM scratch ---> Step 4/10 : ARG USER_UID=10001 ---> Using cache ---> 77b85f6e33ac Step 5/10 : USER ${USER_UID} ---> Using cache ---> 22c6919286c2 Step 6/10 : ARG TARGETOS ---> Using cache ---> 742a0cf13877 Step 7/10 : ARG TARGETARCH ---> Using cache ---> 751f7303ea11 Step 8/10 : COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt ---> Using cache ---> 3450c4e5656e Step 9/10 : COPY ./telemetrygen_${TARGETOS}_${TARGETARCH} /telemetrygen COPY failed: file not found in build context or excluded by .dockerignore: stat telemetrygen__: file does not exist make: *** [Makefile:281: docker-telemetrygen] Error 1 ``` This makes sure the TARGETOS and TARGETARCH args are set **Link to tracking Issue:** <Issue number if applicable> **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.>
**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.--> This PR fixes an inconsistency spotted in the docs of the `container` operator. Thank's @andrzej-stencel for catching this! **Link to tracking Issue:** <Issue number if applicable> **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.> Signed-off-by: ChrsMark <[email protected]>
…logs (#33946) **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.--> This PR adds support for removing the original `time` attribute/field from the parsed log record as it was suggested at #33389. Users should use the `Timestamp` field which holds the parsed time. This patch introduces this change behind a feature flag called `filelog.container.removeOriginalTimeField` which is disabled by default following the [feature lifecycle](https://github.com/open-telemetry/opentelemetry-collector/tree/main/featuregate#feature-lifecycle). **Link to tracking Issue:** <Issue number if applicable> #33389 **Testing:** <Describe what testing was performed and which tests were added.> 1. Added unit-test 2. Run with `./bin/otelcontribcol_linux_amd64 --config container_config.yaml --feature-gates=filelog.container.removeOriginalTimeField ` and verify the output: ```console 2024-07-08T14:26:50.936+0300 info LogsExporter {"kind": "exporter", "data_type": "logs", "name": "debug", "resource logs": 1, "log records": 2} 2024-07-08T14:26:50.936+0300 info ResourceLog #0 Resource SchemaURL: Resource attributes: -> k8s.namespace.name: Str(some) -> k8s.pod.name: Str(kube-controller-kind-control-plane) -> k8s.container.restart_count: Str(1) -> k8s.pod.uid: Str(49cc7c1fd3702c40b2686ea7486091d6) -> k8s.container.name: Str(kube-controller) ScopeLogs #0 ScopeLogs SchemaURL: InstrumentationScope LogRecord #0 ObservedTimestamp: 2024-07-08 11:26:50.836517638 +0000 UTC Timestamp: 2029-03-30 08:31:20.545192187 +0000 UTC SeverityText: SeverityNumber: Unspecified(0) Body: Str(INFO: log line here) Attributes: -> logtag: Str(F) -> log.file.path: Str(/var/log/pods/some_kube-controller-kind-control-plane_49cc7c1fd3702c40b2686ea7486091d6/kube-controller/1.log) -> log.iostream: Str(stdout) Trace ID: Span ID: Flags: 0 ``` **Documentation:** <Describe the documentation added.> Added. --------- Signed-off-by: ChrsMark <[email protected]> Co-authored-by: Andrzej Stencel <[email protected]>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google.golang.org/api](https://togithub.com/googleapis/google-api-go-client) | `v0.187.0` -> `v0.188.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fapi/v0.188.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fapi/v0.188.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fapi/v0.187.0/v0.188.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fapi/v0.187.0/v0.188.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>googleapis/google-api-go-client (google.golang.org/api)</summary> ### [`v0.188.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.188.0) [Compare Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.187.0...v0.188.0) ##### Features - **all:** Auto-regenerate discovery clients ([#​2665](https://togithub.com/googleapis/google-api-go-client/issues/2665)) ([e84fa65](https://togithub.com/googleapis/google-api-go-client/commit/e84fa6508ebc498c3435668c48001185fbc9ce83)) - **all:** Auto-regenerate discovery clients ([#​2669](https://togithub.com/googleapis/google-api-go-client/issues/2669)) ([6df3749](https://togithub.com/googleapis/google-api-go-client/commit/6df37492965b6323c6bcefa2a1ccd192b92981b4)) - **all:** Auto-regenerate discovery clients ([#​2671](https://togithub.com/googleapis/google-api-go-client/issues/2671)) ([0d54a85](https://togithub.com/googleapis/google-api-go-client/commit/0d54a8540060cc79f830892fdd1fba46d73034c1)) - **all:** Auto-regenerate discovery clients ([#​2673](https://togithub.com/googleapis/google-api-go-client/issues/2673)) ([88240e3](https://togithub.com/googleapis/google-api-go-client/commit/88240e3d98f3e944398c50379372eb071ebac0a2)) - **all:** Auto-regenerate discovery clients ([#​2674](https://togithub.com/googleapis/google-api-go-client/issues/2674)) ([d465cec](https://togithub.com/googleapis/google-api-go-client/commit/d465cec68dbc2616c665e6ea240cd1e32c01418d)) - **all:** Auto-regenerate discovery clients ([#​2675](https://togithub.com/googleapis/google-api-go-client/issues/2675)) ([a9177bd](https://togithub.com/googleapis/google-api-go-client/commit/a9177bdbdbba60c86b22bda4a7061c31d3485e4a)) - **all:** Auto-regenerate discovery clients ([#​2677](https://togithub.com/googleapis/google-api-go-client/issues/2677)) ([5dd2fb2](https://togithub.com/googleapis/google-api-go-client/commit/5dd2fb237802349250c97c0ebdbb54cbd088884d)) - **all:** Auto-regenerate discovery clients ([#​2678](https://togithub.com/googleapis/google-api-go-client/issues/2678)) ([d17f6be](https://togithub.com/googleapis/google-api-go-client/commit/d17f6beb5a531910b563a4383acaa383dbd3ee43)) ##### Bug Fixes - Allow ForceSendFields to work for map types ([#​2670](https://togithub.com/googleapis/google-api-go-client/issues/2670)) ([40b5113](https://togithub.com/googleapis/google-api-go-client/commit/40b5113127c4d66d533df16fe201898855c7c0cc)) - Check \[]bytes > 0 instead of nil ([#​2667](https://togithub.com/googleapis/google-api-go-client/issues/2667)) ([711eb91](https://togithub.com/googleapis/google-api-go-client/commit/711eb913fe455ffe5c9d717b44762801820c0e8c)), refs [#​2647](https://togithub.com/googleapis/google-api-go-client/issues/2647) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]> Co-authored-by: Yang Song <[email protected]>
…version (#33992) Changes examples for `api_version` to make sure they use a string instead of a float **Link to tracking Issue:** Required for open-telemetry/opentelemetry-collector/pull/10554
This matches the default value in datadog agent https://github.com/DataDog/datadog-agent/blob/2043b6415b70dd3d5bb09a2d37cd33417e4902d1/comp/trace/config/setup.go#L536
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/ClickHouse/clickhouse-go/v2](https://togithub.com/ClickHouse/clickhouse-go) | `v2.23.0` -> `v2.26.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.23.0/v2.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.23.0/v2.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>ClickHouse/clickhouse-go (github.com/ClickHouse/clickhouse-go/v2)</summary> ### [`v2.26.0`](https://togithub.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2260-2024-06-25----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---) [Compare Source](https://togithub.com/ClickHouse/clickhouse-go/compare/v2.25.0...v2.26.0) #### What's Changed ##### Enhancements 🎉 - Reintroduce the random connection strategy by [@​larry-cdn77](https://togithub.com/larry-cdn77) in [https://github.com/ClickHouse/clickhouse-go/pull/1313](https://togithub.com/ClickHouse/clickhouse-go/pull/1313) - Make custom debug log function on-par with the built-in one by [@​vespian](https://togithub.com/vespian) in [https://github.com/ClickHouse/clickhouse-go/pull/1317](https://togithub.com/ClickHouse/clickhouse-go/pull/1317) - Remove date overflow check as it's normalised by ClickHouse server by [@​gogingersnap777](https://togithub.com/gogingersnap777) in [https://github.com/ClickHouse/clickhouse-go/pull/1315](https://togithub.com/ClickHouse/clickhouse-go/pull/1315) - Batch: impl `Columns() []column.Interface` method by [@​egsam98](https://togithub.com/egsam98) in [https://github.com/ClickHouse/clickhouse-go/pull/1277](https://togithub.com/ClickHouse/clickhouse-go/pull/1277) ##### Fixes 🐛 - Fix rows.Close do not return too early by [@​yujiarista](https://togithub.com/yujiarista) in [https://github.com/ClickHouse/clickhouse-go/pull/1314](https://togithub.com/ClickHouse/clickhouse-go/pull/1314) - Setting `X-Clickhouse-SSL-Certificate-Auth` header correctly given `X-ClickHouse-Key` by [@​gogingersnap777](https://togithub.com/gogingersnap777) in [https://github.com/ClickHouse/clickhouse-go/pull/1316](https://togithub.com/ClickHouse/clickhouse-go/pull/1316) - Retry on network errors and fix retries on async inserts with `database/sql` interface by [@​tommyzli](https://togithub.com/tommyzli) in [https://github.com/ClickHouse/clickhouse-go/pull/1330](https://togithub.com/ClickHouse/clickhouse-go/pull/1330) - BatchInsert parentheses issue fix by [@​ramzes642](https://togithub.com/ramzes642) in [https://github.com/ClickHouse/clickhouse-go/pull/1327](https://togithub.com/ClickHouse/clickhouse-go/pull/1327) ##### Other Changes 🛠 - ClickHouse 24.5 by [@​jkaflik](https://togithub.com/jkaflik) in [https://github.com/ClickHouse/clickhouse-go/pull/1319](https://togithub.com/ClickHouse/clickhouse-go/pull/1319) - Align `allow_suspicious_low_cardinality_types` and ` allow_suspicious_low_cardinality_types ` settings in tests due to ClickHouse Cloud incompatibility by [@​jkaflik](https://togithub.com/jkaflik) in [https://github.com/ClickHouse/clickhouse-go/pull/1331](https://togithub.com/ClickHouse/clickhouse-go/pull/1331) - Use HTTPs scheme in std connection failover tests by [@​jkaflik](https://togithub.com/jkaflik) in [https://github.com/ClickHouse/clickhouse-go/pull/1332](https://togithub.com/ClickHouse/clickhouse-go/pull/1332) #### New Contributors - [@​larry-cdn77](https://togithub.com/larry-cdn77) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1313](https://togithub.com/ClickHouse/clickhouse-go/pull/1313) - [@​vespian](https://togithub.com/vespian) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1317](https://togithub.com/ClickHouse/clickhouse-go/pull/1317) - [@​gogingersnap777](https://togithub.com/gogingersnap777) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1315](https://togithub.com/ClickHouse/clickhouse-go/pull/1315) - [@​yujiarista](https://togithub.com/yujiarista) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1314](https://togithub.com/ClickHouse/clickhouse-go/pull/1314) - [@​egsam98](https://togithub.com/egsam98) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1277](https://togithub.com/ClickHouse/clickhouse-go/pull/1277) - [@​tommyzli](https://togithub.com/tommyzli) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1330](https://togithub.com/ClickHouse/clickhouse-go/pull/1330) - [@​ramzes642](https://togithub.com/ramzes642) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1327](https://togithub.com/ClickHouse/clickhouse-go/pull/1327) **Full Changelog**: ClickHouse/clickhouse-go@v2.25.0...v2.26.0 ### [`v2.25.0`](https://togithub.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2250-2024-05-28----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---) [Compare Source](https://togithub.com/ClickHouse/clickhouse-go/compare/v2.24.0...v2.25.0) #### What's Changed ##### Fixes 🐛 - Add a compatibility layer for a database/sql driver to work with sql.NullString and ClickHouse nullable column by [@​jkaflik](https://togithub.com/jkaflik) in [https://github.com/ClickHouse/clickhouse-go/pull/1306](https://togithub.com/ClickHouse/clickhouse-go/pull/1306) ##### Other Changes 🛠 - Use Go 1.22 in head tests by [@​jkaflik](https://togithub.com/jkaflik) in [https://github.com/ClickHouse/clickhouse-go/pull/1305](https://togithub.com/ClickHouse/clickhouse-go/pull/1305) - Skip flaky 1127 test by [@​jkaflik](https://togithub.com/jkaflik) in [https://github.com/ClickHouse/clickhouse-go/pull/1307](https://togithub.com/ClickHouse/clickhouse-go/pull/1307) **Full Changelog**: ClickHouse/clickhouse-go@v2.24.0...v2.25.0 ### [`v2.24.0`](https://togithub.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2240-2024-05-08----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---) [Compare Source](https://togithub.com/ClickHouse/clickhouse-go/compare/v2.23.2...v2.24.0) #### What's Changed ##### Enhancements 🎉 - Always compress responses when the client compression is on by [@​zhkvia](https://togithub.com/zhkvia) in [https://github.com/ClickHouse/clickhouse-go/pull/1286](https://togithub.com/ClickHouse/clickhouse-go/pull/1286) - Optional flag to close query with flush by [@​hongker](https://togithub.com/hongker) in [https://github.com/ClickHouse/clickhouse-go/pull/1276](https://togithub.com/ClickHouse/clickhouse-go/pull/1276) ##### Fixes 🐛 - Fix prepare batch does not break on `values` substring in table name by [@​Wang](https://togithub.com/Wang) in [https://github.com/ClickHouse/clickhouse-go/pull/1290](https://togithub.com/ClickHouse/clickhouse-go/pull/1290) - Fix nil checks when appending slices of pointers by [@​markandrus](https://togithub.com/markandrus) in [https://github.com/ClickHouse/clickhouse-go/pull/1283](https://togithub.com/ClickHouse/clickhouse-go/pull/1283) ##### Other Changes 🛠 - Don't recreate keys from LC columns from direct stream by [@​genzgd](https://togithub.com/genzgd) in [https://github.com/ClickHouse/clickhouse-go/pull/1291](https://togithub.com/ClickHouse/clickhouse-go/pull/1291) #### New Contributors - [@​zhkvia](https://togithub.com/zhkvia) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1286](https://togithub.com/ClickHouse/clickhouse-go/pull/1286) **Full Changelog**: ClickHouse/clickhouse-go@v2.23.2...v2.24.0 ### [`v2.23.2`](https://togithub.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2232-2024-04-25----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---) [Compare Source](https://togithub.com/ClickHouse/clickhouse-go/compare/v2.23.1...v2.23.2) #### What's Changed ##### Fixes 🐛 - Fixed panic on concurrent context key map write by [@​Wang](https://togithub.com/Wang) in [https://github.com/ClickHouse/clickhouse-go/pull/1284](https://togithub.com/ClickHouse/clickhouse-go/pull/1284) ##### Other Changes 🛠 - Fix ClickHouse Terraform provider version by [@​jkaflik](https://togithub.com/jkaflik) in [https://github.com/ClickHouse/clickhouse-go/pull/1285](https://togithub.com/ClickHouse/clickhouse-go/pull/1285) #### New Contributors - [@​Wang](https://togithub.com/Wang) made their first contribution in [https://github.com/ClickHouse/clickhouse-go/pull/1284](https://togithub.com/ClickHouse/clickhouse-go/pull/1284) **Full Changelog**: ClickHouse/clickhouse-go@v2.23.1...v2.23.2 ### [`v2.23.1`](https://togithub.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2231-2024-04-15----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---) [Compare Source](https://togithub.com/ClickHouse/clickhouse-go/compare/v2.23.0...v2.23.1) #### What's Changed ##### Fixes 🐛 - Zero-value timestamp to be formatted as toDateTime(0) in bind by [@​jkaflik](https://togithub.com/jkaflik) in [https://github.com/ClickHouse/clickhouse-go/pull/1260](https://togithub.com/ClickHouse/clickhouse-go/pull/1260) ##### Other Changes 🛠 - Update [#​1127](https://togithub.com/ClickHouse/clickhouse-go/issues/1127) test case to reproduce a progress handle when exception is thrown by [@​jkaflik](https://togithub.com/jkaflik) in [https://github.com/ClickHouse/clickhouse-go/pull/1259](https://togithub.com/ClickHouse/clickhouse-go/pull/1259) - Set max parallel for GH jobs by [@​jkaflik](https://togithub.com/jkaflik) in [https://github.com/ClickHouse/clickhouse-go/pull/1261](https://togithub.com/ClickHouse/clickhouse-go/pull/1261) - Ensure test container termination by [@​jkaflik](https://togithub.com/jkaflik) in [https://github.com/ClickHouse/clickhouse-go/pull/1274](https://togithub.com/ClickHouse/clickhouse-go/pull/1274) **Full Changelog**: ClickHouse/clickhouse-go@v2.23.0...v2.23.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]> Co-authored-by: Yang Song <[email protected]>
Check codeowners is failing as the CODEOWNERS file no longer matches the metadata.yaml entry for the Loki exporter. This updates the entry to match. [Failing check](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/9863048627/job/27235019821#step:16:25) **Link to tracking Issue:** <Issue number if applicable> Caused by #33918
…zureCredential authentication (#33584) Description: Enhances azuremonitor receiver authentication by using [managed identity](https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication?tabs=bash#option-3-use-a-managed-identity) or [environment variables](https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication?tabs=bash#option-1-define-environment-variables). I have extended the config parameter auth to support `managed_identity` and `default_credentials`. Also fix the issue where the errors were being ignored. Link to tracking Issue: 1) Fixes #31268 2) No tracing issues for extenting auth methods Testing: Tested on my Azure VMs with managed identity Documentation: Added to README.md
…d/common to v1.0.954 (#33765) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common](https://togithub.com/tencentcloud/tencentcloud-sdk-go) | `v1.0.949` -> `v1.0.954` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ftencentcloud%2ftencentcloud-sdk-go%2ftencentcloud%2fcommon/v1.0.954?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2ftencentcloud%2ftencentcloud-sdk-go%2ftencentcloud%2fcommon/v1.0.954?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2ftencentcloud%2ftencentcloud-sdk-go%2ftencentcloud%2fcommon/v1.0.949/v1.0.954?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ftencentcloud%2ftencentcloud-sdk-go%2ftencentcloud%2fcommon/v1.0.949/v1.0.954?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>tencentcloud/tencentcloud-sdk-go (github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common)</summary> ### [`v1.0.954`](https://togithub.com/tencentcloud/tencentcloud-sdk-go/blob/HEAD/CHANGELOG.md#Release-v10954) [Compare Source](https://togithub.com/tencentcloud/tencentcloud-sdk-go/compare/v1.0.953...v1.0.954) #### TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 ##### 第 96 次发布 发布时间:2024-07-02 01:13:35 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [Ability](https://cloud.tencent.com/document/api/1003/48097#Ability) - 新增成员:IsSupportTransparentDataEncryption, NoSupportTransparentDataEncryptionReason - [NetAddr](https://cloud.tencent.com/document/api/1003/48097#NetAddr) - <font color="#dd0000">**修改成员**:</font>InstanceGroupId - [ParamInfo](https://cloud.tencent.com/document/api/1003/48097#ParamInfo) - 新增成员:FuncPattern #### 域名注册(domain) 版本:2018-08-08 ##### 第 41 次发布 发布时间:2024-07-02 01:14:51 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [DomainBatchDetailSet](https://cloud.tencent.com/document/api/242/38895#DomainBatchDetailSet) - <font color="#dd0000">**修改成员**:</font>BigDealId - [DomainBatchLogSet](https://cloud.tencent.com/document/api/242/38895#DomainBatchLogSet) - <font color="#dd0000">**修改成员**:</font>Success, Doing, Failed #### 腾讯电子签企业版(ess) 版本:2020-11-11 ##### 第 177 次发布 发布时间:2024-07-02 01:16:08 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [CreateUserVerifyUrl](https://cloud.tencent.com/document/api/1323/105961) - 新增入参:JumpUrl #### SSL 证书(ssl) 版本:2019-12-05 ##### 第 62 次发布 发布时间:2024-07-02 01:22:32 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [DescribeManagerDetail](https://cloud.tencent.com/document/api/400/52673) 修改数据结构: - [ManagerStatusInfo](https://cloud.tencent.com/document/api/400/41679#ManagerStatusInfo) - 新增成员:Type, Status, CreateTime, ExpireTime #### 私有网络(vpc) 版本:2017-03-12 ##### 第 191 次发布 发布时间:2024-07-02 01:27:15 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [CreatePrivateNatGateway](https://cloud.tencent.com/document/api/215/107904) - [CreatePrivateNatGatewayDestinationIpPortTranslationNatRule](https://cloud.tencent.com/document/api/215/107903) - [CreatePrivateNatGatewayTranslationAclRule](https://cloud.tencent.com/document/api/215/107902) - [CreatePrivateNatGatewayTranslationNatRule](https://cloud.tencent.com/document/api/215/107901) - [DeletePrivateNatGateway](https://cloud.tencent.com/document/api/215/107900) - [DeletePrivateNatGatewayDestinationIpPortTranslationNatRule](https://cloud.tencent.com/document/api/215/107899) - [DeletePrivateNatGatewayTranslationAclRule](https://cloud.tencent.com/document/api/215/107898) - [DeletePrivateNatGatewayTranslationNatRule](https://cloud.tencent.com/document/api/215/107897) - [DescribePrivateNatGatewayDestinationIpPortTranslationNatRules](https://cloud.tencent.com/document/api/215/107896) - [DescribePrivateNatGatewayLimits](https://cloud.tencent.com/document/api/215/107895) - [DescribePrivateNatGatewayRegions](https://cloud.tencent.com/document/api/215/107894) - [DescribePrivateNatGatewayTranslationAclRules](https://cloud.tencent.com/document/api/215/107893) - [DescribePrivateNatGatewayTranslationNatRules](https://cloud.tencent.com/document/api/215/107892) - [DescribePrivateNatGateways](https://cloud.tencent.com/document/api/215/107891) - [ModifyPrivateNatGatewayAttribute](https://cloud.tencent.com/document/api/215/107890) - [ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule](https://cloud.tencent.com/document/api/215/107889) - [ModifyPrivateNatGatewayTranslationAclRule](https://cloud.tencent.com/document/api/215/107888) - [ModifyPrivateNatGatewayTranslationNatRule](https://cloud.tencent.com/document/api/215/107887) 新增数据结构: - [DestinationIpPortTranslationNatRuleDiff](https://cloud.tencent.com/document/api/215/15824#DestinationIpPortTranslationNatRuleDiff) - [LocalDestinationIpPortTranslationNatRule](https://cloud.tencent.com/document/api/215/15824#LocalDestinationIpPortTranslationNatRule) - [NatRegionInfoWithArea](https://cloud.tencent.com/document/api/215/15824#NatRegionInfoWithArea) - [PrivateNatDestinationIpPortTranslationNatRule](https://cloud.tencent.com/document/api/215/15824#PrivateNatDestinationIpPortTranslationNatRule) - [PrivateNatGateway](https://cloud.tencent.com/document/api/215/15824#PrivateNatGateway) - [PrivateNatGatewayLimit](https://cloud.tencent.com/document/api/215/15824#PrivateNatGatewayLimit) - [TranslationAclRule](https://cloud.tencent.com/document/api/215/15824#TranslationAclRule) - [TranslationNatRule](https://cloud.tencent.com/document/api/215/15824#TranslationNatRule) - [TranslationNatRuleDiff](https://cloud.tencent.com/document/api/215/15824#TranslationNatRuleDiff) - [TranslationNatRuleInput](https://cloud.tencent.com/document/api/215/15824#TranslationNatRuleInput) #### Web 应用防火墙(waf) 版本:2018-01-25 ##### 第 91 次发布 发布时间:2024-07-02 01:27:59 本次发布包含了以下内容: 改善已有的文档。 <font color="#dd0000">**删除接口**:</font> - ModifyAccessPeriod #### 数据开发治理平台 WeData(wedata) 版本:2021-08-20 ##### 第 99 次发布 发布时间:2024-07-02 01:28:21 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [DescribeDutyScheduleDetails](https://cloud.tencent.com/document/api/1267/107907) - [DescribeDutyScheduleList](https://cloud.tencent.com/document/api/1267/107906) 新增数据结构: - [Duty](https://cloud.tencent.com/document/api/1267/76336#Duty) - [DutyPerson](https://cloud.tencent.com/document/api/1267/76336#DutyPerson) - [DutySchedule](https://cloud.tencent.com/document/api/1267/76336#DutySchedule) - [DutyScheduleData](https://cloud.tencent.com/document/api/1267/76336#DutyScheduleData) - [DutyScheduleDetailsInfo](https://cloud.tencent.com/document/api/1267/76336#DutyScheduleDetailsInfo) ### [`v1.0.953`](https://togithub.com/tencentcloud/tencentcloud-sdk-go/blob/HEAD/CHANGELOG.md#Release-v10953) [Compare Source](https://togithub.com/tencentcloud/tencentcloud-sdk-go/compare/v1.0.952...v1.0.953) #### 弹性 MapReduce(emr) 版本:2019-01-03 ##### 第 68 次发布 发布时间:2024-07-01 01:15:45 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [StartStopServiceOrMonitor](https://cloud.tencent.com/document/api/589/90011) - 新增入参:KeepMonitorButNotRecoverProcess #### 物联网开发平台(iotexplorer) 版本:2019-04-23 ##### 第 71 次发布 发布时间:2024-07-01 01:17:32 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [GetTWeCallPkgList](https://cloud.tencent.com/document/api/1081/106582) - 新增出参:TWeCallCategoryPkgList 新增数据结构: - [TWeCallCategoryPkgInfo](https://cloud.tencent.com/document/api/1081/34988#TWeCallCategoryPkgInfo) #### 智能视图计算平台(iss) 版本:2023-05-17 ##### 第 16 次发布 发布时间:2024-06-28 15:23:39 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [QueryForbidPlayChannelList](https://cloud.tencent.com/document/api/1344/107837) - [SetForbidPlayChannels](https://cloud.tencent.com/document/api/1344/107836) 新增数据结构: - [ChannelAttrInfo](https://cloud.tencent.com/document/api/1344/95952#ChannelAttrInfo) - [ListForbidplayChannelsData](https://cloud.tencent.com/document/api/1344/95952#ListForbidplayChannelsData) - [SetForbidplayChannelParam](https://cloud.tencent.com/document/api/1344/95952#SetForbidplayChannelParam) #### 邮件推送(ses) 版本:2020-10-02 ##### 第 22 次发布 发布时间:2024-07-01 01:22:01 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [CreateCustomBlacklist](https://cloud.tencent.com/document/api/1288/107854) - [DeleteCustomBlackList](https://cloud.tencent.com/document/api/1288/107853) - [ListCustomBlacklist](https://cloud.tencent.com/document/api/1288/107852) - [UpdateCustomBlackList](https://cloud.tencent.com/document/api/1288/107851) 新增数据结构: - [BlackAddressDetail](https://cloud.tencent.com/document/api/1288/51053#BlackAddressDetail) #### SSL 证书(ssl) 版本:2019-12-05 ##### 第 61 次发布 发布时间:2024-07-01 01:22:30 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [BindResourceRegionResult](https://cloud.tencent.com/document/api/400/41679#BindResourceRegionResult) - 新增成员:Error ### [`v1.0.952`](https://togithub.com/tencentcloud/tencentcloud-sdk-go/blob/HEAD/CHANGELOG.md#Release-v10952) [Compare Source](https://togithub.com/tencentcloud/tencentcloud-sdk-go/compare/v1.0.951...v1.0.952) #### 大模型图像创作引擎(aiart) 版本:2022-12-29 ##### 第 6 次发布 发布时间:2024-06-28 01:03:50 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [GenerateAvatar](https://cloud.tencent.com/document/api/1668/107799) #### 云硬盘(cbs) 版本:2017-03-12 ##### 第 55 次发布 发布时间:2024-06-28 01:05:34 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [AutoMountConfiguration](https://cloud.tencent.com/document/api/362/15669#AutoMountConfiguration) - <font color="#dd0000">**修改成员**:</font>MountPoint, FileSystemType #### 日志服务(cls) 版本:2020-10-16 ##### 第 98 次发布 发布时间:2024-06-28 01:07:19 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [AlarmTargetInfo](https://cloud.tencent.com/document/api/614/56471#AlarmTargetInfo) - 新增成员:SyntaxRule, BizType #### 主机安全(cwp) 版本:2018-02-28 ##### 第 115 次发布 发布时间:2024-06-28 01:08:04 本次发布包含了以下内容: 改善已有的文档。 <font color="#dd0000">**删除接口**:</font> - ExportAttackLogs #### 弹性 MapReduce(emr) 版本:2019-01-03 ##### 第 67 次发布 发布时间:2024-06-28 01:11:14 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [AddMetricScaleStrategy](https://cloud.tencent.com/document/api/589/103997) - 新增入参:LoadAutoScaleStrategy - [DescribeAutoScaleRecords](https://cloud.tencent.com/document/api/589/100248) - 新增入参:RecordSource - [DescribeAutoScaleStrategies](https://cloud.tencent.com/document/api/589/103998) - 新增出参:LoadAutoScaleStrategies - [ModifyAutoScaleStrategy](https://cloud.tencent.com/document/api/589/103995) - 新增入参:LoadAutoScaleStrategies 新增数据结构: - [LoadAutoScaleStrategy](https://cloud.tencent.com/document/api/589/33981#LoadAutoScaleStrategy) - [LoadMetricsCondition](https://cloud.tencent.com/document/api/589/33981#LoadMetricsCondition) - [LoadMetricsConditions](https://cloud.tencent.com/document/api/589/33981#LoadMetricsConditions) - [TriggerCondition](https://cloud.tencent.com/document/api/589/33981#TriggerCondition) - [TriggerConditions](https://cloud.tencent.com/document/api/589/33981#TriggerConditions) 修改数据结构: - [AutoScaleRecord](https://cloud.tencent.com/document/api/589/33981#AutoScaleRecord) - 新增成员:RetryEnReason, RetryReason - [AutoScaleResourceConf](https://cloud.tencent.com/document/api/589/33981#AutoScaleResourceConf) - 新增成员:HardwareType, PayMode, PostPayPercentMin, ChangeToPod, GroupName, YarnNodeLabel, GroupStatus, Parallel, EnableMNode #### iOA 零信任安全管理系统(ioa) 版本:2022-06-01 ##### 第 6 次发布 发布时间:2024-06-28 01:12:56 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [DescribeAccountGroupsData](https://cloud.tencent.com/document/api/1092/102488#DescribeAccountGroupsData) - 新增成员:LatestSyncResult, LatestSyncTime #### 媒体处理(mps) 版本:2019-06-12 ##### 第 87 次发布 发布时间:2024-06-28 01:16:00 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [CreateInput](https://cloud.tencent.com/document/api/862/37615#CreateInput) - 新增成员:Zones - [CreateOutputInfo](https://cloud.tencent.com/document/api/862/37615#CreateOutputInfo) - 新增成员:Zones - [DescribeInput](https://cloud.tencent.com/document/api/862/37615#DescribeInput) - 新增成员:Zones - [DescribeOutput](https://cloud.tencent.com/document/api/862/37615#DescribeOutput) - 新增成员:Zones - [LiveActivityResItem](https://cloud.tencent.com/document/api/862/37615#LiveActivityResItem) - 新增成员:LiveQualityControlTask - [ModifyInput](https://cloud.tencent.com/document/api/862/37615#ModifyInput) - 新增成员:Zones - [TerrorismConfigureInfo](https://cloud.tencent.com/document/api/862/37615#TerrorismConfigureInfo) - <font color="#dd0000">**修改成员**:</font>OcrReviewInfo #### 文字识别(ocr) 版本:2018-11-19 ##### 第 140 次发布 发布时间:2024-06-28 01:16:42 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [BizLicenseOCR](https://cloud.tencent.com/document/api/866/36215) - 新增入参:EnablePeriodComplete 修改数据结构: - [TrainTicket](https://cloud.tencent.com/document/api/866/33527#TrainTicket) - 新增成员:TicketChangeMark #### SSL 证书(ssl) 版本:2019-12-05 ##### 第 60 次发布 发布时间:2024-06-28 01:18:28 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [DeleteCertificates](https://cloud.tencent.com/document/api/400/107800) 新增数据结构: - [BatchDeleteFail](https://cloud.tencent.com/document/api/400/41679#BatchDeleteFail) #### 消息队列 TDMQ(tdmq) 版本:2020-02-17 ##### 第 117 次发布 发布时间:2024-06-28 01:20:13 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [CreateRabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/88134) - 新增入参:PayMode, ClusterVersion, IsIntl, ResourceTags, Bandwidth - [DeleteRabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/94833) - 新增入参:IsIntl 修改数据结构: - [RabbitMQUser](https://cloud.tencent.com/document/api/1179/46089#RabbitMQUser) - 新增成员:MaxConnections, MaxChannels - [RabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/46089#RabbitMQVipInstance) - 新增成员:CreateTime - [RocketMQInstanceConfig](https://cloud.tencent.com/document/api/1179/46089#RocketMQInstanceConfig) - 新增成员:MaxRetention, MinRetention, Retention, TopicNumLowerLimit, TopicNumUpperLimit - <font color="#dd0000">**修改成员**:</font>MaxTpsPerNamespace, MaxNamespaceNum, UsedNamespaceNum, MaxTopicNum, UsedTopicNum, MaxGroupNum, UsedGroupNum, ConfigDisplay, NodeCount, NodeDistribution, TopicDistribution, MaxQueuesPerTopic #### 大模型视频创作引擎(vclm) 版本:2024-05-23 ##### 第 2 次发布 发布时间:2024-06-28 01:22:51 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [ConfirmVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107807) - [DescribeVideoStylizationJob](https://cloud.tencent.com/document/api/1616/107803) - [DescribeVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107806) - [SubmitVideoStylizationJob](https://cloud.tencent.com/document/api/1616/107802) - [SubmitVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107805) 新增数据结构: - [AsrTimestamps](https://cloud.tencent.com/document/api/1616/107808#AsrTimestamps) - [TranslateResult](https://cloud.tencent.com/document/api/1616/107808#TranslateResult) ##### 第 1 次发布 发布时间:2024-06-27 17:13:58 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [DescribeImageAnimateJob](https://cloud.tencent.com/document/api/1616/107785) - [SubmitImageAnimateJob](https://cloud.tencent.com/document/api/1616/107784) #### 向量数据库(vdb) 版本:2023-06-16 ##### 第 2 次发布 发布时间:2024-06-28 01:22:56 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [InstanceInfo](https://cloud.tencent.com/document/api/1709/106757#InstanceInfo) - 新增成员:IsolateAt, AutoRenew ### [`v1.0.951`](https://togithub.com/tencentcloud/tencentcloud-sdk-go/blob/HEAD/CHANGELOG.md#Release-v10951) [Compare Source](https://togithub.com/tencentcloud/tencentcloud-sdk-go/compare/v1.0.950...v1.0.951) #### 语音识别(asr) 版本:2019-06-14 ##### 第 37 次发布 发布时间:2024-06-27 01:05:14 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [CreateRecTask](https://cloud.tencent.com/document/api/1093/37823) - 新增入参:HotwordList #### 日志服务(cls) 版本:2020-10-16 ##### 第 97 次发布 发布时间:2024-06-27 01:08:10 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [ModifyTopic](https://cloud.tencent.com/document/api/614/56453) - 新增入参:Extends 修改数据结构: - [MonitorTime](https://cloud.tencent.com/document/api/614/56471#MonitorTime) - <font color="#dd0000">**修改成员**:</font>Time - [TopicInfo](https://cloud.tencent.com/document/api/614/56471#TopicInfo) - 新增成员:Extends #### 域名注册(domain) 版本:2018-08-08 ##### 第 40 次发布 发布时间:2024-06-27 01:11:00 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [ReservedPreDomains](https://cloud.tencent.com/document/api/242/103887) - 新增出参:SucDomains 新增数据结构: - [SucDomainInfo](https://cloud.tencent.com/document/api/242/38895#SucDomainInfo) #### 物联网开发平台(iotexplorer) 版本:2019-04-23 ##### 第 70 次发布 发布时间:2024-06-27 01:13:47 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [CloudStorageEvent](https://cloud.tencent.com/document/api/1081/34988#CloudStorageEvent) - 新增成员:UploadStatus #### SSL 证书(ssl) 版本:2019-12-05 ##### 第 59 次发布 发布时间:2024-06-27 01:18:46 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [DescribeCertificateBindResourceTaskDetail](https://cloud.tencent.com/document/api/400/97758) - 新增出参:COS 新增数据结构: - [COSInstanceList](https://cloud.tencent.com/document/api/400/41679#COSInstanceList) 修改数据结构: - [ApiGatewayInstanceList](https://cloud.tencent.com/document/api/400/41679#ApiGatewayInstanceList) - 新增成员:Error - [CdnInstanceList](https://cloud.tencent.com/document/api/400/41679#CdnInstanceList) - 新增成员:Error - [ClbInstanceList](https://cloud.tencent.com/document/api/400/41679#ClbInstanceList) - 新增成员:Error - [ClbListenerRule](https://cloud.tencent.com/document/api/400/41679#ClbListenerRule) - <font color="#dd0000">**修改成员**:</font>NoMatchDomains - [DdosInstanceList](https://cloud.tencent.com/document/api/400/41679#DdosInstanceList) - 新增成员:Error - [LiveInstanceList](https://cloud.tencent.com/document/api/400/41679#LiveInstanceList) - 新增成员:Error - [TCBInstanceList](https://cloud.tencent.com/document/api/400/41679#TCBInstanceList) - 新增成员:Error - [TSEInstanceList](https://cloud.tencent.com/document/api/400/41679#TSEInstanceList) - 新增成员:Error - [TeoInstanceList](https://cloud.tencent.com/document/api/400/41679#TeoInstanceList) - 新增成员:Error - [TkeInstanceList](https://cloud.tencent.com/document/api/400/41679#TkeInstanceList) - 新增成员:Error - [VODInstanceList](https://cloud.tencent.com/document/api/400/41679#VODInstanceList) - 新增成员:Error - [WafInstanceList](https://cloud.tencent.com/document/api/400/41679#WafInstanceList) - 新增成员:Error #### 高性能计算平台(thpc) 版本:2023-03-21 ##### 第 14 次发布 发布时间:2024-06-27 01:21:12 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [CreateCluster](https://cloud.tencent.com/document/api/1527/89563) - 新增入参:SchedulerVersion 修改数据结构: - [ClusterOverview](https://cloud.tencent.com/document/api/1527/89579#ClusterOverview) - 新增成员:SchedulerVersion #### 高性能计算平台(thpc) 版本:2022-04-01 #### 高性能计算平台(thpc) 版本:2021-11-09 #### 容器服务(tke) 版本:2022-05-01 #### 容器服务(tke) 版本:2018-05-25 ##### 第 175 次发布 发布时间:2024-06-27 01:21:28 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [CreatePrometheusConfig](https://cloud.tencent.com/document/api/457/76241) - 新增入参:Probes - [DeletePrometheusClusterAgent](https://cloud.tencent.com/document/api/457/76246) - 新增入参:Force - [DeletePrometheusConfig](https://cloud.tencent.com/document/api/457/76239) - 新增入参:Probes - [DescribePrometheusConfig](https://cloud.tencent.com/document/api/457/76237) - 新增出参:Probes - [ModifyPrometheusConfig](https://cloud.tencent.com/document/api/457/76236) - 新增入参:Probes ### [`v1.0.950`](https://togithub.com/tencentcloud/tencentcloud-sdk-go/blob/HEAD/CHANGELOG.md#Release-v10950) [Compare Source](https://togithub.com/tencentcloud/tencentcloud-sdk-go/compare/v1.0.949...v1.0.950) #### 日志服务(cls) 版本:2020-10-16 ##### 第 96 次发布 发布时间:2024-06-26 01:12:03 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [CreateTopic](https://cloud.tencent.com/document/api/614/56456) - 新增入参:Extends 新增数据结构: - [AnonymousInfo](https://cloud.tencent.com/document/api/614/56471#AnonymousInfo) - [ConditionInfo](https://cloud.tencent.com/document/api/614/56471#ConditionInfo) - [TopicExtendInfo](https://cloud.tencent.com/document/api/614/56471#TopicExtendInfo) #### 主机安全(cwp) 版本:2018-02-28 ##### 第 114 次发布 发布时间:2024-06-26 01:12:49 本次发布包含了以下内容: 改善已有的文档。 <font color="#dd0000">**删除接口**:</font> - DeleteAttackLogs #### TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 ##### 第 95 次发布 发布时间:2024-06-26 01:13:42 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [AuditLog](https://cloud.tencent.com/document/api/1003/48097#AuditLog) - 新增成员:TrxId #### iOA 零信任安全管理系统(ioa) 版本:2022-06-01 ##### 第 5 次发布 发布时间:2024-06-25 16:17:19 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [DescribeAccountGroups](https://cloud.tencent.com/document/api/1092/107711) - [DescribeLocalAccounts](https://cloud.tencent.com/document/api/1092/107710) 新增数据结构: - [DescribeAccountGroupsData](https://cloud.tencent.com/document/api/1092/102488#DescribeAccountGroupsData) - [DescribeAccountGroupsPageResp](https://cloud.tencent.com/document/api/1092/102488#DescribeAccountGroupsPageResp) - [DescribeLocalAccountAccountGroupsData](https://cloud.tencent.com/document/api/1092/102488#DescribeLocalAccountAccountGroupsData) - [DescribeLocalAccountsData](https://cloud.tencent.com/document/api/1092/102488#DescribeLocalAccountsData) - [DescribeLocalAccountsPage](https://cloud.tencent.com/document/api/1092/102488#DescribeLocalAccountsPage) ##### 第 4 次发布 发布时间:2024-06-25 16:07:22 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [DescribeRootAccountGroup](https://cloud.tencent.com/document/api/1092/107709) 新增数据结构: - [GetAccountGroupData](https://cloud.tencent.com/document/api/1092/102488#GetAccountGroupData) #### 物联网开发平台(iotexplorer) 版本:2019-04-23 ##### 第 69 次发布 发布时间:2024-06-26 01:17:47 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [CheckFirmwareUpdate](https://cloud.tencent.com/document/api/1081/107736) - [DescribeFirmwareUpdateStatus](https://cloud.tencent.com/document/api/1081/107735) - [PublishFirmwareUpdateMessage](https://cloud.tencent.com/document/api/1081/107734) #### 云直播CSS(live) 版本:2018-08-01 ##### 第 130 次发布 发布时间:2024-06-26 01:19:20 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [CommonMixControlParams](https://cloud.tencent.com/document/api/267/20474#CommonMixControlParams) - 新增成员:UsePictureTransparent #### 文字识别(ocr) 版本:2018-11-19 ##### 第 139 次发布 发布时间:2024-06-26 01:21:05 本次发布包含了以下内容: 改善已有的文档。 <font color="#dd0000">**预下线接口**:</font> - VatInvoiceVerify #### 渠道合作伙伴(partners) 版本:2018-03-21 ##### 第 33 次发布 发布时间:2024-06-26 01:21:35 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [AgentAuditedClient](https://cloud.tencent.com/document/api/563/16047#AgentAuditedClient) - 新增成员:TransactionType #### 容器镜像服务(tcr) 版本:2019-09-24 ##### 第 66 次发布 发布时间:2024-06-26 01:23:42 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [CheckInstanceName](https://cloud.tencent.com/document/api/1141/52212) - 新增出参:DetailCode #### 容器安全服务(tcss) 版本:2020-11-01 ##### 第 63 次发布 发布时间:2024-06-26 01:23:56 本次发布包含了以下内容: 改善已有的文档。 修改接口: - [DescribePurchaseStateInfo](https://cloud.tencent.com/document/api/1285/65466) - 新增出参:AllCoresCnt, UndefendCoresCnt, GivenAuthorizedCoresCnt, CurrentFlexibleCoresCnt, DefendPolicy, FlexibleCoresLimit, DefendClusterCoresCnt, DefendHostCoresCnt 修改数据结构: - [ClusterInfoItem](https://cloud.tencent.com/document/api/1285/65614#ClusterInfoItem) - 新增成员:MasterAddresses, CoresCnt - [HostInfo](https://cloud.tencent.com/document/api/1285/65614#HostInfo) - 新增成员:CoresCnt #### 容器服务(tke) 版本:2022-05-01 #### 容器服务(tke) 版本:2018-05-25 ##### 第 174 次发布 发布时间:2024-06-26 01:25:37 本次发布包含了以下内容: 改善已有的文档。 修改数据结构: - [PrometheusAgentInfo](https://cloud.tencent.com/document/api/457/31866#PrometheusAgentInfo) - 新增成员:Region #### 数据开发治理平台 WeData(wedata) 版本:2021-08-20 ##### 第 98 次发布 发布时间:2024-06-26 01:28:35 本次发布包含了以下内容: 改善已有的文档。 新增接口: - [UploadResource](https://cloud.tencent.com/document/api/1267/107737) 新增数据结构: - [UploadResourceRequestInfo](https://cloud.tencent.com/document/api/1267/76336#UploadResourceRequestInfo) - [UserFileDTONew](https://cloud.tencent.com/document/api/1267/76336#UserFileDTONew) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]> Co-authored-by: Alex Boten <[email protected]>
**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.--> The following PR introduces multiple different metrics at a datacenter level. It takes advantage of processing thats already done at the cluster, host, vm, and datastore level in order to aggregate datacenter level metrics. ``` - vcenter.datacenter.cluster.count status={red/green/yellow, gray} - vcenter.datacenter.vm.count status={red/green/yellow, gray} power_state={on/off/suspended} - vcenter.datacenter.datastore.count status={red/green/yellow, gray} - vcenter.datacenter.host.count status={red/green/yellow, gray} power_state={on/off/standby/unknown} - vcenter.datacenter.disk.space disk_state={used/available} - vcenter.datacenter.cpu.limit - vcenter.datacenter.memory.limit ``` **Link to tracking Issue:** #33607 **Testing:** <Describe what testing was performed and which tests were added.> Tested against a live environment to make sure all values matched up. Golden testing files have been updated. **Documentation:** <Describe the documentation added.> All documentation was generated through mdatagen
To also test different numbers of ResourceMetrics, ScopeMetrics, and Datapoints **Description:** We want to be able to check how changes affect loadbalancing performance. However, the previous benchmarks only varied the number of Metrics, not the number of ResourceMetrics, ScopeMetrics, or Datapoints. This change adds all of those as variable parameters, and creates a set of combinations to test. **Link to tracking Issue:** 32513 **Testing:** Example of the output from the new benchmarks: ``` Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkConsumeMetrics$ github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter goos: linux goarch: amd64 pkg: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter cpu: Intel(R) Xeon(R) CPU E5-2687W v4 @ 3.00GHz BenchmarkConsumeMetrics/service/1E_1RM_1SM_100M-24 8316 154195 ns/op 84310 B/op 1630 allocs/op BenchmarkConsumeMetrics/service/1E_1RM_1SM_500M-24 1981 595325 ns/op 419667 B/op 8030 allocs/op BenchmarkConsumeMetrics/service/1E_1RM_1SM_1000M-24 739 1434037 ns/op 821894 B/op 16030 allocs/op BenchmarkConsumeMetrics/service/1E_1RM_3SM_33M-24 5947 170018 ns/op 83690 B/op 1626 allocs/op BenchmarkConsumeMetrics/service/1E_1RM_3SM_166M-24 1599 640499 ns/op 419272 B/op 8010 allocs/op BenchmarkConsumeMetrics/service/1E_1RM_3SM_333M-24 657 1595211 ns/op 837953 B/op 16026 allocs/op BenchmarkConsumeMetrics/service/1E_3RM_1SM_33M-24 8799 162140 ns/op 84503 B/op 1658 allocs/op BenchmarkConsumeMetrics/service/1E_3RM_1SM_166M-24 1227 837257 ns/op 420115 B/op 8042 allocs/op BenchmarkConsumeMetrics/service/1E_3RM_1SM_333M-24 692 1529031 ns/op 838752 B/op 16058 allocs/op BenchmarkConsumeMetrics/service/1E_3RM_3SM_11M-24 7893 135443 ns/op 86209 B/op 1694 allocs/op BenchmarkConsumeMetrics/service/1E_3RM_3SM_55M-24 1858 749247 ns/op 408812 B/op 8030 allocs/op BenchmarkConsumeMetrics/service/1E_3RM_3SM_111M-24 880 1225396 ns/op 828115 B/op 16094 allocs/op BenchmarkConsumeMetrics/service/5E_1RM_1SM_100M-24 9862 115032 ns/op 84310 B/op 1630 allocs/op BenchmarkConsumeMetrics/service/5E_1RM_1SM_500M-24 1960 558488 ns/op 419670 B/op 8030 allocs/op BenchmarkConsumeMetrics/service/5E_1RM_1SM_1000M-24 848 1405581 ns/op 821868 B/op 16030 allocs/op BenchmarkConsumeMetrics/service/5E_1RM_3SM_33M-24 6792 168208 ns/op 83702 B/op 1626 allocs/op BenchmarkConsumeMetrics/service/5E_1RM_3SM_166M-24 1969 680526 ns/op 419289 B/op 8010 allocs/op BenchmarkConsumeMetrics/service/5E_1RM_3SM_333M-24 1004 1392388 ns/op 837935 B/op 16026 allocs/op BenchmarkConsumeMetrics/service/5E_3RM_1SM_33M-24 9571 128435 ns/op 84656 B/op 1664 allocs/op BenchmarkConsumeMetrics/service/5E_3RM_1SM_166M-24 1546 789705 ns/op 420226 B/op 8048 allocs/op BenchmarkConsumeMetrics/service/5E_3RM_1SM_333M-24 825 1537456 ns/op 838878 B/op 16064 allocs/op BenchmarkConsumeMetrics/service/5E_3RM_3SM_11M-24 6825 163186 ns/op 86549 B/op 1706 allocs/op BenchmarkConsumeMetrics/service/5E_3RM_3SM_55M-24 1929 657924 ns/op 408918 B/op 8036 allocs/op BenchmarkConsumeMetrics/service/5E_3RM_3SM_111M-24 950 1154278 ns/op 828244 B/op 16100 allocs/op BenchmarkConsumeMetrics/service/10E_1RM_1SM_100M-24 8512 160384 ns/op 84311 B/op 1630 allocs/op BenchmarkConsumeMetrics/service/10E_1RM_1SM_500M-24 1621 699378 ns/op 419710 B/op 8030 allocs/op BenchmarkConsumeMetrics/service/10E_1RM_1SM_1000M-24 1036 1099293 ns/op 821803 B/op 16030 allocs/op BenchmarkConsumeMetrics/service/10E_1RM_3SM_33M-24 8652 130067 ns/op 83678 B/op 1626 allocs/op BenchmarkConsumeMetrics/service/10E_1RM_3SM_166M-24 2067 674521 ns/op 419284 B/op 8010 allocs/op BenchmarkConsumeMetrics/service/10E_1RM_3SM_333M-24 808 1246198 ns/op 837887 B/op 16026 allocs/op BenchmarkConsumeMetrics/service/10E_3RM_1SM_33M-24 8563 156645 ns/op 84828 B/op 1670 allocs/op BenchmarkConsumeMetrics/service/10E_3RM_1SM_166M-24 2100 599585 ns/op 420185 B/op 8048 allocs/op BenchmarkConsumeMetrics/service/10E_3RM_1SM_333M-24 720 1466939 ns/op 839022 B/op 16070 allocs/op BenchmarkConsumeMetrics/service/10E_3RM_3SM_11M-24 8817 135700 ns/op 86540 B/op 1706 allocs/op BenchmarkConsumeMetrics/service/10E_3RM_3SM_55M-24 1321 825115 ns/op 408976 B/op 8036 allocs/op BenchmarkConsumeMetrics/service/10E_3RM_3SM_111M-24 738 1511813 ns/op 828428 B/op 16106 allocs/op BenchmarkConsumeMetrics/resource/1E_1RM_1SM_100M-24 7755 160514 ns/op 84379 B/op 1633 allocs/op BenchmarkConsumeMetrics/resource/1E_1RM_1SM_500M-24 2239 555310 ns/op 419724 B/op 8033 allocs/op BenchmarkConsumeMetrics/resource/1E_1RM_1SM_1000M-24 837 1245648 ns/op 821867 B/op 16033 allocs/op BenchmarkConsumeMetrics/resource/1E_1RM_3SM_33M-24 7338 159220 ns/op 83760 B/op 1629 allocs/op BenchmarkConsumeMetrics/resource/1E_1RM_3SM_166M-24 1262 853717 ns/op 419369 B/op 8013 allocs/op BenchmarkConsumeMetrics/resource/1E_1RM_3SM_333M-24 945 1146094 ns/op 837925 B/op 16029 allocs/op BenchmarkConsumeMetrics/resource/1E_3RM_1SM_33M-24 5770 181177 ns/op 84685 B/op 1667 allocs/op BenchmarkConsumeMetrics/resource/1E_3RM_1SM_166M-24 1549 649104 ns/op 420273 B/op 8051 allocs/op BenchmarkConsumeMetrics/resource/1E_3RM_1SM_333M-24 979 1391088 ns/op 838927 B/op 16067 allocs/op BenchmarkConsumeMetrics/resource/1E_3RM_3SM_11M-24 9888 159606 ns/op 86399 B/op 1703 allocs/op BenchmarkConsumeMetrics/resource/1E_3RM_3SM_55M-24 1897 580950 ns/op 408949 B/op 8039 allocs/op BenchmarkConsumeMetrics/resource/1E_3RM_3SM_111M-24 932 1131839 ns/op 828278 B/op 16103 allocs/op BenchmarkConsumeMetrics/resource/5E_1RM_1SM_100M-24 9764 143472 ns/op 84383 B/op 1633 allocs/op BenchmarkConsumeMetrics/resource/5E_1RM_1SM_500M-24 1848 705359 ns/op 419777 B/op 8033 allocs/op BenchmarkConsumeMetrics/resource/5E_1RM_1SM_1000M-24 799 1434908 ns/op 821940 B/op 16033 allocs/op BenchmarkConsumeMetrics/resource/5E_1RM_3SM_33M-24 8358 144037 ns/op 83750 B/op 1629 allocs/op BenchmarkConsumeMetrics/resource/5E_1RM_3SM_166M-24 1338 814019 ns/op 419358 B/op 8013 allocs/op BenchmarkConsumeMetrics/resource/5E_1RM_3SM_333M-24 667 1597889 ns/op 838022 B/op 16029 allocs/op BenchmarkConsumeMetrics/resource/5E_3RM_1SM_33M-24 8943 158059 ns/op 85008 B/op 1679 allocs/op BenchmarkConsumeMetrics/resource/5E_3RM_1SM_166M-24 1654 672129 ns/op 420353 B/op 8057 allocs/op BenchmarkConsumeMetrics/resource/5E_3RM_1SM_333M-24 772 1557139 ns/op 839164 B/op 16079 allocs/op BenchmarkConsumeMetrics/resource/5E_3RM_3SM_11M-24 6537 180776 ns/op 86752 B/op 1715 allocs/op BenchmarkConsumeMetrics/resource/5E_3RM_3SM_55M-24 1174 878871 ns/op 409266 B/op 8051 allocs/op BenchmarkConsumeMetrics/resource/5E_3RM_3SM_111M-24 969 1140052 ns/op 828586 B/op 16115 allocs/op BenchmarkConsumeMetrics/resource/10E_1RM_1SM_100M-24 6519 154740 ns/op 84373 B/op 1633 allocs/op BenchmarkConsumeMetrics/resource/10E_1RM_1SM_500M-24 2044 557631 ns/op 419733 B/op 8033 allocs/op BenchmarkConsumeMetrics/resource/10E_1RM_1SM_1000M-24 591 1712663 ns/op 821975 B/op 16033 allocs/op BenchmarkConsumeMetrics/resource/10E_1RM_3SM_33M-24 8852 158954 ns/op 83767 B/op 1629 allocs/op BenchmarkConsumeMetrics/resource/10E_1RM_3SM_166M-24 1380 749834 ns/op 419363 B/op 8013 allocs/op BenchmarkConsumeMetrics/resource/10E_1RM_3SM_333M-24 628 1615069 ns/op 838072 B/op 16029 allocs/op BenchmarkConsumeMetrics/resource/10E_3RM_1SM_33M-24 6498 175692 ns/op 85008 B/op 1679 allocs/op BenchmarkConsumeMetrics/resource/10E_3RM_1SM_166M-24 1542 663767 ns/op 420502 B/op 8063 allocs/op BenchmarkConsumeMetrics/resource/10E_3RM_1SM_333M-24 705 1489555 ns/op 839046 B/op 16073 allocs/op BenchmarkConsumeMetrics/resource/10E_3RM_3SM_11M-24 8635 132854 ns/op 86736 B/op 1715 allocs/op BenchmarkConsumeMetrics/resource/10E_3RM_3SM_55M-24 1669 726338 ns/op 409113 B/op 8045 allocs/op BenchmarkConsumeMetrics/resource/10E_3RM_3SM_111M-24 880 1445868 ns/op 828689 B/op 16115 allocs/op BenchmarkConsumeMetrics/metric/1E_1RM_1SM_100M-24 1773 597553 ns/op 134716 B/op 3112 allocs/op BenchmarkConsumeMetrics/metric/1E_1RM_1SM_500M-24 253 4341556 ns/op 676283 B/op 15171 allocs/op BenchmarkConsumeMetrics/metric/1E_1RM_1SM_1000M-24 105 9725885 ns/op 1373267 B/op 29854 allocs/op BenchmarkConsumeMetrics/metric/1E_1RM_3SM_33M-24 2011 523729 ns/op 136888 B/op 3164 allocs/op BenchmarkConsumeMetrics/metric/1E_1RM_3SM_166M-24 276 4016008 ns/op 715068 B/op 16285 allocs/op BenchmarkConsumeMetrics/metric/1E_1RM_3SM_333M-24 114 9818961 ns/op 1479182 B/op 32926 allocs/op BenchmarkConsumeMetrics/metric/1E_3RM_1SM_33M-24 2424 470926 ns/op 138238 B/op 3201 allocs/op BenchmarkConsumeMetrics/metric/1E_3RM_1SM_166M-24 232 4350560 ns/op 728698 B/op 16630 allocs/op BenchmarkConsumeMetrics/metric/1E_3RM_1SM_333M-24 100 10817668 ns/op 1535245 B/op 34199 allocs/op BenchmarkConsumeMetrics/metric/1E_3RM_3SM_11M-24 2523 471705 ns/op 142912 B/op 3325 allocs/op BenchmarkConsumeMetrics/metric/1E_3RM_3SM_55M-24 337 3206410 ns/op 751098 B/op 17206 allocs/op BenchmarkConsumeMetrics/metric/1E_3RM_3SM_111M-24 130 8071181 ns/op 1602315 B/op 35997 allocs/op BenchmarkConsumeMetrics/metric/5E_1RM_1SM_100M-24 2492 442061 ns/op 136419 B/op 3192 allocs/op BenchmarkConsumeMetrics/metric/5E_1RM_1SM_500M-24 397 2696737 ns/op 675084 B/op 15255 allocs/op BenchmarkConsumeMetrics/metric/5E_1RM_1SM_1000M-24 214 5064444 ns/op 1376315 B/op 29910 allocs/op BenchmarkConsumeMetrics/metric/5E_1RM_3SM_33M-24 2636 425315 ns/op 140510 B/op 3300 allocs/op BenchmarkConsumeMetrics/metric/5E_1RM_3SM_166M-24 435 2562126 ns/op 714515 B/op 16397 allocs/op BenchmarkConsumeMetrics/metric/5E_1RM_3SM_333M-24 165 6281069 ns/op 1491105 B/op 33291 allocs/op BenchmarkConsumeMetrics/metric/5E_3RM_1SM_33M-24 2157 500601 ns/op 139394 B/op 3288 allocs/op BenchmarkConsumeMetrics/metric/5E_3RM_1SM_166M-24 432 2811334 ns/op 732454 B/op 16778 allocs/op BenchmarkConsumeMetrics/metric/5E_3RM_1SM_333M-24 204 5354481 ns/op 1531852 B/op 34216 allocs/op BenchmarkConsumeMetrics/metric/5E_3RM_3SM_11M-24 2227 500970 ns/op 146582 B/op 3469 allocs/op BenchmarkConsumeMetrics/metric/5E_3RM_3SM_55M-24 313 3250037 ns/op 751348 B/op 17384 allocs/op BenchmarkConsumeMetrics/metric/5E_3RM_3SM_111M-24 182 6877769 ns/op 1613246 B/op 36434 allocs/op BenchmarkConsumeMetrics/metric/10E_1RM_1SM_100M-24 2822 425020 ns/op 139484 B/op 3257 allocs/op BenchmarkConsumeMetrics/metric/10E_1RM_1SM_500M-24 513 2151195 ns/op 678636 B/op 15315 allocs/op BenchmarkConsumeMetrics/metric/10E_1RM_1SM_1000M-24 225 4848433 ns/op 1378208 B/op 30036 allocs/op BenchmarkConsumeMetrics/metric/10E_1RM_3SM_33M-24 1717 590405 ns/op 144393 B/op 3404 allocs/op BenchmarkConsumeMetrics/metric/10E_1RM_3SM_166M-24 414 2510546 ns/op 722837 B/op 16650 allocs/op BenchmarkConsumeMetrics/metric/10E_1RM_3SM_333M-24 219 4926953 ns/op 1500115 B/op 33520 allocs/op BenchmarkConsumeMetrics/metric/10E_3RM_1SM_33M-24 2538 433734 ns/op 145807 B/op 3431 allocs/op BenchmarkConsumeMetrics/metric/10E_3RM_1SM_166M-24 459 2258386 ns/op 743166 B/op 17063 allocs/op BenchmarkConsumeMetrics/metric/10E_3RM_1SM_333M-24 229 5263669 ns/op 1545502 B/op 34552 allocs/op BenchmarkConsumeMetrics/metric/10E_3RM_3SM_11M-24 2936 419635 ns/op 153338 B/op 3605 allocs/op BenchmarkConsumeMetrics/metric/10E_3RM_3SM_55M-24 390 2582186 ns/op 767166 B/op 17769 allocs/op BenchmarkConsumeMetrics/metric/10E_3RM_3SM_111M-24 178 5688235 ns/op 1620693 B/op 36720 allocs/op PASS ok github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter 252.011s ``` **Documentation:** The benchmarks are documented inline in the code
…n relabel config (#32127) **Description:** <Describe what has changed.> Fixing a bug - With the Targetallocator component in prometheus receiver, when prometheus scrape config is updated for metric relabel config with just regex change, the prometheus metrics receiver doesn't update the hash and hence doesn't pick up the metrics relabel config with the new regex. This is because the **regex** struct has unexported fields. This fix similar to the fix made in [opentelemetry-operator](open-telemetry/opentelemetry-operator#2171) fixes this issue by taking into account the unexported fields as well. **Link to tracking Issue:** - #29313 **Testing:** Tested to make sure that just the regex changes in metric relabeling gets picked up with TargetAllocator enabled. Reopening this PR since the old one(#30258) got closed due to inactivity. --------- Co-authored-by: David Ashpole <[email protected]>
…4028) **Description:** <Describe what has changed.> The PR is the fourth in a series to decompose #30673 into more manageable pieces for review. This PR introduces the basic structure for the gRPC health check service, which is an implementation of the [grpc_health_v1 service](https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto). This PR implements the unary `Check` RPC. In order minimize PR size, the streaming `Watch` RPC will be introduced in a followup. **Link to tracking Issue:** #26661 **Testing:** Units / manual **Documentation:** Comments, etc.
**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.--> Configuration validation is done during collector's startup, making it redundant when being called inside component's logic. This PR removes the Validate call done during Podman's receiver start function. **Link to tracking Issue:** <Issue number if applicable> #33498 Context: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/32981/files#r1621849257 **Testing:** <Describe what testing was performed and which tests were added.> Tests moved to the `config_test.go` file following the testdata strategy. **Documentation:** <Describe the documentation added.> --------- Co-authored-by: Andrzej Stencel <[email protected]>
Make room for open-telemetry/opentelemetry-collector#10554 --------- Co-authored-by: Pablo Baeyens <[email protected]>
This PR fixes some more issues in the load tests. Specifically, some of tests were not shutting down gracefully due to zombie processes still lying around after execution and therefore running into the GH actions 10m timeout. **Link to tracking Issue:** no issue **Testing:** not possible on PR level, since the load tests only run on main branch --------- Signed-off-by: Moritz Wiesinger <[email protected]> Co-authored-by: Joao Grassi <[email protected]>
Co-authored-by: Pablo Baeyens <[email protected]>
… size (#32380) **Description:** When having lots of different records of one dimension in the metric, azure by default only returns 10 of them. This setting adds the possibility to overwrite the default and specify a custom number in the config of the receiver. Fixes #32165 **Testing:** Tested fetching metrics with different configs. Do we need a unit test for this? **Documentation:** Added parameter to README
) **Description:** Switch JSON libs to get more performance out of the JSON marshaler used to marshal events. Before: ``` goarch: arm64 pkg: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter Benchmark_pushLogData_10_10_1024-10 11065 106969 ns/op 85002 B/op 1285 allocs/op Benchmark_pushLogData_10_10_8K-10 12757 94831 ns/op 74142 B/op 1120 allocs/op Benchmark_pushLogData_10_10_2M-10 13096 92878 ns/op 73534 B/op 1109 allocs/op Benchmark_pushLogData_10_200_2M-10 650 1797755 ns/op 1460043 B/op 22010 allocs/op Benchmark_pushLogData_100_200_2M-10 63 16883869 ns/op 14664365 B/op 220024 allocs/op Benchmark_pushLogData_100_200_5M-10 61 16599464 ns/op 14769204 B/op 220013 allocs/op Benchmark_pushLogData_compressed_10_10_1024-10 1755 710944 ns/op 3102954 B/op 1193 allocs/op Benchmark_pushLogData_compressed_10_10_8K-10 6984 167371 ns/op 75065 B/op 1109 allocs/op Benchmark_pushLogData_compressed_10_10_2M-10 7285 165637 ns/op 74095 B/op 1109 allocs/op Benchmark_pushLogData_compressed_10_200_2M-10 334 3591145 ns/op 1465106 B/op 22010 allocs/op Benchmark_pushLogData_compressed_100_200_2M-10 31 36341606 ns/op 14599767 B/op 220015 allocs/op Benchmark_pushLogData_compressed_100_200_5M-10 31 36417519 ns/op 14598477 B/op 220014 allocs/op Benchmark_pushMetricData_10_10_1024-10 8422 142076 ns/op 87314 B/op 1810 allocs/op Benchmark_pushMetricData_10_10_8K-10 8280 143053 ns/op 94532 B/op 1810 allocs/op Benchmark_pushMetricData_10_10_2M-10 4083 300601 ns/op 2185220 B/op 1812 allocs/op Benchmark_pushMetricData_10_200_2M-10 397 3053150 ns/op 3818987 B/op 36012 allocs/op Benchmark_pushMetricData_100_200_2M-10 37 33856887 ns/op 21432556 B/op 360034 allocs/op Benchmark_pushMetricData_100_200_5M-10 30 41485322 ns/op 27750779 B/op 360034 allocs/op Benchmark_pushMetricData_compressed_10_10_1024-10 3810 309415 ns/op 89075 B/op 1810 allocs/op Benchmark_pushMetricData_compressed_10_10_8K-10 3828 307569 ns/op 95172 B/op 1810 allocs/op Benchmark_pushMetricData_compressed_10_10_2M-10 2688 453805 ns/op 2184373 B/op 1811 allocs/op Benchmark_pushMetricData_compressed_10_200_2M-10 177 6467414 ns/op 3815937 B/op 36012 allocs/op Benchmark_pushMetricData_compressed_100_200_2M-10 16 66096492 ns/op 19305614 B/op 360017 allocs/op Benchmark_pushMetricData_compressed_100_200_5M-10 16 65041961 ns/op 22450356 B/op 360017 allocs/op Benchmark_pushMetricData_10_10_1024_MultiMetric-10 3320 366943 ns/op 249636 B/op 3934 allocs/op Benchmark_pushMetricData_10_10_8K_MultiMetric-10 3319 361330 ns/op 249566 B/op 3934 allocs/op Benchmark_pushMetricData_10_10_2M_MultiMetric-10 3318 358159 ns/op 249583 B/op 3934 allocs/op Benchmark_pushMetricData_10_200_2M_MultiMetric-10 165 7502432 ns/op 4989958 B/op 78073 allocs/op Benchmark_pushMetricData_100_200_2M_MultiMetric-10 16 69800424 ns/op 49863629 B/op 780369 allocs/op Benchmark_pushMetricData_100_200_5M_MultiMetric-10 15 79718683 ns/op 49880688 B/op 780368 allocs/op Benchmark_pushMetricData_compressed_10_10_1024_MultiMetric-10 2259 539714 ns/op 250326 B/op 3934 allocs/op Benchmark_pushMetricData_compressed_10_10_8K_MultiMetric-10 2360 540889 ns/op 250269 B/op 3934 allocs/op Benchmark_pushMetricData_compressed_10_10_2M_MultiMetric-10 2355 505609 ns/op 249576 B/op 3934 allocs/op Benchmark_pushMetricData_compressed_10_200_2M_MultiMetric-10 100 10467474 ns/op 5000816 B/op 78072 allocs/op Benchmark_pushMetricData_compressed_100_200_2M_MultiMetric-10 10 103846029 ns/op 49736248 B/op 780363 allocs/op Benchmark_pushMetricData_compressed_100_200_5M_MultiMetric-10 10 102504771 ns/op 49734080 B/op 780358 allocs/op BenchmarkConsumeLogsRejected-10 1354 903909 ns/op 731212 B/op 11012 allocs/op ``` After: ``` goarch: arm64 pkg: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter Benchmark_pushLogData_10_10_1024-10 14031 84592 ns/op 74842 B/op 821 allocs/op Benchmark_pushLogData_10_10_8K-10 16302 72281 ns/op 65259 B/op 716 allocs/op Benchmark_pushLogData_10_10_2M-10 16766 71721 ns/op 64664 B/op 709 allocs/op Benchmark_pushLogData_10_200_2M-10 824 1448491 ns/op 1314978 B/op 14014 allocs/op Benchmark_pushLogData_100_200_2M-10 73 13899896 ns/op 13208607 B/op 140034 allocs/op Benchmark_pushLogData_100_200_5M-10 78 13690774 ns/op 13282520 B/op 140024 allocs/op Benchmark_pushLogData_compressed_10_10_1024-10 1940 570420 ns/op 2538497 B/op 784 allocs/op Benchmark_pushLogData_compressed_10_10_8K-10 8893 133297 ns/op 66024 B/op 709 allocs/op Benchmark_pushLogData_compressed_10_10_2M-10 8931 134021 ns/op 65465 B/op 709 allocs/op Benchmark_pushLogData_compressed_10_200_2M-10 385 3116794 ns/op 1315532 B/op 14015 allocs/op Benchmark_pushLogData_compressed_100_200_2M-10 37 30985287 ns/op 13149922 B/op 140035 allocs/op Benchmark_pushLogData_compressed_100_200_5M-10 38 31037704 ns/op 13149626 B/op 140033 allocs/op Benchmark_pushMetricData_10_10_1024-10 7464 152713 ns/op 83334 B/op 1410 allocs/op Benchmark_pushMetricData_10_10_8K-10 8011 152011 ns/op 90480 B/op 1410 allocs/op Benchmark_pushMetricData_10_10_2M-10 3855 327686 ns/op 2181771 B/op 1417 allocs/op Benchmark_pushMetricData_10_200_2M-10 367 3238910 ns/op 3735843 B/op 28020 allocs/op Benchmark_pushMetricData_100_200_2M-10 37 30327247 ns/op 20711030 B/op 280055 allocs/op Benchmark_pushMetricData_100_200_5M-10 37 30944880 ns/op 27001581 B/op 280051 allocs/op Benchmark_pushMetricData_compressed_10_10_1024-10 4766 250411 ns/op 84060 B/op 1410 allocs/op Benchmark_pushMetricData_compressed_10_10_8K-10 4627 245920 ns/op 91252 B/op 1410 allocs/op Benchmark_pushMetricData_compressed_10_10_2M-10 2776 411300 ns/op 2185072 B/op 1418 allocs/op Benchmark_pushMetricData_compressed_10_200_2M-10 246 4832722 ns/op 3737099 B/op 28022 allocs/op Benchmark_pushMetricData_compressed_100_200_2M-10 25 46085088 ns/op 18552164 B/op 280037 allocs/op Benchmark_pushMetricData_compressed_100_200_5M-10 25 45760102 ns/op 21754765 B/op 280037 allocs/op Benchmark_pushMetricData_10_10_1024_MultiMetric-10 4110 284592 ns/op 153998 B/op 1835 allocs/op Benchmark_pushMetricData_10_10_8K_MultiMetric-10 4045 284535 ns/op 154088 B/op 1835 allocs/op Benchmark_pushMetricData_10_10_2M_MultiMetric-10 4251 288325 ns/op 154016 B/op 1835 allocs/op Benchmark_pushMetricData_10_200_2M_MultiMetric-10 206 5787823 ns/op 3077042 B/op 36068 allocs/op Benchmark_pushMetricData_100_200_2M_MultiMetric-10 19 57907099 ns/op 30804149 B/op 360348 allocs/op Benchmark_pushMetricData_100_200_5M_MultiMetric-10 19 57568178 ns/op 30805770 B/op 360359 allocs/op Benchmark_pushMetricData_compressed_10_10_1024_MultiMetric-10 3140 370639 ns/op 154425 B/op 1835 allocs/op Benchmark_pushMetricData_compressed_10_10_8K_MultiMetric-10 3278 368228 ns/op 154187 B/op 1835 allocs/op Benchmark_pushMetricData_compressed_10_10_2M_MultiMetric-10 3106 375295 ns/op 154715 B/op 1835 allocs/op Benchmark_pushMetricData_compressed_10_200_2M_MultiMetric-10 168 7128948 ns/op 3077226 B/op 36067 allocs/op Benchmark_pushMetricData_compressed_100_200_2M_MultiMetric-10 15 70611422 ns/op 30676065 B/op 360371 allocs/op Benchmark_pushMetricData_compressed_100_200_5M_MultiMetric-10 15 70289731 ns/op 30673553 B/op 360355 allocs/op BenchmarkConsumeLogsRejected-10 1681 716325 ns/op 655652 B/op 7013 allocs/op PASS ok github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter 49.913s ``` Benchstat ``` goarch: arm64 pkg: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter │ before.txt │ after.txt │ │ sec/op │ sec/op vs base │ _pushLogData_10_10_1024-10 106.97µ ± ∞ ¹ 84.59µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_8K-10 94.83µ ± ∞ ¹ 72.28µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_2M-10 92.88µ ± ∞ ¹ 71.72µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_200_2M-10 1.798m ± ∞ ¹ 1.448m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_100_200_2M-10 16.88m ± ∞ ¹ 13.90m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_100_200_5M-10 16.60m ± ∞ ¹ 13.69m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_1024-10 710.9µ ± ∞ ¹ 570.4µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_8K-10 167.4µ ± ∞ ¹ 133.3µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_2M-10 165.6µ ± ∞ ¹ 134.0µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_200_2M-10 3.591m ± ∞ ¹ 3.117m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_2M-10 36.34m ± ∞ ¹ 30.99m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_5M-10 36.42m ± ∞ ¹ 31.04m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024-10 142.1µ ± ∞ ¹ 152.7µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K-10 143.1µ ± ∞ ¹ 152.0µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M-10 300.6µ ± ∞ ¹ 327.7µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M-10 3.053m ± ∞ ¹ 3.239m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_2M-10 33.86m ± ∞ ¹ 30.33m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_5M-10 41.49m ± ∞ ¹ 30.94m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_1024-10 309.4µ ± ∞ ¹ 250.4µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K-10 307.6µ ± ∞ ¹ 245.9µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M-10 453.8µ ± ∞ ¹ 411.3µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M-10 6.467m ± ∞ ¹ 4.833m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_2M-10 66.10m ± ∞ ¹ 46.09m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_5M-10 65.04m ± ∞ ¹ 45.76m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024_MultiMetric-10 366.9µ ± ∞ ¹ 284.6µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K_MultiMetric-10 361.3µ ± ∞ ¹ 284.5µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M_MultiMetric-10 358.2µ ± ∞ ¹ 288.3µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M_MultiMetric-10 7.502m ± ∞ ¹ 5.788m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_2M_MultiMetric-10 69.80m ± ∞ ¹ 57.91m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_5M_MultiMetric-10 79.72m ± ∞ ¹ 57.57m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_1024_MultiMetric-10 539.7µ ± ∞ ¹ 370.6µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K_MultiMetric-10 540.9µ ± ∞ ¹ 368.2µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M_MultiMetric-10 505.6µ ± ∞ ¹ 375.3µ ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M_MultiMetric-10 10.467m ± ∞ ¹ 7.129m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_2M_MultiMetric-10 103.85m ± ∞ ¹ 70.61m ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_5M_MultiMetric-10 102.50m ± ∞ ¹ 70.29m ± ∞ ¹ ~ (p=1.000 n=1) ² ConsumeLogsRejected-10 903.9µ ± ∞ ¹ 716.3µ ± ∞ ¹ ~ (p=1.000 n=1) ² geomean 2.333m 1.876m -19.60% ¹ need >= 6 samples for confidence interval at level 0.95 ² need >= 4 samples to detect a difference at alpha level 0.05 │ before.txt │ after.txt │ │ B/op │ B/op vs base │ _pushLogData_10_10_1024-10 83.01Ki ± ∞ ¹ 73.09Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_8K-10 72.40Ki ± ∞ ¹ 63.73Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_2M-10 71.81Ki ± ∞ ¹ 63.15Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_200_2M-10 1.392Mi ± ∞ ¹ 1.254Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_100_200_2M-10 13.99Mi ± ∞ ¹ 12.60Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_100_200_5M-10 14.09Mi ± ∞ ¹ 12.67Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_1024-10 2.959Mi ± ∞ ¹ 2.421Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_8K-10 73.31Ki ± ∞ ¹ 64.48Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_2M-10 72.36Ki ± ∞ ¹ 63.93Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_200_2M-10 1.397Mi ± ∞ ¹ 1.255Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_2M-10 13.92Mi ± ∞ ¹ 12.54Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_5M-10 13.92Mi ± ∞ ¹ 12.54Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024-10 85.27Ki ± ∞ ¹ 81.38Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K-10 92.32Ki ± ∞ ¹ 88.36Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M-10 2.084Mi ± ∞ ¹ 2.081Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M-10 3.642Mi ± ∞ ¹ 3.563Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_2M-10 20.44Mi ± ∞ ¹ 19.75Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_5M-10 26.47Mi ± ∞ ¹ 25.75Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_1024-10 86.99Ki ± ∞ ¹ 82.09Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K-10 92.94Ki ± ∞ ¹ 89.11Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M-10 2.083Mi ± ∞ ¹ 2.084Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M-10 3.639Mi ± ∞ ¹ 3.564Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_2M-10 18.41Mi ± ∞ ¹ 17.69Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_5M-10 21.41Mi ± ∞ ¹ 20.75Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024_MultiMetric-10 243.8Ki ± ∞ ¹ 150.4Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K_MultiMetric-10 243.7Ki ± ∞ ¹ 150.5Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M_MultiMetric-10 243.7Ki ± ∞ ¹ 150.4Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M_MultiMetric-10 4.759Mi ± ∞ ¹ 2.934Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_2M_MultiMetric-10 47.55Mi ± ∞ ¹ 29.38Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_5M_MultiMetric-10 47.57Mi ± ∞ ¹ 29.38Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_1024_MultiMetric-10 244.5Ki ± ∞ ¹ 150.8Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K_MultiMetric-10 244.4Ki ± ∞ ¹ 150.6Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M_MultiMetric-10 243.7Ki ± ∞ ¹ 151.1Ki ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M_MultiMetric-10 4.769Mi ± ∞ ¹ 2.935Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_2M_MultiMetric-10 47.43Mi ± ∞ ¹ 29.25Mi ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_5M_MultiMetric-10 47.43Mi ± ∞ ¹ 29.25Mi ± ∞ ¹ ~ (p=1.000 n=1) ² ConsumeLogsRejected-10 714.1Ki ± ∞ ¹ 640.3Ki ± ∞ ¹ ~ (p=1.000 n=1) ² geomean 1.514Mi 1.229Mi -18.87% ¹ need >= 6 samples for confidence interval at level 0.95 ² need >= 4 samples to detect a difference at alpha level 0.05 │ before.txt │ after.txt │ │ allocs/op │ allocs/op vs base │ _pushLogData_10_10_1024-10 1285.0 ± ∞ ¹ 821.0 ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_8K-10 1120.0 ± ∞ ¹ 716.0 ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_10_2M-10 1109.0 ± ∞ ¹ 709.0 ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_10_200_2M-10 22.01k ± ∞ ¹ 14.01k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_100_200_2M-10 220.0k ± ∞ ¹ 140.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_100_200_5M-10 220.0k ± ∞ ¹ 140.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_1024-10 1193.0 ± ∞ ¹ 784.0 ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_8K-10 1109.0 ± ∞ ¹ 709.0 ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_10_2M-10 1109.0 ± ∞ ¹ 709.0 ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_10_200_2M-10 22.01k ± ∞ ¹ 14.02k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_2M-10 220.0k ± ∞ ¹ 140.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushLogData_compressed_100_200_5M-10 220.0k ± ∞ ¹ 140.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024-10 1.810k ± ∞ ¹ 1.410k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K-10 1.810k ± ∞ ¹ 1.410k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M-10 1.812k ± ∞ ¹ 1.417k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M-10 36.01k ± ∞ ¹ 28.02k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_2M-10 360.0k ± ∞ ¹ 280.1k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_5M-10 360.0k ± ∞ ¹ 280.1k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_1024-10 1.810k ± ∞ ¹ 1.410k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K-10 1.810k ± ∞ ¹ 1.410k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M-10 1.811k ± ∞ ¹ 1.418k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M-10 36.01k ± ∞ ¹ 28.02k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_2M-10 360.0k ± ∞ ¹ 280.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_5M-10 360.0k ± ∞ ¹ 280.0k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_1024_MultiMetric-10 3.934k ± ∞ ¹ 1.835k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_8K_MultiMetric-10 3.934k ± ∞ ¹ 1.835k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_10_2M_MultiMetric-10 3.934k ± ∞ ¹ 1.835k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_10_200_2M_MultiMetric-10 78.07k ± ∞ ¹ 36.07k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_2M_MultiMetric-10 780.4k ± ∞ ¹ 360.3k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_100_200_5M_MultiMetric-10 780.4k ± ∞ ¹ 360.4k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_1024_MultiMetric-10 3.934k ± ∞ ¹ 1.835k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_8K_MultiMetric-10 3.934k ± ∞ ¹ 1.835k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_10_2M_MultiMetric-10 3.934k ± ∞ ¹ 1.835k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_10_200_2M_MultiMetric-10 78.07k ± ∞ ¹ 36.07k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_2M_MultiMetric-10 780.4k ± ∞ ¹ 360.4k ± ∞ ¹ ~ (p=1.000 n=1) ² _pushMetricData_compressed_100_200_5M_MultiMetric-10 780.4k ± ∞ ¹ 360.4k ± ∞ ¹ ~ (p=1.000 n=1) ² ConsumeLogsRejected-10 11.012k ± ∞ ¹ 7.013k ± ∞ ¹ ~ (p=1.000 n=1) ² geomean 18.95k 11.64k -38.56% ¹ need >= 6 samples for confidence interval at level 0.95 ² need >= 4 samples to detect a difference at alpha level 0.05 ```
**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.--> The following PR enables the following metrics by default ``` vcenter.vm.cpu.readiness vcenter.host.network.packet.drop.rate vcenter.host.cpu.capacity vcenter.host.cpu.reserve.capacity ``` **Link to tracking Issue:** <Issue number if applicable> **Testing:** <Describe what testing was performed and which tests were added.> Updated golden files **Documentation:** <Describe the documentation added.> Updated documentation using make generate
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )