Skip to content
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

resourcedetectionprocessor: use opentelemetry-go for host id detection #18740

Merged
merged 2 commits into from
Jun 12, 2023

Conversation

sumo-drosiek
Copy link
Member

@sumo-drosiek sumo-drosiek commented Feb 17, 2023

Description:

Use openelemetry-go to get HostID

This is supplementary for #18618 as result of #18618 (review)

Link to tracking Issue: #18533

Testing: N/A

Documentation: N/A

@runforesight
Copy link

runforesight bot commented Feb 17, 2023

Foresight Summary

    
Major Impacts

build-and-test-windows duration(5 seconds) has decreased 42 minutes 8 seconds compared to main branch avg(42 minutes 13 seconds).
View More Details

⭕  build-and-test-windows workflow has finished in 5 seconds (41 minutes 57 seconds less than main branch avg.) and finished at 20th Feb, 2023.


Job Failed Steps Tests
windows-unittest-matrix -     🔗  N/A See Details
windows-unittest -     🔗  N/A See Details

✅  check-links workflow has finished in 42 seconds (1 minute 48 seconds less than main branch avg.) and finished at 20th Feb, 2023.


Job Failed Steps Tests
changed files -     🔗  N/A See Details
check-links -     🔗  N/A See Details

✅  telemetrygen workflow has finished in 59 seconds (2 minutes 4 seconds less than main branch avg.) and finished at 20th Feb, 2023.


Job Failed Steps Tests
build-dev -     🔗  N/A See Details
publish-latest -     🔗  N/A See Details
publish-stable -     🔗  N/A See Details

✅  changelog workflow has finished in 3 minutes 54 seconds (⚠️ 1 minute 19 seconds more than main branch avg.) and finished at 20th Feb, 2023.


Job Failed Steps Tests
changelog -     🔗  N/A See Details

✅  prometheus-compliance-tests workflow has finished in 13 minutes 8 seconds (⚠️ 4 minutes 15 seconds more than main branch avg.) and finished at 20th Feb, 2023.


Job Failed Steps Tests
prometheus-compliance-tests -     🔗  ✅ 21  ❌ 0  ⏭ 0    🔗 See Details

✅  build-and-test workflow has finished in 45 minutes 28 seconds (21 minutes 52 seconds less than main branch avg.) and finished at 20th Feb, 2023.


Job Failed Steps Tests
correctness-metrics -     🔗  ✅ 2  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.19, internal) -     🔗  ✅ 561  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.20, internal) -     🔗  ✅ 561  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.19, extension) -     🔗  ✅ 537  ❌ 0  ⏭ 0    🔗 See Details
correctness-traces -     🔗  ✅ 17  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.20, extension) -     🔗  ✅ 537  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.20, processor) -     🔗  ✅ 1509  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.19, processor) -     🔗  ✅ 1509  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.20, receiver-0) -     🔗  ✅ 2575  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.19, receiver-0) -     🔗  ✅ 2575  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.20, exporter) -     🔗  ✅ 2455  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.20, receiver-1) -     🔗  ✅ 1928  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.19, other) -     🔗  ✅ 4745  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.20, other) -     🔗  ✅ 4745  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.19, receiver-1) -     🔗  ✅ 1928  ❌ 0  ⏭ 0    🔗 See Details
unittest-matrix (1.19, exporter) -     🔗  ✅ 2455  ❌ 0  ⏭ 0    🔗 See Details
integration-tests -     🔗  ✅ 55  ❌ 0  ⏭ 0    🔗 See Details
setup-environment -     🔗  N/A See Details
check-codeowners -     🔗  N/A See Details
check-collector-module-version -     🔗  N/A See Details
checks -     🔗  N/A See Details
build-examples -     🔗  N/A See Details
lint-matrix (receiver-0) -     🔗  N/A See Details
lint-matrix (receiver-1) -     🔗  N/A See Details
lint-matrix (processor) -     🔗  N/A See Details
lint-matrix (exporter) -     🔗  N/A See Details
lint-matrix (extension) -     🔗  N/A See Details
lint-matrix (internal) -     🔗  N/A See Details
lint-matrix (other) -     🔗  N/A See Details
unittest (1.20) -     🔗  N/A See Details
unittest (1.19) -     🔗  N/A See Details
lint -     🔗  N/A See Details
cross-compile (darwin, amd64) -     🔗  N/A See Details
cross-compile (darwin, arm64) -     🔗  N/A See Details
cross-compile (linux, 386) -     🔗  N/A See Details
cross-compile (linux, amd64) -     🔗  N/A See Details
cross-compile (linux, arm64) -     🔗  N/A See Details
cross-compile (linux, arm) -     🔗  N/A See Details
cross-compile (linux, ppc64le) -     🔗  N/A See Details
cross-compile (windows, 386) -     🔗  N/A See Details
cross-compile (windows, amd64) -     🔗  N/A See Details
build-package (deb) -     🔗  N/A See Details
build-package (rpm) -     🔗  N/A See Details
windows-msi -     🔗  N/A See Details
publish-check -     🔗  N/A See Details
publish-stable -     🔗  N/A See Details
publish-dev -     🔗  N/A See Details

✅  load-tests workflow has finished in 18 minutes 16 seconds and finished at 20th Feb, 2023.


Job Failed Steps Tests
loadtest (TestIdleMode) -     🔗  ✅ 1  ❌ 0  ⏭ 0    🔗 See Details
loadtest (TestTraceAttributesProcessor) -     🔗  ✅ 3  ❌ 0  ⏭ 0    🔗 See Details
loadtest (TestMetric10kDPS|TestMetricsFromFile) -     🔗  ✅ 6  ❌ 0  ⏭ 0    🔗 See Details
loadtest (TestTraceBallast1kSPSWithAttrs|TestTraceBallast1kSPSAddAttrs) -     🔗  ✅ 10  ❌ 0  ⏭ 0    🔗 See Details
loadtest (TestTraceNoBackend10kSPS|TestTrace1kSPSWithAttrs) -     🔗  ✅ 8  ❌ 0  ⏭ 0    🔗 See Details
loadtest (TestMetricResourceProcessor|TestTrace10kSPS) -     🔗  ✅ 12  ❌ 0  ⏭ 0    🔗 See Details
loadtest (TestBallastMemory|TestLog10kDPS) -     🔗  ✅ 18  ❌ 0  ⏭ 0    🔗 See Details
setup-environment -     🔗  N/A See Details

❌  e2e-tests workflow has finished in 15 minutes 35 seconds and finished at 20th Feb, 2023. 1 job failed.


Job Failed Steps Tests
kubernetes-test (v1.25.3) run e2e test to check output     🔗  N/A See Details
kubernetes-test (v1.26.0) -     🔗  N/A See Details
kubernetes-test (v1.24.7) -     🔗  N/A See Details
kubernetes-test (v1.23.13) -     🔗  N/A See Details

🔎 See details on Foresight

*You can configure Foresight comments in your organization settings page.

@sumo-drosiek
Copy link
Member Author

lint error seems to be unrelated:

Check License finished successfully
/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/.tools/golangci-lint run --allow-parallel-runners --build-tags integration
level=error msg="Timeout exceeded: try increasing it by passing --timeout option"
make[2]: *** [../../Makefile.Common:166: lint] Error 4
make[2]: Leaving directory '/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/cmd/otelcontribcol'
make[1]: *** [Makefile:167: cmd/otelcontribcol] Error 2
make[1]: *** Waiting for unfinished jobs....
level=error msg="Timeout exceeded: try increasing it by passing --timeout option"
make[2]: *** [../../Makefile.Common:166: lint] Error 4
make[2]: Leaving directory '/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/cmd/configschema'
make[1]: *** [Makefile:167: cmd/configschema] Error 2
make[1]: Leaving directory '/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib'
make: *** [Makefile:105: golint] Error 2

@andrzej-stencel
Copy link
Member

The way getting host ID is implemented in gopsutil vs the github.com/panta/machineid package is similar for Windows (1, 2) and MacOS (1, 2), but quite different for Linux (and Docker) (1, 2). Just wanted to call this out. I'm not against using gopsutil, but I wonder if there are some corner cases that Dominik you might be aware of?

Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dmitryax
Copy link
Member

@sumo-drosiek please rebase

@dmitryax
Copy link
Member

dmitryax commented Feb 18, 2023

@astencel-sumo, the difference itself is not a concern because the system detector host.id is not released yet. It was merged couple days ago #18618. Do you think that github.com/panta/machineid is better in any way than gopsutil?

@sumo-drosiek
Copy link
Member Author

sumo-drosiek commented Feb 20, 2023

I'm not against using gopsutil, but I wonder if there are some corner cases that Dominik you might be aware of?

I'm not aware of any. Both HostID for gopsutil and machineid has started around the same time 2016, 2017 and gopsutil seems to be better choice (actively developed, more starts, already used in the repo). I wasn't aware of HostID and this is why I used machineid in the first place.

@sumo-drosiek
Copy link
Member Author

CI fail seems to be unrelated:

=== RUN   TestTraceE2E/job
    e2e_test.go:179: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/processor/k8sattributesprocessor/e2e_test.go:179
        	            				/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/processor/k8sattributesprocessor/e2e_test.go:146
        	Error:      	Received unexpected error:
        	            	the following errors occurred:
        	            	 -  k8s.pod.uid attribute not found
        	            	 -  k8s.labels.app attribute not found
        	            	 -  k8s.pod.name attribute not found
        	            	 -  k8s.pod.start_time attribute not found
        	            	 -  k8s.node.name attribute not found
        	            	 -  k8s.job.name attribute not found
        	            	 -  k8s.namespace.name attribute not found
        	            	 -  container.image.name attribute not found
        	            	 -  container.id attribute not found
        	            	 -  k8s.annotations.workload attribute not found
        	            	 -  container.image.tag attribute not found
        	            	 -  k8s.job.uid attribute not found
        	Test:       	TestTraceE2E/job

Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The implementation used by the machineID dependency follows the note added to the spec on open-telemetry/opentelemetry-specification/pull/2978, while it's not clear to me that gopsutil follows it. I think that is a strong reason to not use gopsutil here, unless it turns out it's getting the same ID with a different method.

@sumo-drosiek @dmitryax do you know if the gopsutil id is different from the machineid id, or is it just a difference in the implementation?

@sumo-drosiek
Copy link
Member Author

sumo-drosiek commented Feb 20, 2023

The implementation used by the machineID dependency follows the note added to the spec on open-telemetry/opentelemetry-specification/pull/2978, while it's not clear to me that gopsutil follows it. I think that is a strong reason to not use gopsutil here, unless it turns out it's getting the same ID with a different method.

@sumo-drosiek @dmitryax do you know if the gopsutil id is different from the machineid id, or is it just a difference in the implementation?

I saw that description, but it says may, not should:

Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized Linux systems, the `machine-id` located in `/etc/machine-id` or `/var/lib/dbus/machine-id` may be used.

They are different:

➜  projects sudo cat /etc/machine-id                
11112222333344441111222233334444
➜  projects sudo cat /sys/class/dmi/id/product_uuid 
77778888-7777-8888-7777-888877778888
➜  projects sudo cat /proc/sys/kernel/random/boot_id
66665555-6666-5555-6666-555566665555

@mx-psi
Copy link
Member

mx-psi commented Feb 20, 2023

I agree that either the implementation from your previous PR or the one on this PR would be compliant with the spec, but I still think we should follow the spec recommendation unless there is a good reason not to, for consistency with other detectors on language libraries and elsewhere. Is avoiding using the machineid dependency a strong enough reason to deviate from the spec recommendation?

@sumo-drosiek
Copy link
Member Author

Is avoiding using the machineid dependency a strong enough reason to deviate from the spec recommendation?

I wouldn't say that, I would consider it as implementation detail

func (p systemMetadataProvider) HostID() (string, error) {
return machineid.ID()
func (p systemMetadataProvider) HostID(ctx context.Context) (string, error) {
res, err := resource.New(ctx,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit "funny" how you need create a resource that includes the "host.id" attribute here, only to "peel" the resource to get just the "host.id" attribute value, and in the end you put that value in an attribute of another resource. This is due to the structure of the contrib's system.Provider interface 🤷

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it isn't ideal but I I feel like it is a side affect of the collector needing features before the go-sdk could implement.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I second that the ergonomics could be better here. The SDK exposes a Resource API, but not APIs for the underlying attributes, which is what you need here. This is probably the best approach given the circumstances.

Copy link
Member

@andrzej-stencel andrzej-stencel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you so much @sumo-drosiek 👏

@mwear it would be great to have your eyes on it, as this code uses the "host.id" code from opentelemetry-go.

@MovieStoreGuy also wanted to be pinged on this, so here you go 🙂

internal/metadataproviders/system/metadata.go Show resolved Hide resolved
func (p systemMetadataProvider) HostID() (string, error) {
return machineid.ID()
func (p systemMetadataProvider) HostID(ctx context.Context) (string, error) {
res, err := resource.New(ctx,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it isn't ideal but I I feel like it is a side affect of the collector needing features before the go-sdk could implement.

@sumo-drosiek sumo-drosiek changed the title resourcedetectionprocessor: use openelemetry-go for host id detection resourcedetectionprocessor: use opentelemetry-go for host id detection May 18, 2023
@MovieStoreGuy MovieStoreGuy added the ready to merge Code review completed; ready to merge by maintainers label May 21, 2023
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pinging @mwear @mx-psi for a review on this

@@ -128,6 +130,22 @@ func (p systemMetadataProvider) reverseLookup(ipAddresses []string) (string, err
return "", fmt.Errorf("reverseLookup failed to convert IP addresses to name: %w", err)
}

func (p systemMetadataProvider) HostID() (string, error) {
return machineid.ID()
func (p systemMetadataProvider) HostID(ctx context.Context) (string, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this method tested anywhere? i don't see any specific tests around these changes.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how to test it properly as extracting resource to interface for me looks like unnecessary complication. I am open for suggestions

Copy link
Member

@mwear mwear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

func (p systemMetadataProvider) HostID() (string, error) {
return machineid.ID()
func (p systemMetadataProvider) HostID(ctx context.Context) (string, error) {
res, err := resource.New(ctx,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I second that the ergonomics could be better here. The SDK exposes a Resource API, but not APIs for the underlying attributes, which is what you need here. This is probably the best approach given the circumstances.

@dmitryax
Copy link
Member

@sumo-drosiek, please rebase

@sumo-drosiek sumo-drosiek force-pushed the drosiek-host-id-2 branch 3 times, most recently from d0fa46c to 39431f6 Compare June 7, 2023 05:59
Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mx-psi
Copy link
Member

mx-psi commented Jun 9, 2023

needs a rebase, we can merge after that

Dominik Rosiek added 2 commits June 12, 2023 07:45
@mx-psi mx-psi merged commit 6249ae8 into open-telemetry:main Jun 12, 2023
@github-actions github-actions bot added this to the next release milestone Jun 12, 2023
JimChenWYU pushed a commit to easyops-cn/opentelemetry-collector-contrib that referenced this pull request Jun 30, 2023
commit 739e583
Author: Anthony Mirabella <[email protected]>
Date:   Tue Jun 20 18:11:41 2023 -0400

    [chore] Prepare release v0.80.0 (open-telemetry#23584)

    The following commands were run to prepare this release:
    - make chlog-update VERSION=v0.80.0
    - sed -i.bak s/0.79.0/0.80.0/g versions.yaml
    - make multimod-prerelease
    - make multimod-sync

    Additionally, changes from
    open-telemetry#23583
    were incorporated.

    ---------

    Signed-off-by: Anthony J Mirabella <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit e988fca
Author: Alex Boten <[email protected]>
Date:   Tue Jun 20 12:23:52 2023 -0700

    [chore] update otel core (open-telemetry#23578)

    Signed-off-by: Alex Boten <[email protected]>

commit 42dbc6c
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 19:51:21 2023 +0200

    aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572)

    Metric unit is required, see:
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

    This PR adds the unit to metrics where this is missing:

    - aerospike.node.query.tracked

commit 200778b
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 18:51:54 2023 +0200

    [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575)

    This func is not used. Because the receiver is the metadata struct, it
    would need to be called directly.

    This also tests field Name -- which does not exist anymore (replaced by
    Type).

    **Note:** Validation of Type will be done as part of open-telemetry#23424

commit b726aee
Author: Mend Renovate <[email protected]>
Date:   Tue Jun 20 18:49:27 2023 +0200

    chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

    This PR contains the following updates:

    | Package | Type | Update | Change |
    |---|---|---|---|
    |
    [actions/download-artifact](https://github.com/actions/download-artifact)
    | action | major | `v2` -> `v3` |
    |
    [actions/upload-artifact](https://github.com/actions/upload-artifact)
    | action | major | `v2` -> `v3` |

    ---

    <details>
    <summary>actions/download-artifact</summary>
    [`v3`](https://github.com/actions/download-artifact/compare/v2...v3)

    [Compare
    Source](https://github.com/actions/download-artifact/compare/v2...v3)

    </details>

    <details>
    <summary>actions/upload-artifact</summary>

    [Compare
    Source](https://github.com/actions/upload-artifact/compare/v2...v3)

    </details>

    ---

    📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
    time (no schedule defined).

    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.

    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.

    🔕 **Ignore**: Close this PR and you won't be reminded about these
    updates again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box

    ---

    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

commit 9d38d84
Author: Tigran Najaryan <[email protected]>
Date:   Tue Jun 20 12:13:20 2023 -0400

    [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455)

    - Added gzip and zstd tests to SAPM trace test.

    - Modified GenerateTraces to generate more variable data to make sure it
    is a more fair comparison when compression is enabled (otherwise it was
    compressing too well and was not representative of real-world
    workloads).

    This makes easier to see the impact of added zstd compression done in
    open-telemetry#23257

commit 9a5f723
Author: rubenruizdegauna <[email protected]>
Date:   Tue Jun 20 07:42:56 2023 +0200

    [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451)

    Currently `process.cpu.utilization` is not sent when it is enabled if
    `process.cpu.time` is disabled.
    It should be sent independently of `process.cpu.time`

commit ad2e101
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 07:21:06 2023 +0200

    [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454)

    This PR adds the bytes unit to metrics where this is missing. unit is a
    required field, see
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

commit d89a6e1
Author: Bartosz Sławianowski <[email protected]>
Date:   Mon Jun 19 21:13:53 2023 +0200

    [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453)

    Kubernetes namespace is a cluster-scoped resource and doesn't seem to
    have populated `namespace` field in Kubernetes (at least on 1.25.x and
    1.26.x).

    This PR changes it so the name of the namespace is simply taken from
    `name` field instead.

commit 6ee548b
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 19 10:51:31 2023 -0700

    [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438)

    Switch k8s.node metrics to use pdata.

commit 5fff104
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 19 13:13:11 2023 +0300

    {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445)

    This change bumps the opentelemetry-mapping-go dependency to v0.5.0
    which contains the metric remapping code. As a result, it is removed
    from the exporter.

commit b719459
Author: Antoine Toulme <[email protected]>
Date:   Sat Jun 17 10:50:17 2023 -0700

    [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437)

    Switch k8s.namespace metrics to use pdata.

commit b2238b9
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 23:08:30 2023 -0700

    [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434)

    To reduce RAM utilization.

    Resolves
    open-telemetry#23433

    This is the last PR to reduce the memory footprint of k8s API informers.
    Other objects are more static and usually don't have a lot of instances
    in user clusters, so there is no need to reduce their size.

commit 1c84fb2
Author: Dominik Rosiek <[email protected]>
Date:   Sat Jun 17 06:24:40 2023 +0200

    feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274)

    **Description:**

    deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors`

    ```
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:104        Setting up own telemetry...
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:127        Serving Prometheus metrics      {"address": ":8888", "level": "Basic"}
    2023-06-12T08:29:43.306+0200    info    [email protected]/exporter.go:275        Development component. May change in the future.        {"kind": "exporter", "data_type": "metrics", "name": "logging"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:131  Starting otelcontribcol...      {"Version": "0.79.0-dev", "NumCPU": 16}
    2023-06-12T08:29:43.308+0200    info    extensions/extensions.go:30     Starting extensions...
    2023-06-12T08:29:43.308+0200    warn    [email protected]/scraper.go:60     `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead   {"kind": "receiver", "name": "mysql", "data_type": "metrics"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:148  Everything is ready. Begin running and processing data.
    ^C2023-06-12T08:29:44.055+0200  info    otelcol/collector.go:227        Received signal from OS {"signal": "interrupt"}
    2023-06-12T08:29:44.056+0200    info    service/service.go:157  Starting shutdown...
    ```

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Curtis Robert <[email protected]>

commit c8cf780
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 15:00:42 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432)

    Do not store unused data for deployments, statefulsets and daemonsets in
    k8s API cache to reduce RAM usage.

    Updates
    open-telemetry#23433

commit 0ccde43
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 21:01:32 2023 +0200

    Document extension as value for stability in metadata.yaml (open-telemetry#23426)

    Currently, this is used in all extensions (e.g.
    [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)),
    but this is not documented in `metadata-schema.yaml`.

commit 8869951
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 11:51:00 2023 -0700

    Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431)

    …rnal metrics (open-telemetry#23369)"

    This reverts commit 42bca6f.

    Revert it until
    open-telemetry#23369 (comment)
    is resolved to avoid adding it to the next release

    Co-authored-by: Ziqi Zhao <[email protected]>

commit 6ad0589
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 19:21:23 2023 +0200

    [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213)

    This PR adds the resource attributes added by the k8sattributes
    processor to the metadata.yaml file in the resource_attributes group.
    Only the attributes which are added by default (see
    [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration))
    are marked as enabled.

    The default resource attributes defined in metadata.yaml are used to
    make the default extract::metadata list.
    Resource attributes are exposed through a different configuration
    interface. This is noted in the metadata.yaml file.

commit a4585ce
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:57:52 2023 -0700

    [chore] retry sending coverage output (open-telemetry#23413)

commit 195ef43
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:50:14 2023 -0700

    [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416)

commit 0ae07ba
Author: Pablo Baeyens <[email protected]>
Date:   Fri Jun 16 11:05:52 2023 +0200

    [chore] Clean up CODEOWNERS (open-telemetry#23382)

    **Description:**

    Clean up CODEOWNERS file to remove redundant lines; add these to the
    ALLOWLIST.

    **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG

commit a5cdd2f
Author: atshaw43 <[email protected]>
Date:   Fri Jun 16 00:11:17 2023 -0700

    [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313)

    Add link span link support and support for the messaging field.

    We are conforming to the OTel spec:
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110

commit 42bca6f
Author: Ziqi Zhao <[email protected]>
Date:   Fri Jun 16 14:51:10 2023 +0800

    [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369)

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 559f19c
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:45 2023 -0700

    [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419)

    **Description:**
    Switch k8s.rq metrics to use pdata.

commit 2e11f46
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:20 2023 -0700

    [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420)

commit 5cfcdeb
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 17:59:51 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417)

    This change removes unused k8s informer data from the cache to reduce RAM utilization.

    Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage.

commit 260f34f
Author: linfn <[email protected]>
Date:   Fri Jun 16 02:44:06 2023 +0800

    [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799)

    In Skywalking, parentSpanId == -1 indicates that the span is [the first
    span within the current
    segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119),
    rather than within the entire trace. Leaving parentSpanId blank can
    cause the call relationship to be lost when crossing segments.

commit f709809
Author: Sam DeHaan <[email protected]>
Date:   Thu Jun 15 14:42:59 2023 -0400

    [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363)

    Access Logs required permissions for monitoring were
    not documented in the receiver README.

    Should have been documented for
    open-telemetry#21182

commit 8885502
Author: Raj Nishtala <[email protected]>
Date:   Thu Jun 15 14:41:37 2023 -0400

    [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414)

    Updating CODEOWNERS for processor/groupbyattrsprocessor

commit d98e12b
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:21:42 2023 -0700

    [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409)

commit fd526ee
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:16:33 2023 -0700

    [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408)

    Rebase of open-telemetry#18250 with latest main.

    ---------

    Signed-off-by: Bogdan Drutu <[email protected]>
    Co-authored-by: Bogdan Drutu <[email protected]>

commit e6e1e76
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 10:10:13 2023 -0700

    [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403)

    Do not drop `container.cpu.time` metric in the default translations so
    it can be enabled in the `include_metrics` config option.

    This is the only metric that is dropped in the translations. All other
    metrics are being kept.

commit 65a1dea
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 08:09:39 2023 -0700

    [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410)

    Try sending data a few times to fix flakiness of test.

    **Link to tracking Issue:**
    Fixes open-telemetry#23381

commit 9f0032e
Author: Pablo Baeyens <[email protected]>
Date:   Thu Jun 15 14:43:18 2023 +0200

    [chore] make gotidy (open-telemetry#23412)

    Fixes main after open-telemetry#23257

commit ae15d8c
Author: Tigran Najaryan <[email protected]>
Date:   Thu Jun 15 07:04:14 2023 -0400

    Add zstd compression to SAPM receiver and exporter (open-telemetry#23257)

    - Updated github.com/signalfx/sapm-proto to v0.13.0
    - Added "compression" config setting to sapm exporter
    - Added tests to verify various compression settings for sapm receiver
    and exporter.

commit c2658a7
Author: Mike Dame <[email protected]>
Date:   Thu Jun 15 06:58:12 2023 -0400

    [chore] Update GCP codeowners (open-telemetry#22781)

    Updating CODEOWNERS entries for GCP exporters

commit c7462f2
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 23:40:16 2023 -0700

    [chore] add k8sclusterreceiver e2e test (open-telemetry#23386)

    Adds an e2e test for k8sclusterreceiver with a golden metrics file.

commit 1bf2547
Author: Andrzej Stencel <[email protected]>
Date:   Wed Jun 14 22:40:06 2023 +0200

    [receiver/sqlquery] add support for logs (open-telemetry#20730)

    Fixes open-telemetry#20284

    This introduces initial support for retrieving rows from SQL databases
    into logs.

    This PR aims to provide an initial, not feature rich, but production
    ready implementation. The following features are available:

    - Use `body_column` to select the column to use to fill the Body field
    of the created log
    - Use `tracking_start_value` and `tracking_column` properties to track
    rows that were already ingested
    - Use `storage` property to persist the tracking value across collector
    restarts

    In this state and marked as "development" stability, the component can
    be used for experimentation and to guide future development.

    There are definitely more things that need to be implemented for this
    component to be considered "alpha" quality - like filling in other [log
    fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition)
    like Timestamp, ObservedTimestamp and others. I would like to add them
    in subsequent pull requests, as this pull request is already way too
    big.

    ---------

    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>

commit e7608db
Author: Irina <[email protected]>
Date:   Wed Jun 14 19:50:04 2023 +0100

    [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733)

    **Description:**
    There is currently no way to get the
    [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396)
    field from plog.LogRecord into Loki.
    Added Flags field to lokiEntry in this PR

    **Link to tracking Issue:**
    open-telemetry#21650

    **Testing:** Added unit tests

commit 50bbb9f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:42:33 2023 +0200

    [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384)

    cc @jpkrohling @pavankrish123

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit a4dda5b
Author: Vastin <[email protected]>
Date:   Wed Jun 14 13:12:48 2023 -0500

    [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626)

    **Description:**

    This PR adds [exponential
    histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram)
    support in `awsemfexporter`. The exponential histogram metrics are
    exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and
    Min are set as Statistical Set. The mid-point values and counts of
    exponential histogram buckets are translated into Values/Counts array of
    EMF log entry as well.

    **Testing:**

    The unit test is added and covers positive, zero and negative values.

    The integration test is performed with following OTEL collector
    configuration.
    ```
    extensions:
      health_check:
    receivers:
      otlp:
        protocols:
          grpc:
            endpoint: 0.0.0.0:4317
          http:
            endpoint: 0.0.0.0:4318

    processors:
      batch/metrics:
        timeout: 60s

    exporters:
      logging:
        verbosity: detailed
      awsemf:
        region: 'us-east-1'
        namespace: "Test"
        dimension_rollup_option: "NoDimensionRollup"

    service:
      pipelines:
        metrics:
          receivers: [otlp]
          processors: [batch/metrics]
          exporters: [awsemf, logging]
      extensions: [health_check]
      telemetry:
        logs:
          level: "debug"
    ```
    It generated EMF log for histogram metrics in following JSON format.
    Notes: It doesn't cover negative values since histograms can [only
    record non-negative
    values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram)
    and will [drop negative
    values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44).

    ```
        "latency": {
            "Values": [
                309.4277237034415,
                323.12725941969757,
                326.64588457862067,
                344.8221530867399,
                520.3933272846809,
                531.7884573308439,
                537.579253961712,
                543.4331082335607,
                549.3507067990806,
                555.3327437881196,
                561.3799208891041,
                567.4929474313465,
                720.1774681373079,
                0
            ],
            "Counts": [
                1,
                1,
                1,
                1,
                1,
                3,
                4,
                2,
                2,
                3,
                1,
                1,
                1,
                22
            ],
            "Max": 720,
            "Min": 0,
            "Count": 44,
            "Sum": 11265
        }
    ```

commit f66845f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:09:35 2023 +0200

    [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739)

    Closes open-telemetry#22737

    ---------

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit 6a83a9a
Author: Dominik Rosiek <[email protected]>
Date:   Wed Jun 14 19:11:38 2023 +0200

    [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337)

    Deprecate options which are going to be removed

    **Link to tracking Issue:** open-telemetry#23059

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Mikołaj Świątek <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit 3faedfc
Author: OpenTelemetry Bot <[email protected]>
Date:   Wed Jun 14 09:39:22 2023 -0700

    [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380)

    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awsxrayreceiver

commit d9326aa
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 09:13:30 2023 -0700

    [chore] mark components as unmaintained (open-telemetry#23379)

    These components no longer have an active code owner as a result of

    Signed-off-by: Alex Boten <[email protected]>

commit 8729c16
Author: Daniel Jaglowski <[email protected]>
Date:   Wed Jun 14 09:32:35 2023 -0600

    [chore] Enable exhaustive linter for several modules (open-telemetry#23329)

    Updates open-telemetry#23266

    - receiver/nsxt
    - receiver/snmp
    - connector/count
    - extension/storage
    - pkg/stanza

commit 52d87f8
Author: Evan Bradley <[email protected]>
Date:   Wed Jun 14 11:30:51 2023 -0400

    [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143)

    This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context.

    **Link to tracking Issue:**

    Implements open-telemetry#18461
    Co-authored-by: Matej Gera <[email protected]>

    ---------

    Co-authored-by: Evan Bradley <[email protected]>
    Co-authored-by: Matej Gera <[email protected]>

commit 31bfef7
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 08:18:27 2023 -0700

    [chore] bump go version for linting (open-telemetry#23346)

    After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment)

    I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues.

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d79f3c0
Author: Curtis Robert <[email protected]>
Date:   Wed Jun 14 08:05:56 2023 -0700

    [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368)

    As a result of issue open-telemetry#23246, a few components are now unmaintained.
    These need to be documented in the ALLOWLIST file.

commit 19e2a2d
Author: Tomáš Žďára <[email protected]>
Date:   Wed Jun 14 11:22:35 2023 +0200

    DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250)

    * DSET-3998 - export Logs resource info based on     export_resource_info_on_event configuration

    * DSET-3998 - simplify

    * DSET-3998 - improve docs

    * Fix log exporter to set AddEvents Event timestamp (ts) field to event
    observed timetamp in case LogRecord doesn't contain timestamp.

    Even though ObservedTimestamp should always be present, we fall back to
    current time in case it's not.

    In addition to that, remove duplicate and redundant "timestamp"
    attribute from the AddEvents event.

    * Add additional assertions.

    * Remove dummy debug logs.

    * Create export-logs-resource-info-based-configuration

    * address PR notes - fix changelog gen

    * fix docs typo

    * fix changelog file suffix

    ---------

    Co-authored-by: Tomaz Muraus <[email protected]>
    Co-authored-by: Tomaz Muraus <[email protected]>

commit 5a582d9
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 00:31:28 2023 -0700

    [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366)

    Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric.

commit 16df49f
Author: Sean Marciniak <[email protected]>
Date:   Wed Jun 14 12:00:31 2023 +0930

    [chore] Fix datadog receiver flakey test. (open-telemetry#23336)

    * Use random address

    * Bind to localhost interface

commit 9f854da
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 22:25:29 2023 +0000

    [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338)

commit 77d8c70
Author: OpenTelemetry Bot <[email protected]>
Date:   Tue Jun 13 12:57:55 2023 -0700

    [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345)

    Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver
    Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter
    Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter
    Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver
    Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver
    Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools
    Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver

commit 6bf41e4
Author: Mackenzie <[email protected]>
Date:   Tue Jun 13 18:33:39 2023 +0200

    Add metadata.yaml as a requirement (open-telemetry#23340)

    Fixes: open-telemetry#20908.

    ---------

    Co-authored-by: Yang Song <[email protected]>

commit 563fd6f
Author: Alex Boten <[email protected]>
Date:   Tue Jun 13 09:33:00 2023 -0700

    [chore] make update-otel (open-telemetry#23278)

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d2c7c1f
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 09:45:00 2023 -0600

    [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280)

commit 375da69
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 08:23:00 2023 -0600

    [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281)

    * [chore] Deprecate unnecessary fileconsumer API

    * Add deprecation version and tentative removal version

commit 6ac5285
Author: Dewald de Jager <[email protected]>
Date:   Tue Jun 13 11:20:41 2023 +0200

    [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962)

    * Start adding the status information to the metadata schema documentation

    * Remove cmd from the list of possible classes

    * Fix spelling mistake

    Co-authored-by: Antoine Toulme <[email protected]>

    * Update the value used for the development stability status

    Co-authored-by: Antoine Toulme <[email protected]>

    * Fix the tests after updating the example metadata file

    * Document how to use mdatagen and the schema of metadata.yaml

    * Add the stability levels for connectors

    * Change the receiver type so the tests pass

    * Update the generated documentation

    * Change the syntax used for string array types so that it is valid YAML

    ---------

    Co-authored-by: Antoine Toulme <[email protected]>

commit 061eb3e
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 06:29:11 2023 +0000

    [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272)

    Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store.

    I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently.

commit ab42d69
Author: zeno-splunk <[email protected]>
Date:   Mon Jun 12 22:36:54 2023 -0700

    [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332)

    Update `kafka.brokers` metric to be non-monothonic sum instead of gauge

commit 9e4d50f
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 12 20:28:17 2023 -0700

    remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248)

    Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus

commit e0249e0
Author: Alex Boten <[email protected]>
Date:   Mon Jun 12 15:01:49 2023 -0700

    [chore] forwardconnector was not listed in the modules script (open-telemetry#23330)

    this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently

    Signed-off-by: Alex Boten <[email protected]>

commit 9d5526c
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 09:58:22 2023 -0600

    [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255)

commit bbea8aa
Author: Trask Stalnaker <[email protected]>
Date:   Mon Jun 12 08:38:45 2023 -0700

    Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268)

commit 0f8e128
Author: Tyler Helmuth <[email protected]>
Date:   Mon Jun 12 08:45:16 2023 -0600

    [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259)

    Update readme

commit 6d35fd7
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 16:33:47 2023 +0200

    [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211)

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 88ac450
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 12 17:31:02 2023 +0300

    receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851)

    * receiver/dockerstatsreceiver: add container.uptime metric

    This change adds the `container.uptime` metric which indicates time
    elapsed (in seconds) since the container started.

    * Add scraper error for invalid time format

    * Disable by default

    * empty

commit 6947357
Author: Yang Song <[email protected]>
Date:   Mon Jun 12 10:27:42 2023 -0400

    [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240)

    * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation

    * Add to changelog

    * Update exporter/datadogexporter/config.go

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Update .chloggen/datadogexporter-new-trace-configs.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Add subtext to changelog

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit b247914
Author: Raj Nishtala <[email protected]>
Date:   Mon Jun 12 10:26:18 2023 -0400

    [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210)

    * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string

    * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string

commit 3b62a17
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 07:50:37 2023 -0600

    [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254)

    * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable

    * Update .chloggen/elastic-stable-nodevesiongate.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit 6249ae8
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 13:09:13 2023 +0200

    resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740)

    * resourcedetectionprocessor: use gopsutil for host id detection

    Signed-off-by: Dominik Rosiek <[email protected]>

    * feat: use opentelemetry sdk

    Signed-off-by: Dominik Rosiek <[email protected]>

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 820510e
Author: Ziqi Zhao <[email protected]>
Date:   Mon Jun 12 18:10:33 2023 +0800

    [chore] [all] Enable exhaustive linter on golangci-lint  (open-telemetry#23242)

    Enable exhaustive linter on golangci-lint

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 752330e
Author: shalper2 <[email protected]>
Date:   Sun Jun 11 10:44:14 2023 -0500

    [receiver/webhookevent] Enable component (open-telemetry#23239)

    Graduate webhookeventreceiver component to Alpha
JimChenWYU added a commit to easyops-cn/opentelemetry-collector-contrib that referenced this pull request Jun 30, 2023
commit 739e583
Author: Anthony Mirabella <[email protected]>
Date:   Tue Jun 20 18:11:41 2023 -0400

    [chore] Prepare release v0.80.0 (open-telemetry#23584)

    The following commands were run to prepare this release:
    - make chlog-update VERSION=v0.80.0
    - sed -i.bak s/0.79.0/0.80.0/g versions.yaml
    - make multimod-prerelease
    - make multimod-sync

    Additionally, changes from
    open-telemetry#23583
    were incorporated.

    ---------

    Signed-off-by: Anthony J Mirabella <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit e988fca
Author: Alex Boten <[email protected]>
Date:   Tue Jun 20 12:23:52 2023 -0700

    [chore] update otel core (open-telemetry#23578)

    Signed-off-by: Alex Boten <[email protected]>

commit 42dbc6c
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 19:51:21 2023 +0200

    aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572)

    Metric unit is required, see:
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

    This PR adds the unit to metrics where this is missing:

    - aerospike.node.query.tracked

commit 200778b
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 18:51:54 2023 +0200

    [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575)

    This func is not used. Because the receiver is the metadata struct, it
    would need to be called directly.

    This also tests field Name -- which does not exist anymore (replaced by
    Type).

    **Note:** Validation of Type will be done as part of open-telemetry#23424

commit b726aee
Author: Mend Renovate <[email protected]>
Date:   Tue Jun 20 18:49:27 2023 +0200

    chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

    This PR contains the following updates:

    | Package | Type | Update | Change |
    |---|---|---|---|
    |
    [actions/download-artifact](https://github.com/actions/download-artifact)
    | action | major | `v2` -> `v3` |
    |
    [actions/upload-artifact](https://github.com/actions/upload-artifact)
    | action | major | `v2` -> `v3` |

    ---

    <details>
    <summary>actions/download-artifact</summary>
    [`v3`](https://github.com/actions/download-artifact/compare/v2...v3)

    [Compare
    Source](https://github.com/actions/download-artifact/compare/v2...v3)

    </details>

    <details>
    <summary>actions/upload-artifact</summary>

    [Compare
    Source](https://github.com/actions/upload-artifact/compare/v2...v3)

    </details>

    ---

    📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
    time (no schedule defined).

    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.

    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.

    🔕 **Ignore**: Close this PR and you won't be reminded about these
    updates again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box

    ---

    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

commit 9d38d84
Author: Tigran Najaryan <[email protected]>
Date:   Tue Jun 20 12:13:20 2023 -0400

    [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455)

    - Added gzip and zstd tests to SAPM trace test.

    - Modified GenerateTraces to generate more variable data to make sure it
    is a more fair comparison when compression is enabled (otherwise it was
    compressing too well and was not representative of real-world
    workloads).

    This makes easier to see the impact of added zstd compression done in
    open-telemetry#23257

commit 9a5f723
Author: rubenruizdegauna <[email protected]>
Date:   Tue Jun 20 07:42:56 2023 +0200

    [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451)

    Currently `process.cpu.utilization` is not sent when it is enabled if
    `process.cpu.time` is disabled.
    It should be sent independently of `process.cpu.time`

commit ad2e101
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 07:21:06 2023 +0200

    [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454)

    This PR adds the bytes unit to metrics where this is missing. unit is a
    required field, see
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

commit d89a6e1
Author: Bartosz Sławianowski <[email protected]>
Date:   Mon Jun 19 21:13:53 2023 +0200

    [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453)

    Kubernetes namespace is a cluster-scoped resource and doesn't seem to
    have populated `namespace` field in Kubernetes (at least on 1.25.x and
    1.26.x).

    This PR changes it so the name of the namespace is simply taken from
    `name` field instead.

commit 6ee548b
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 19 10:51:31 2023 -0700

    [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438)

    Switch k8s.node metrics to use pdata.

commit 5fff104
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 19 13:13:11 2023 +0300

    {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445)

    This change bumps the opentelemetry-mapping-go dependency to v0.5.0
    which contains the metric remapping code. As a result, it is removed
    from the exporter.

commit b719459
Author: Antoine Toulme <[email protected]>
Date:   Sat Jun 17 10:50:17 2023 -0700

    [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437)

    Switch k8s.namespace metrics to use pdata.

commit b2238b9
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 23:08:30 2023 -0700

    [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434)

    To reduce RAM utilization.

    Resolves
    open-telemetry#23433

    This is the last PR to reduce the memory footprint of k8s API informers.
    Other objects are more static and usually don't have a lot of instances
    in user clusters, so there is no need to reduce their size.

commit 1c84fb2
Author: Dominik Rosiek <[email protected]>
Date:   Sat Jun 17 06:24:40 2023 +0200

    feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274)

    **Description:**

    deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors`

    ```
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:104        Setting up own telemetry...
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:127        Serving Prometheus metrics      {"address": ":8888", "level": "Basic"}
    2023-06-12T08:29:43.306+0200    info    [email protected]/exporter.go:275        Development component. May change in the future.        {"kind": "exporter", "data_type": "metrics", "name": "logging"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:131  Starting otelcontribcol...      {"Version": "0.79.0-dev", "NumCPU": 16}
    2023-06-12T08:29:43.308+0200    info    extensions/extensions.go:30     Starting extensions...
    2023-06-12T08:29:43.308+0200    warn    [email protected]/scraper.go:60     `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead   {"kind": "receiver", "name": "mysql", "data_type": "metrics"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:148  Everything is ready. Begin running and processing data.
    ^C2023-06-12T08:29:44.055+0200  info    otelcol/collector.go:227        Received signal from OS {"signal": "interrupt"}
    2023-06-12T08:29:44.056+0200    info    service/service.go:157  Starting shutdown...
    ```

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Curtis Robert <[email protected]>

commit c8cf780
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 15:00:42 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432)

    Do not store unused data for deployments, statefulsets and daemonsets in
    k8s API cache to reduce RAM usage.

    Updates
    open-telemetry#23433

commit 0ccde43
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 21:01:32 2023 +0200

    Document extension as value for stability in metadata.yaml (open-telemetry#23426)

    Currently, this is used in all extensions (e.g.
    [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)),
    but this is not documented in `metadata-schema.yaml`.

commit 8869951
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 11:51:00 2023 -0700

    Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431)

    …rnal metrics (open-telemetry#23369)"

    This reverts commit 42bca6f.

    Revert it until
    open-telemetry#23369 (comment)
    is resolved to avoid adding it to the next release

    Co-authored-by: Ziqi Zhao <[email protected]>

commit 6ad0589
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 19:21:23 2023 +0200

    [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213)

    This PR adds the resource attributes added by the k8sattributes
    processor to the metadata.yaml file in the resource_attributes group.
    Only the attributes which are added by default (see
    [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration))
    are marked as enabled.

    The default resource attributes defined in metadata.yaml are used to
    make the default extract::metadata list.
    Resource attributes are exposed through a different configuration
    interface. This is noted in the metadata.yaml file.

commit a4585ce
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:57:52 2023 -0700

    [chore] retry sending coverage output (open-telemetry#23413)

commit 195ef43
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:50:14 2023 -0700

    [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416)

commit 0ae07ba
Author: Pablo Baeyens <[email protected]>
Date:   Fri Jun 16 11:05:52 2023 +0200

    [chore] Clean up CODEOWNERS (open-telemetry#23382)

    **Description:**

    Clean up CODEOWNERS file to remove redundant lines; add these to the
    ALLOWLIST.

    **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG

commit a5cdd2f
Author: atshaw43 <[email protected]>
Date:   Fri Jun 16 00:11:17 2023 -0700

    [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313)

    Add link span link support and support for the messaging field.

    We are conforming to the OTel spec:
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110

commit 42bca6f
Author: Ziqi Zhao <[email protected]>
Date:   Fri Jun 16 14:51:10 2023 +0800

    [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369)

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 559f19c
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:45 2023 -0700

    [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419)

    **Description:**
    Switch k8s.rq metrics to use pdata.

commit 2e11f46
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:20 2023 -0700

    [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420)

commit 5cfcdeb
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 17:59:51 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417)

    This change removes unused k8s informer data from the cache to reduce RAM utilization.

    Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage.

commit 260f34f
Author: linfn <[email protected]>
Date:   Fri Jun 16 02:44:06 2023 +0800

    [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799)

    In Skywalking, parentSpanId == -1 indicates that the span is [the first
    span within the current
    segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119),
    rather than within the entire trace. Leaving parentSpanId blank can
    cause the call relationship to be lost when crossing segments.

commit f709809
Author: Sam DeHaan <[email protected]>
Date:   Thu Jun 15 14:42:59 2023 -0400

    [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363)

    Access Logs required permissions for monitoring were
    not documented in the receiver README.

    Should have been documented for
    open-telemetry#21182

commit 8885502
Author: Raj Nishtala <[email protected]>
Date:   Thu Jun 15 14:41:37 2023 -0400

    [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414)

    Updating CODEOWNERS for processor/groupbyattrsprocessor

commit d98e12b
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:21:42 2023 -0700

    [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409)

commit fd526ee
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:16:33 2023 -0700

    [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408)

    Rebase of open-telemetry#18250 with latest main.

    ---------

    Signed-off-by: Bogdan Drutu <[email protected]>
    Co-authored-by: Bogdan Drutu <[email protected]>

commit e6e1e76
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 10:10:13 2023 -0700

    [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403)

    Do not drop `container.cpu.time` metric in the default translations so
    it can be enabled in the `include_metrics` config option.

    This is the only metric that is dropped in the translations. All other
    metrics are being kept.

commit 65a1dea
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 08:09:39 2023 -0700

    [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410)

    Try sending data a few times to fix flakiness of test.

    **Link to tracking Issue:**
    Fixes open-telemetry#23381

commit 9f0032e
Author: Pablo Baeyens <[email protected]>
Date:   Thu Jun 15 14:43:18 2023 +0200

    [chore] make gotidy (open-telemetry#23412)

    Fixes main after open-telemetry#23257

commit ae15d8c
Author: Tigran Najaryan <[email protected]>
Date:   Thu Jun 15 07:04:14 2023 -0400

    Add zstd compression to SAPM receiver and exporter (open-telemetry#23257)

    - Updated github.com/signalfx/sapm-proto to v0.13.0
    - Added "compression" config setting to sapm exporter
    - Added tests to verify various compression settings for sapm receiver
    and exporter.

commit c2658a7
Author: Mike Dame <[email protected]>
Date:   Thu Jun 15 06:58:12 2023 -0400

    [chore] Update GCP codeowners (open-telemetry#22781)

    Updating CODEOWNERS entries for GCP exporters

commit c7462f2
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 23:40:16 2023 -0700

    [chore] add k8sclusterreceiver e2e test (open-telemetry#23386)

    Adds an e2e test for k8sclusterreceiver with a golden metrics file.

commit 1bf2547
Author: Andrzej Stencel <[email protected]>
Date:   Wed Jun 14 22:40:06 2023 +0200

    [receiver/sqlquery] add support for logs (open-telemetry#20730)

    Fixes open-telemetry#20284

    This introduces initial support for retrieving rows from SQL databases
    into logs.

    This PR aims to provide an initial, not feature rich, but production
    ready implementation. The following features are available:

    - Use `body_column` to select the column to use to fill the Body field
    of the created log
    - Use `tracking_start_value` and `tracking_column` properties to track
    rows that were already ingested
    - Use `storage` property to persist the tracking value across collector
    restarts

    In this state and marked as "development" stability, the component can
    be used for experimentation and to guide future development.

    There are definitely more things that need to be implemented for this
    component to be considered "alpha" quality - like filling in other [log
    fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition)
    like Timestamp, ObservedTimestamp and others. I would like to add them
    in subsequent pull requests, as this pull request is already way too
    big.

    ---------

    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>

commit e7608db
Author: Irina <[email protected]>
Date:   Wed Jun 14 19:50:04 2023 +0100

    [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733)

    **Description:**
    There is currently no way to get the
    [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396)
    field from plog.LogRecord into Loki.
    Added Flags field to lokiEntry in this PR

    **Link to tracking Issue:**
    open-telemetry#21650

    **Testing:** Added unit tests

commit 50bbb9f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:42:33 2023 +0200

    [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384)

    cc @jpkrohling @pavankrish123

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit a4dda5b
Author: Vastin <[email protected]>
Date:   Wed Jun 14 13:12:48 2023 -0500

    [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626)

    **Description:**

    This PR adds [exponential
    histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram)
    support in `awsemfexporter`. The exponential histogram metrics are
    exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and
    Min are set as Statistical Set. The mid-point values and counts of
    exponential histogram buckets are translated into Values/Counts array of
    EMF log entry as well.

    **Testing:**

    The unit test is added and covers positive, zero and negative values.

    The integration test is performed with following OTEL collector
    configuration.
    ```
    extensions:
      health_check:
    receivers:
      otlp:
        protocols:
          grpc:
            endpoint: 0.0.0.0:4317
          http:
            endpoint: 0.0.0.0:4318

    processors:
      batch/metrics:
        timeout: 60s

    exporters:
      logging:
        verbosity: detailed
      awsemf:
        region: 'us-east-1'
        namespace: "Test"
        dimension_rollup_option: "NoDimensionRollup"

    service:
      pipelines:
        metrics:
          receivers: [otlp]
          processors: [batch/metrics]
          exporters: [awsemf, logging]
      extensions: [health_check]
      telemetry:
        logs:
          level: "debug"
    ```
    It generated EMF log for histogram metrics in following JSON format.
    Notes: It doesn't cover negative values since histograms can [only
    record non-negative
    values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram)
    and will [drop negative
    values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44).

    ```
        "latency": {
            "Values": [
                309.4277237034415,
                323.12725941969757,
                326.64588457862067,
                344.8221530867399,
                520.3933272846809,
                531.7884573308439,
                537.579253961712,
                543.4331082335607,
                549.3507067990806,
                555.3327437881196,
                561.3799208891041,
                567.4929474313465,
                720.1774681373079,
                0
            ],
            "Counts": [
                1,
                1,
                1,
                1,
                1,
                3,
                4,
                2,
                2,
                3,
                1,
                1,
                1,
                22
            ],
            "Max": 720,
            "Min": 0,
            "Count": 44,
            "Sum": 11265
        }
    ```

commit f66845f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:09:35 2023 +0200

    [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739)

    Closes open-telemetry#22737

    ---------

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit 6a83a9a
Author: Dominik Rosiek <[email protected]>
Date:   Wed Jun 14 19:11:38 2023 +0200

    [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337)

    Deprecate options which are going to be removed

    **Link to tracking Issue:** open-telemetry#23059

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Mikołaj Świątek <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit 3faedfc
Author: OpenTelemetry Bot <[email protected]>
Date:   Wed Jun 14 09:39:22 2023 -0700

    [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380)

    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awsxrayreceiver

commit d9326aa
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 09:13:30 2023 -0700

    [chore] mark components as unmaintained (open-telemetry#23379)

    These components no longer have an active code owner as a result of

    Signed-off-by: Alex Boten <[email protected]>

commit 8729c16
Author: Daniel Jaglowski <[email protected]>
Date:   Wed Jun 14 09:32:35 2023 -0600

    [chore] Enable exhaustive linter for several modules (open-telemetry#23329)

    Updates open-telemetry#23266

    - receiver/nsxt
    - receiver/snmp
    - connector/count
    - extension/storage
    - pkg/stanza

commit 52d87f8
Author: Evan Bradley <[email protected]>
Date:   Wed Jun 14 11:30:51 2023 -0400

    [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143)

    This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context.

    **Link to tracking Issue:**

    Implements open-telemetry#18461
    Co-authored-by: Matej Gera <[email protected]>

    ---------

    Co-authored-by: Evan Bradley <[email protected]>
    Co-authored-by: Matej Gera <[email protected]>

commit 31bfef7
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 08:18:27 2023 -0700

    [chore] bump go version for linting (open-telemetry#23346)

    After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment)

    I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues.

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d79f3c0
Author: Curtis Robert <[email protected]>
Date:   Wed Jun 14 08:05:56 2023 -0700

    [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368)

    As a result of issue open-telemetry#23246, a few components are now unmaintained.
    These need to be documented in the ALLOWLIST file.

commit 19e2a2d
Author: Tomáš Žďára <[email protected]>
Date:   Wed Jun 14 11:22:35 2023 +0200

    DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250)

    * DSET-3998 - export Logs resource info based on     export_resource_info_on_event configuration

    * DSET-3998 - simplify

    * DSET-3998 - improve docs

    * Fix log exporter to set AddEvents Event timestamp (ts) field to event
    observed timetamp in case LogRecord doesn't contain timestamp.

    Even though ObservedTimestamp should always be present, we fall back to
    current time in case it's not.

    In addition to that, remove duplicate and redundant "timestamp"
    attribute from the AddEvents event.

    * Add additional assertions.

    * Remove dummy debug logs.

    * Create export-logs-resource-info-based-configuration

    * address PR notes - fix changelog gen

    * fix docs typo

    * fix changelog file suffix

    ---------

    Co-authored-by: Tomaz Muraus <[email protected]>
    Co-authored-by: Tomaz Muraus <[email protected]>

commit 5a582d9
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 00:31:28 2023 -0700

    [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366)

    Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric.

commit 16df49f
Author: Sean Marciniak <[email protected]>
Date:   Wed Jun 14 12:00:31 2023 +0930

    [chore] Fix datadog receiver flakey test. (open-telemetry#23336)

    * Use random address

    * Bind to localhost interface

commit 9f854da
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 22:25:29 2023 +0000

    [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338)

commit 77d8c70
Author: OpenTelemetry Bot <[email protected]>
Date:   Tue Jun 13 12:57:55 2023 -0700

    [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345)

    Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver
    Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter
    Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter
    Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver
    Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver
    Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools
    Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver

commit 6bf41e4
Author: Mackenzie <[email protected]>
Date:   Tue Jun 13 18:33:39 2023 +0200

    Add metadata.yaml as a requirement (open-telemetry#23340)

    Fixes: open-telemetry#20908.

    ---------

    Co-authored-by: Yang Song <[email protected]>

commit 563fd6f
Author: Alex Boten <[email protected]>
Date:   Tue Jun 13 09:33:00 2023 -0700

    [chore] make update-otel (open-telemetry#23278)

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d2c7c1f
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 09:45:00 2023 -0600

    [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280)

commit 375da69
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 08:23:00 2023 -0600

    [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281)

    * [chore] Deprecate unnecessary fileconsumer API

    * Add deprecation version and tentative removal version

commit 6ac5285
Author: Dewald de Jager <[email protected]>
Date:   Tue Jun 13 11:20:41 2023 +0200

    [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962)

    * Start adding the status information to the metadata schema documentation

    * Remove cmd from the list of possible classes

    * Fix spelling mistake

    Co-authored-by: Antoine Toulme <[email protected]>

    * Update the value used for the development stability status

    Co-authored-by: Antoine Toulme <[email protected]>

    * Fix the tests after updating the example metadata file

    * Document how to use mdatagen and the schema of metadata.yaml

    * Add the stability levels for connectors

    * Change the receiver type so the tests pass

    * Update the generated documentation

    * Change the syntax used for string array types so that it is valid YAML

    ---------

    Co-authored-by: Antoine Toulme <[email protected]>

commit 061eb3e
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 06:29:11 2023 +0000

    [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272)

    Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store.

    I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently.

commit ab42d69
Author: zeno-splunk <[email protected]>
Date:   Mon Jun 12 22:36:54 2023 -0700

    [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332)

    Update `kafka.brokers` metric to be non-monothonic sum instead of gauge

commit 9e4d50f
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 12 20:28:17 2023 -0700

    remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248)

    Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus

commit e0249e0
Author: Alex Boten <[email protected]>
Date:   Mon Jun 12 15:01:49 2023 -0700

    [chore] forwardconnector was not listed in the modules script (open-telemetry#23330)

    this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently

    Signed-off-by: Alex Boten <[email protected]>

commit 9d5526c
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 09:58:22 2023 -0600

    [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255)

commit bbea8aa
Author: Trask Stalnaker <[email protected]>
Date:   Mon Jun 12 08:38:45 2023 -0700

    Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268)

commit 0f8e128
Author: Tyler Helmuth <[email protected]>
Date:   Mon Jun 12 08:45:16 2023 -0600

    [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259)

    Update readme

commit 6d35fd7
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 16:33:47 2023 +0200

    [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211)

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 88ac450
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 12 17:31:02 2023 +0300

    receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851)

    * receiver/dockerstatsreceiver: add container.uptime metric

    This change adds the `container.uptime` metric which indicates time
    elapsed (in seconds) since the container started.

    * Add scraper error for invalid time format

    * Disable by default

    * empty

commit 6947357
Author: Yang Song <[email protected]>
Date:   Mon Jun 12 10:27:42 2023 -0400

    [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240)

    * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation

    * Add to changelog

    * Update exporter/datadogexporter/config.go

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Update .chloggen/datadogexporter-new-trace-configs.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Add subtext to changelog

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit b247914
Author: Raj Nishtala <[email protected]>
Date:   Mon Jun 12 10:26:18 2023 -0400

    [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210)

    * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string

    * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string

commit 3b62a17
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 07:50:37 2023 -0600

    [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254)

    * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable

    * Update .chloggen/elastic-stable-nodevesiongate.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit 6249ae8
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 13:09:13 2023 +0200

    resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740)

    * resourcedetectionprocessor: use gopsutil for host id detection

    Signed-off-by: Dominik Rosiek <[email protected]>

    * feat: use opentelemetry sdk

    Signed-off-by: Dominik Rosiek <[email protected]>

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 820510e
Author: Ziqi Zhao <[email protected]>
Date:   Mon Jun 12 18:10:33 2023 +0800

    [chore] [all] Enable exhaustive linter on golangci-lint  (open-telemetry#23242)

    Enable exhaustive linter on golangci-lint

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 752330e
Author: shalper2 <[email protected]>
Date:   Sun Jun 11 10:44:14 2023 -0500

    [receiver/webhookevent] Enable component (open-telemetry#23239)

    Graduate webhookeventreceiver component to Alpha

Co-authored-by: jimchen <[email protected]>
Caleb-Hurshman pushed a commit to observIQ/opentelemetry-collector-contrib that referenced this pull request Jul 6, 2023
open-telemetry#18740)

* resourcedetectionprocessor: use gopsutil for host id detection

Signed-off-by: Dominik Rosiek <[email protected]>

* feat: use opentelemetry sdk

Signed-off-by: Dominik Rosiek <[email protected]>

---------

Signed-off-by: Dominik Rosiek <[email protected]>
JimChenWYU pushed a commit to easyops-cn/opentelemetry-collector-contrib that referenced this pull request Jul 8, 2023
commit 739e583
Author: Anthony Mirabella <[email protected]>
Date:   Tue Jun 20 18:11:41 2023 -0400

    [chore] Prepare release v0.80.0 (open-telemetry#23584)

    The following commands were run to prepare this release:
    - make chlog-update VERSION=v0.80.0
    - sed -i.bak s/0.79.0/0.80.0/g versions.yaml
    - make multimod-prerelease
    - make multimod-sync

    Additionally, changes from
    open-telemetry#23583
    were incorporated.

    ---------

    Signed-off-by: Anthony J Mirabella <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit e988fca
Author: Alex Boten <[email protected]>
Date:   Tue Jun 20 12:23:52 2023 -0700

    [chore] update otel core (open-telemetry#23578)

    Signed-off-by: Alex Boten <[email protected]>

commit 42dbc6c
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 19:51:21 2023 +0200

    aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572)

    Metric unit is required, see:
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

    This PR adds the unit to metrics where this is missing:

    - aerospike.node.query.tracked

commit 200778b
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 18:51:54 2023 +0200

    [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575)

    This func is not used. Because the receiver is the metadata struct, it
    would need to be called directly.

    This also tests field Name -- which does not exist anymore (replaced by
    Type).

    **Note:** Validation of Type will be done as part of open-telemetry#23424

commit b726aee
Author: Mend Renovate <[email protected]>
Date:   Tue Jun 20 18:49:27 2023 +0200

    chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

    This PR contains the following updates:

    | Package | Type | Update | Change |
    |---|---|---|---|
    |
    [actions/download-artifact](https://github.com/actions/download-artifact)
    | action | major | `v2` -> `v3` |
    |
    [actions/upload-artifact](https://github.com/actions/upload-artifact)
    | action | major | `v2` -> `v3` |

    ---

    <details>
    <summary>actions/download-artifact</summary>
    [`v3`](https://github.com/actions/download-artifact/compare/v2...v3)

    [Compare
    Source](https://github.com/actions/download-artifact/compare/v2...v3)

    </details>

    <details>
    <summary>actions/upload-artifact</summary>

    [Compare
    Source](https://github.com/actions/upload-artifact/compare/v2...v3)

    </details>

    ---

    📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
    time (no schedule defined).

    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.

    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.

    🔕 **Ignore**: Close this PR and you won't be reminded about these
    updates again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box

    ---

    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

commit 9d38d84
Author: Tigran Najaryan <[email protected]>
Date:   Tue Jun 20 12:13:20 2023 -0400

    [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455)

    - Added gzip and zstd tests to SAPM trace test.

    - Modified GenerateTraces to generate more variable data to make sure it
    is a more fair comparison when compression is enabled (otherwise it was
    compressing too well and was not representative of real-world
    workloads).

    This makes easier to see the impact of added zstd compression done in
    open-telemetry#23257

commit 9a5f723
Author: rubenruizdegauna <[email protected]>
Date:   Tue Jun 20 07:42:56 2023 +0200

    [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451)

    Currently `process.cpu.utilization` is not sent when it is enabled if
    `process.cpu.time` is disabled.
    It should be sent independently of `process.cpu.time`

commit ad2e101
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 07:21:06 2023 +0200

    [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454)

    This PR adds the bytes unit to metrics where this is missing. unit is a
    required field, see
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

commit d89a6e1
Author: Bartosz Sławianowski <[email protected]>
Date:   Mon Jun 19 21:13:53 2023 +0200

    [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453)

    Kubernetes namespace is a cluster-scoped resource and doesn't seem to
    have populated `namespace` field in Kubernetes (at least on 1.25.x and
    1.26.x).

    This PR changes it so the name of the namespace is simply taken from
    `name` field instead.

commit 6ee548b
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 19 10:51:31 2023 -0700

    [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438)

    Switch k8s.node metrics to use pdata.

commit 5fff104
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 19 13:13:11 2023 +0300

    {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445)

    This change bumps the opentelemetry-mapping-go dependency to v0.5.0
    which contains the metric remapping code. As a result, it is removed
    from the exporter.

commit b719459
Author: Antoine Toulme <[email protected]>
Date:   Sat Jun 17 10:50:17 2023 -0700

    [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437)

    Switch k8s.namespace metrics to use pdata.

commit b2238b9
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 23:08:30 2023 -0700

    [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434)

    To reduce RAM utilization.

    Resolves
    open-telemetry#23433

    This is the last PR to reduce the memory footprint of k8s API informers.
    Other objects are more static and usually don't have a lot of instances
    in user clusters, so there is no need to reduce their size.

commit 1c84fb2
Author: Dominik Rosiek <[email protected]>
Date:   Sat Jun 17 06:24:40 2023 +0200

    feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274)

    **Description:**

    deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors`

    ```
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:104        Setting up own telemetry...
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:127        Serving Prometheus metrics      {"address": ":8888", "level": "Basic"}
    2023-06-12T08:29:43.306+0200    info    [email protected]/exporter.go:275        Development component. May change in the future.        {"kind": "exporter", "data_type": "metrics", "name": "logging"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:131  Starting otelcontribcol...      {"Version": "0.79.0-dev", "NumCPU": 16}
    2023-06-12T08:29:43.308+0200    info    extensions/extensions.go:30     Starting extensions...
    2023-06-12T08:29:43.308+0200    warn    [email protected]/scraper.go:60     `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead   {"kind": "receiver", "name": "mysql", "data_type": "metrics"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:148  Everything is ready. Begin running and processing data.
    ^C2023-06-12T08:29:44.055+0200  info    otelcol/collector.go:227        Received signal from OS {"signal": "interrupt"}
    2023-06-12T08:29:44.056+0200    info    service/service.go:157  Starting shutdown...
    ```

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Curtis Robert <[email protected]>

commit c8cf780
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 15:00:42 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432)

    Do not store unused data for deployments, statefulsets and daemonsets in
    k8s API cache to reduce RAM usage.

    Updates
    open-telemetry#23433

commit 0ccde43
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 21:01:32 2023 +0200

    Document extension as value for stability in metadata.yaml (open-telemetry#23426)

    Currently, this is used in all extensions (e.g.
    [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)),
    but this is not documented in `metadata-schema.yaml`.

commit 8869951
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 11:51:00 2023 -0700

    Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431)

    …rnal metrics (open-telemetry#23369)"

    This reverts commit 42bca6f.

    Revert it until
    open-telemetry#23369 (comment)
    is resolved to avoid adding it to the next release

    Co-authored-by: Ziqi Zhao <[email protected]>

commit 6ad0589
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 19:21:23 2023 +0200

    [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213)

    This PR adds the resource attributes added by the k8sattributes
    processor to the metadata.yaml file in the resource_attributes group.
    Only the attributes which are added by default (see
    [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration))
    are marked as enabled.

    The default resource attributes defined in metadata.yaml are used to
    make the default extract::metadata list.
    Resource attributes are exposed through a different configuration
    interface. This is noted in the metadata.yaml file.

commit a4585ce
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:57:52 2023 -0700

    [chore] retry sending coverage output (open-telemetry#23413)

commit 195ef43
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:50:14 2023 -0700

    [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416)

commit 0ae07ba
Author: Pablo Baeyens <[email protected]>
Date:   Fri Jun 16 11:05:52 2023 +0200

    [chore] Clean up CODEOWNERS (open-telemetry#23382)

    **Description:**

    Clean up CODEOWNERS file to remove redundant lines; add these to the
    ALLOWLIST.

    **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG

commit a5cdd2f
Author: atshaw43 <[email protected]>
Date:   Fri Jun 16 00:11:17 2023 -0700

    [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313)

    Add link span link support and support for the messaging field.

    We are conforming to the OTel spec:
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110

commit 42bca6f
Author: Ziqi Zhao <[email protected]>
Date:   Fri Jun 16 14:51:10 2023 +0800

    [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369)

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 559f19c
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:45 2023 -0700

    [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419)

    **Description:**
    Switch k8s.rq metrics to use pdata.

commit 2e11f46
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:20 2023 -0700

    [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420)

commit 5cfcdeb
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 17:59:51 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417)

    This change removes unused k8s informer data from the cache to reduce RAM utilization.

    Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage.

commit 260f34f
Author: linfn <[email protected]>
Date:   Fri Jun 16 02:44:06 2023 +0800

    [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799)

    In Skywalking, parentSpanId == -1 indicates that the span is [the first
    span within the current
    segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119),
    rather than within the entire trace. Leaving parentSpanId blank can
    cause the call relationship to be lost when crossing segments.

commit f709809
Author: Sam DeHaan <[email protected]>
Date:   Thu Jun 15 14:42:59 2023 -0400

    [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363)

    Access Logs required permissions for monitoring were
    not documented in the receiver README.

    Should have been documented for
    open-telemetry#21182

commit 8885502
Author: Raj Nishtala <[email protected]>
Date:   Thu Jun 15 14:41:37 2023 -0400

    [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414)

    Updating CODEOWNERS for processor/groupbyattrsprocessor

commit d98e12b
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:21:42 2023 -0700

    [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409)

commit fd526ee
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:16:33 2023 -0700

    [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408)

    Rebase of open-telemetry#18250 with latest main.

    ---------

    Signed-off-by: Bogdan Drutu <[email protected]>
    Co-authored-by: Bogdan Drutu <[email protected]>

commit e6e1e76
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 10:10:13 2023 -0700

    [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403)

    Do not drop `container.cpu.time` metric in the default translations so
    it can be enabled in the `include_metrics` config option.

    This is the only metric that is dropped in the translations. All other
    metrics are being kept.

commit 65a1dea
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 08:09:39 2023 -0700

    [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410)

    Try sending data a few times to fix flakiness of test.

    **Link to tracking Issue:**
    Fixes open-telemetry#23381

commit 9f0032e
Author: Pablo Baeyens <[email protected]>
Date:   Thu Jun 15 14:43:18 2023 +0200

    [chore] make gotidy (open-telemetry#23412)

    Fixes main after open-telemetry#23257

commit ae15d8c
Author: Tigran Najaryan <[email protected]>
Date:   Thu Jun 15 07:04:14 2023 -0400

    Add zstd compression to SAPM receiver and exporter (open-telemetry#23257)

    - Updated github.com/signalfx/sapm-proto to v0.13.0
    - Added "compression" config setting to sapm exporter
    - Added tests to verify various compression settings for sapm receiver
    and exporter.

commit c2658a7
Author: Mike Dame <[email protected]>
Date:   Thu Jun 15 06:58:12 2023 -0400

    [chore] Update GCP codeowners (open-telemetry#22781)

    Updating CODEOWNERS entries for GCP exporters

commit c7462f2
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 23:40:16 2023 -0700

    [chore] add k8sclusterreceiver e2e test (open-telemetry#23386)

    Adds an e2e test for k8sclusterreceiver with a golden metrics file.

commit 1bf2547
Author: Andrzej Stencel <[email protected]>
Date:   Wed Jun 14 22:40:06 2023 +0200

    [receiver/sqlquery] add support for logs (open-telemetry#20730)

    Fixes open-telemetry#20284

    This introduces initial support for retrieving rows from SQL databases
    into logs.

    This PR aims to provide an initial, not feature rich, but production
    ready implementation. The following features are available:

    - Use `body_column` to select the column to use to fill the Body field
    of the created log
    - Use `tracking_start_value` and `tracking_column` properties to track
    rows that were already ingested
    - Use `storage` property to persist the tracking value across collector
    restarts

    In this state and marked as "development" stability, the component can
    be used for experimentation and to guide future development.

    There are definitely more things that need to be implemented for this
    component to be considered "alpha" quality - like filling in other [log
    fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition)
    like Timestamp, ObservedTimestamp and others. I would like to add them
    in subsequent pull requests, as this pull request is already way too
    big.

    ---------

    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>

commit e7608db
Author: Irina <[email protected]>
Date:   Wed Jun 14 19:50:04 2023 +0100

    [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733)

    **Description:**
    There is currently no way to get the
    [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396)
    field from plog.LogRecord into Loki.
    Added Flags field to lokiEntry in this PR

    **Link to tracking Issue:**
    open-telemetry#21650

    **Testing:** Added unit tests

commit 50bbb9f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:42:33 2023 +0200

    [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384)

    cc @jpkrohling @pavankrish123

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit a4dda5b
Author: Vastin <[email protected]>
Date:   Wed Jun 14 13:12:48 2023 -0500

    [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626)

    **Description:**

    This PR adds [exponential
    histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram)
    support in `awsemfexporter`. The exponential histogram metrics are
    exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and
    Min are set as Statistical Set. The mid-point values and counts of
    exponential histogram buckets are translated into Values/Counts array of
    EMF log entry as well.

    **Testing:**

    The unit test is added and covers positive, zero and negative values.

    The integration test is performed with following OTEL collector
    configuration.
    ```
    extensions:
      health_check:
    receivers:
      otlp:
        protocols:
          grpc:
            endpoint: 0.0.0.0:4317
          http:
            endpoint: 0.0.0.0:4318

    processors:
      batch/metrics:
        timeout: 60s

    exporters:
      logging:
        verbosity: detailed
      awsemf:
        region: 'us-east-1'
        namespace: "Test"
        dimension_rollup_option: "NoDimensionRollup"

    service:
      pipelines:
        metrics:
          receivers: [otlp]
          processors: [batch/metrics]
          exporters: [awsemf, logging]
      extensions: [health_check]
      telemetry:
        logs:
          level: "debug"
    ```
    It generated EMF log for histogram metrics in following JSON format.
    Notes: It doesn't cover negative values since histograms can [only
    record non-negative
    values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram)
    and will [drop negative
    values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44).

    ```
        "latency": {
            "Values": [
                309.4277237034415,
                323.12725941969757,
                326.64588457862067,
                344.8221530867399,
                520.3933272846809,
                531.7884573308439,
                537.579253961712,
                543.4331082335607,
                549.3507067990806,
                555.3327437881196,
                561.3799208891041,
                567.4929474313465,
                720.1774681373079,
                0
            ],
            "Counts": [
                1,
                1,
                1,
                1,
                1,
                3,
                4,
                2,
                2,
                3,
                1,
                1,
                1,
                22
            ],
            "Max": 720,
            "Min": 0,
            "Count": 44,
            "Sum": 11265
        }
    ```

commit f66845f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:09:35 2023 +0200

    [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739)

    Closes open-telemetry#22737

    ---------

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit 6a83a9a
Author: Dominik Rosiek <[email protected]>
Date:   Wed Jun 14 19:11:38 2023 +0200

    [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337)

    Deprecate options which are going to be removed

    **Link to tracking Issue:** open-telemetry#23059

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Mikołaj Świątek <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit 3faedfc
Author: OpenTelemetry Bot <[email protected]>
Date:   Wed Jun 14 09:39:22 2023 -0700

    [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380)

    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awsxrayreceiver

commit d9326aa
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 09:13:30 2023 -0700

    [chore] mark components as unmaintained (open-telemetry#23379)

    These components no longer have an active code owner as a result of

    Signed-off-by: Alex Boten <[email protected]>

commit 8729c16
Author: Daniel Jaglowski <[email protected]>
Date:   Wed Jun 14 09:32:35 2023 -0600

    [chore] Enable exhaustive linter for several modules (open-telemetry#23329)

    Updates open-telemetry#23266

    - receiver/nsxt
    - receiver/snmp
    - connector/count
    - extension/storage
    - pkg/stanza

commit 52d87f8
Author: Evan Bradley <[email protected]>
Date:   Wed Jun 14 11:30:51 2023 -0400

    [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143)

    This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context.

    **Link to tracking Issue:**

    Implements open-telemetry#18461
    Co-authored-by: Matej Gera <[email protected]>

    ---------

    Co-authored-by: Evan Bradley <[email protected]>
    Co-authored-by: Matej Gera <[email protected]>

commit 31bfef7
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 08:18:27 2023 -0700

    [chore] bump go version for linting (open-telemetry#23346)

    After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment)

    I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues.

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d79f3c0
Author: Curtis Robert <[email protected]>
Date:   Wed Jun 14 08:05:56 2023 -0700

    [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368)

    As a result of issue open-telemetry#23246, a few components are now unmaintained.
    These need to be documented in the ALLOWLIST file.

commit 19e2a2d
Author: Tomáš Žďára <[email protected]>
Date:   Wed Jun 14 11:22:35 2023 +0200

    DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250)

    * DSET-3998 - export Logs resource info based on     export_resource_info_on_event configuration

    * DSET-3998 - simplify

    * DSET-3998 - improve docs

    * Fix log exporter to set AddEvents Event timestamp (ts) field to event
    observed timetamp in case LogRecord doesn't contain timestamp.

    Even though ObservedTimestamp should always be present, we fall back to
    current time in case it's not.

    In addition to that, remove duplicate and redundant "timestamp"
    attribute from the AddEvents event.

    * Add additional assertions.

    * Remove dummy debug logs.

    * Create export-logs-resource-info-based-configuration

    * address PR notes - fix changelog gen

    * fix docs typo

    * fix changelog file suffix

    ---------

    Co-authored-by: Tomaz Muraus <[email protected]>
    Co-authored-by: Tomaz Muraus <[email protected]>

commit 5a582d9
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 00:31:28 2023 -0700

    [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366)

    Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric.

commit 16df49f
Author: Sean Marciniak <[email protected]>
Date:   Wed Jun 14 12:00:31 2023 +0930

    [chore] Fix datadog receiver flakey test. (open-telemetry#23336)

    * Use random address

    * Bind to localhost interface

commit 9f854da
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 22:25:29 2023 +0000

    [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338)

commit 77d8c70
Author: OpenTelemetry Bot <[email protected]>
Date:   Tue Jun 13 12:57:55 2023 -0700

    [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345)

    Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver
    Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter
    Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter
    Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver
    Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver
    Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools
    Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver

commit 6bf41e4
Author: Mackenzie <[email protected]>
Date:   Tue Jun 13 18:33:39 2023 +0200

    Add metadata.yaml as a requirement (open-telemetry#23340)

    Fixes: open-telemetry#20908.

    ---------

    Co-authored-by: Yang Song <[email protected]>

commit 563fd6f
Author: Alex Boten <[email protected]>
Date:   Tue Jun 13 09:33:00 2023 -0700

    [chore] make update-otel (open-telemetry#23278)

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d2c7c1f
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 09:45:00 2023 -0600

    [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280)

commit 375da69
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 08:23:00 2023 -0600

    [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281)

    * [chore] Deprecate unnecessary fileconsumer API

    * Add deprecation version and tentative removal version

commit 6ac5285
Author: Dewald de Jager <[email protected]>
Date:   Tue Jun 13 11:20:41 2023 +0200

    [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962)

    * Start adding the status information to the metadata schema documentation

    * Remove cmd from the list of possible classes

    * Fix spelling mistake

    Co-authored-by: Antoine Toulme <[email protected]>

    * Update the value used for the development stability status

    Co-authored-by: Antoine Toulme <[email protected]>

    * Fix the tests after updating the example metadata file

    * Document how to use mdatagen and the schema of metadata.yaml

    * Add the stability levels for connectors

    * Change the receiver type so the tests pass

    * Update the generated documentation

    * Change the syntax used for string array types so that it is valid YAML

    ---------

    Co-authored-by: Antoine Toulme <[email protected]>

commit 061eb3e
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 06:29:11 2023 +0000

    [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272)

    Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store.

    I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently.

commit ab42d69
Author: zeno-splunk <[email protected]>
Date:   Mon Jun 12 22:36:54 2023 -0700

    [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332)

    Update `kafka.brokers` metric to be non-monothonic sum instead of gauge

commit 9e4d50f
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 12 20:28:17 2023 -0700

    remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248)

    Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus

commit e0249e0
Author: Alex Boten <[email protected]>
Date:   Mon Jun 12 15:01:49 2023 -0700

    [chore] forwardconnector was not listed in the modules script (open-telemetry#23330)

    this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently

    Signed-off-by: Alex Boten <[email protected]>

commit 9d5526c
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 09:58:22 2023 -0600

    [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255)

commit bbea8aa
Author: Trask Stalnaker <[email protected]>
Date:   Mon Jun 12 08:38:45 2023 -0700

    Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268)

commit 0f8e128
Author: Tyler Helmuth <[email protected]>
Date:   Mon Jun 12 08:45:16 2023 -0600

    [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259)

    Update readme

commit 6d35fd7
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 16:33:47 2023 +0200

    [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211)

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 88ac450
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 12 17:31:02 2023 +0300

    receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851)

    * receiver/dockerstatsreceiver: add container.uptime metric

    This change adds the `container.uptime` metric which indicates time
    elapsed (in seconds) since the container started.

    * Add scraper error for invalid time format

    * Disable by default

    * empty

commit 6947357
Author: Yang Song <[email protected]>
Date:   Mon Jun 12 10:27:42 2023 -0400

    [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240)

    * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation

    * Add to changelog

    * Update exporter/datadogexporter/config.go

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Update .chloggen/datadogexporter-new-trace-configs.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Add subtext to changelog

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit b247914
Author: Raj Nishtala <[email protected]>
Date:   Mon Jun 12 10:26:18 2023 -0400

    [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210)

    * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string

    * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string

commit 3b62a17
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 07:50:37 2023 -0600

    [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254)

    * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable

    * Update .chloggen/elastic-stable-nodevesiongate.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit 6249ae8
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 13:09:13 2023 +0200

    resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740)

    * resourcedetectionprocessor: use gopsutil for host id detection

    Signed-off-by: Dominik Rosiek <[email protected]>

    * feat: use opentelemetry sdk

    Signed-off-by: Dominik Rosiek <[email protected]>

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 820510e
Author: Ziqi Zhao <[email protected]>
Date:   Mon Jun 12 18:10:33 2023 +0800

    [chore] [all] Enable exhaustive linter on golangci-lint  (open-telemetry#23242)

    Enable exhaustive linter on golangci-lint

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 752330e
Author: shalper2 <[email protected]>
Date:   Sun Jun 11 10:44:14 2023 -0500

    [receiver/webhookevent] Enable component (open-telemetry#23239)

    Graduate webhookeventreceiver component to Alpha
JimChenWYU added a commit to easyops-cn/opentelemetry-collector-contrib that referenced this pull request Jul 8, 2023
commit 739e583
Author: Anthony Mirabella <[email protected]>
Date:   Tue Jun 20 18:11:41 2023 -0400

    [chore] Prepare release v0.80.0 (open-telemetry#23584)

    The following commands were run to prepare this release:
    - make chlog-update VERSION=v0.80.0
    - sed -i.bak s/0.79.0/0.80.0/g versions.yaml
    - make multimod-prerelease
    - make multimod-sync

    Additionally, changes from
    open-telemetry#23583
    were incorporated.

    ---------

    Signed-off-by: Anthony J Mirabella <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit e988fca
Author: Alex Boten <[email protected]>
Date:   Tue Jun 20 12:23:52 2023 -0700

    [chore] update otel core (open-telemetry#23578)

    Signed-off-by: Alex Boten <[email protected]>

commit 42dbc6c
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 19:51:21 2023 +0200

    aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572)

    Metric unit is required, see:
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

    This PR adds the unit to metrics where this is missing:

    - aerospike.node.query.tracked

commit 200778b
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 18:51:54 2023 +0200

    [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575)

    This func is not used. Because the receiver is the metadata struct, it
    would need to be called directly.

    This also tests field Name -- which does not exist anymore (replaced by
    Type).

    **Note:** Validation of Type will be done as part of open-telemetry#23424

commit b726aee
Author: Mend Renovate <[email protected]>
Date:   Tue Jun 20 18:49:27 2023 +0200

    chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

    This PR contains the following updates:

    | Package | Type | Update | Change |
    |---|---|---|---|
    |
    [actions/download-artifact](https://github.com/actions/download-artifact)
    | action | major | `v2` -> `v3` |
    |
    [actions/upload-artifact](https://github.com/actions/upload-artifact)
    | action | major | `v2` -> `v3` |

    ---

    <details>
    <summary>actions/download-artifact</summary>
    [`v3`](https://github.com/actions/download-artifact/compare/v2...v3)

    [Compare
    Source](https://github.com/actions/download-artifact/compare/v2...v3)

    </details>

    <details>
    <summary>actions/upload-artifact</summary>

    [Compare
    Source](https://github.com/actions/upload-artifact/compare/v2...v3)

    </details>

    ---

    📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
    time (no schedule defined).

    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.

    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.

    🔕 **Ignore**: Close this PR and you won't be reminded about these
    updates again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box

    ---

    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

commit 9d38d84
Author: Tigran Najaryan <[email protected]>
Date:   Tue Jun 20 12:13:20 2023 -0400

    [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455)

    - Added gzip and zstd tests to SAPM trace test.

    - Modified GenerateTraces to generate more variable data to make sure it
    is a more fair comparison when compression is enabled (otherwise it was
    compressing too well and was not representative of real-world
    workloads).

    This makes easier to see the impact of added zstd compression done in
    open-telemetry#23257

commit 9a5f723
Author: rubenruizdegauna <[email protected]>
Date:   Tue Jun 20 07:42:56 2023 +0200

    [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451)

    Currently `process.cpu.utilization` is not sent when it is enabled if
    `process.cpu.time` is disabled.
    It should be sent independently of `process.cpu.time`

commit ad2e101
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 07:21:06 2023 +0200

    [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454)

    This PR adds the bytes unit to metrics where this is missing. unit is a
    required field, see
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

commit d89a6e1
Author: Bartosz Sławianowski <[email protected]>
Date:   Mon Jun 19 21:13:53 2023 +0200

    [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453)

    Kubernetes namespace is a cluster-scoped resource and doesn't seem to
    have populated `namespace` field in Kubernetes (at least on 1.25.x and
    1.26.x).

    This PR changes it so the name of the namespace is simply taken from
    `name` field instead.

commit 6ee548b
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 19 10:51:31 2023 -0700

    [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438)

    Switch k8s.node metrics to use pdata.

commit 5fff104
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 19 13:13:11 2023 +0300

    {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445)

    This change bumps the opentelemetry-mapping-go dependency to v0.5.0
    which contains the metric remapping code. As a result, it is removed
    from the exporter.

commit b719459
Author: Antoine Toulme <[email protected]>
Date:   Sat Jun 17 10:50:17 2023 -0700

    [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437)

    Switch k8s.namespace metrics to use pdata.

commit b2238b9
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 23:08:30 2023 -0700

    [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434)

    To reduce RAM utilization.

    Resolves
    open-telemetry#23433

    This is the last PR to reduce the memory footprint of k8s API informers.
    Other objects are more static and usually don't have a lot of instances
    in user clusters, so there is no need to reduce their size.

commit 1c84fb2
Author: Dominik Rosiek <[email protected]>
Date:   Sat Jun 17 06:24:40 2023 +0200

    feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274)

    **Description:**

    deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors`

    ```
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:104        Setting up own telemetry...
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:127        Serving Prometheus metrics      {"address": ":8888", "level": "Basic"}
    2023-06-12T08:29:43.306+0200    info    [email protected]/exporter.go:275        Development component. May change in the future.        {"kind": "exporter", "data_type": "metrics", "name": "logging"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:131  Starting otelcontribcol...      {"Version": "0.79.0-dev", "NumCPU": 16}
    2023-06-12T08:29:43.308+0200    info    extensions/extensions.go:30     Starting extensions...
    2023-06-12T08:29:43.308+0200    warn    [email protected]/scraper.go:60     `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead   {"kind": "receiver", "name": "mysql", "data_type": "metrics"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:148  Everything is ready. Begin running and processing data.
    ^C2023-06-12T08:29:44.055+0200  info    otelcol/collector.go:227        Received signal from OS {"signal": "interrupt"}
    2023-06-12T08:29:44.056+0200    info    service/service.go:157  Starting shutdown...
    ```

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Curtis Robert <[email protected]>

commit c8cf780
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 15:00:42 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432)

    Do not store unused data for deployments, statefulsets and daemonsets in
    k8s API cache to reduce RAM usage.

    Updates
    open-telemetry#23433

commit 0ccde43
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 21:01:32 2023 +0200

    Document extension as value for stability in metadata.yaml (open-telemetry#23426)

    Currently, this is used in all extensions (e.g.
    [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)),
    but this is not documented in `metadata-schema.yaml`.

commit 8869951
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 11:51:00 2023 -0700

    Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431)

    …rnal metrics (open-telemetry#23369)"

    This reverts commit 42bca6f.

    Revert it until
    open-telemetry#23369 (comment)
    is resolved to avoid adding it to the next release

    Co-authored-by: Ziqi Zhao <[email protected]>

commit 6ad0589
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 19:21:23 2023 +0200

    [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213)

    This PR adds the resource attributes added by the k8sattributes
    processor to the metadata.yaml file in the resource_attributes group.
    Only the attributes which are added by default (see
    [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration))
    are marked as enabled.

    The default resource attributes defined in metadata.yaml are used to
    make the default extract::metadata list.
    Resource attributes are exposed through a different configuration
    interface. This is noted in the metadata.yaml file.

commit a4585ce
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:57:52 2023 -0700

    [chore] retry sending coverage output (open-telemetry#23413)

commit 195ef43
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:50:14 2023 -0700

    [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416)

commit 0ae07ba
Author: Pablo Baeyens <[email protected]>
Date:   Fri Jun 16 11:05:52 2023 +0200

    [chore] Clean up CODEOWNERS (open-telemetry#23382)

    **Description:**

    Clean up CODEOWNERS file to remove redundant lines; add these to the
    ALLOWLIST.

    **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG

commit a5cdd2f
Author: atshaw43 <[email protected]>
Date:   Fri Jun 16 00:11:17 2023 -0700

    [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313)

    Add link span link support and support for the messaging field.

    We are conforming to the OTel spec:
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110

commit 42bca6f
Author: Ziqi Zhao <[email protected]>
Date:   Fri Jun 16 14:51:10 2023 +0800

    [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369)

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 559f19c
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:45 2023 -0700

    [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419)

    **Description:**
    Switch k8s.rq metrics to use pdata.

commit 2e11f46
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:20 2023 -0700

    [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420)

commit 5cfcdeb
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 17:59:51 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417)

    This change removes unused k8s informer data from the cache to reduce RAM utilization.

    Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage.

commit 260f34f
Author: linfn <[email protected]>
Date:   Fri Jun 16 02:44:06 2023 +0800

    [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799)

    In Skywalking, parentSpanId == -1 indicates that the span is [the first
    span within the current
    segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119),
    rather than within the entire trace. Leaving parentSpanId blank can
    cause the call relationship to be lost when crossing segments.

commit f709809
Author: Sam DeHaan <[email protected]>
Date:   Thu Jun 15 14:42:59 2023 -0400

    [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363)

    Access Logs required permissions for monitoring were
    not documented in the receiver README.

    Should have been documented for
    open-telemetry#21182

commit 8885502
Author: Raj Nishtala <[email protected]>
Date:   Thu Jun 15 14:41:37 2023 -0400

    [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414)

    Updating CODEOWNERS for processor/groupbyattrsprocessor

commit d98e12b
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:21:42 2023 -0700

    [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409)

commit fd526ee
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:16:33 2023 -0700

    [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408)

    Rebase of open-telemetry#18250 with latest main.

    ---------

    Signed-off-by: Bogdan Drutu <[email protected]>
    Co-authored-by: Bogdan Drutu <[email protected]>

commit e6e1e76
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 10:10:13 2023 -0700

    [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403)

    Do not drop `container.cpu.time` metric in the default translations so
    it can be enabled in the `include_metrics` config option.

    This is the only metric that is dropped in the translations. All other
    metrics are being kept.

commit 65a1dea
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 08:09:39 2023 -0700

    [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410)

    Try sending data a few times to fix flakiness of test.

    **Link to tracking Issue:**
    Fixes open-telemetry#23381

commit 9f0032e
Author: Pablo Baeyens <[email protected]>
Date:   Thu Jun 15 14:43:18 2023 +0200

    [chore] make gotidy (open-telemetry#23412)

    Fixes main after open-telemetry#23257

commit ae15d8c
Author: Tigran Najaryan <[email protected]>
Date:   Thu Jun 15 07:04:14 2023 -0400

    Add zstd compression to SAPM receiver and exporter (open-telemetry#23257)

    - Updated github.com/signalfx/sapm-proto to v0.13.0
    - Added "compression" config setting to sapm exporter
    - Added tests to verify various compression settings for sapm receiver
    and exporter.

commit c2658a7
Author: Mike Dame <[email protected]>
Date:   Thu Jun 15 06:58:12 2023 -0400

    [chore] Update GCP codeowners (open-telemetry#22781)

    Updating CODEOWNERS entries for GCP exporters

commit c7462f2
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 23:40:16 2023 -0700

    [chore] add k8sclusterreceiver e2e test (open-telemetry#23386)

    Adds an e2e test for k8sclusterreceiver with a golden metrics file.

commit 1bf2547
Author: Andrzej Stencel <[email protected]>
Date:   Wed Jun 14 22:40:06 2023 +0200

    [receiver/sqlquery] add support for logs (open-telemetry#20730)

    Fixes open-telemetry#20284

    This introduces initial support for retrieving rows from SQL databases
    into logs.

    This PR aims to provide an initial, not feature rich, but production
    ready implementation. The following features are available:

    - Use `body_column` to select the column to use to fill the Body field
    of the created log
    - Use `tracking_start_value` and `tracking_column` properties to track
    rows that were already ingested
    - Use `storage` property to persist the tracking value across collector
    restarts

    In this state and marked as "development" stability, the component can
    be used for experimentation and to guide future development.

    There are definitely more things that need to be implemented for this
    component to be considered "alpha" quality - like filling in other [log
    fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition)
    like Timestamp, ObservedTimestamp and others. I would like to add them
    in subsequent pull requests, as this pull request is already way too
    big.

    ---------

    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>

commit e7608db
Author: Irina <[email protected]>
Date:   Wed Jun 14 19:50:04 2023 +0100

    [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733)

    **Description:**
    There is currently no way to get the
    [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396)
    field from plog.LogRecord into Loki.
    Added Flags field to lokiEntry in this PR

    **Link to tracking Issue:**
    open-telemetry#21650

    **Testing:** Added unit tests

commit 50bbb9f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:42:33 2023 +0200

    [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384)

    cc @jpkrohling @pavankrish123

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit a4dda5b
Author: Vastin <[email protected]>
Date:   Wed Jun 14 13:12:48 2023 -0500

    [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626)

    **Description:**

    This PR adds [exponential
    histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram)
    support in `awsemfexporter`. The exponential histogram metrics are
    exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and
    Min are set as Statistical Set. The mid-point values and counts of
    exponential histogram buckets are translated into Values/Counts array of
    EMF log entry as well.

    **Testing:**

    The unit test is added and covers positive, zero and negative values.

    The integration test is performed with following OTEL collector
    configuration.
    ```
    extensions:
      health_check:
    receivers:
      otlp:
        protocols:
          grpc:
            endpoint: 0.0.0.0:4317
          http:
            endpoint: 0.0.0.0:4318

    processors:
      batch/metrics:
        timeout: 60s

    exporters:
      logging:
        verbosity: detailed
      awsemf:
        region: 'us-east-1'
        namespace: "Test"
        dimension_rollup_option: "NoDimensionRollup"

    service:
      pipelines:
        metrics:
          receivers: [otlp]
          processors: [batch/metrics]
          exporters: [awsemf, logging]
      extensions: [health_check]
      telemetry:
        logs:
          level: "debug"
    ```
    It generated EMF log for histogram metrics in following JSON format.
    Notes: It doesn't cover negative values since histograms can [only
    record non-negative
    values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram)
    and will [drop negative
    values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44).

    ```
        "latency": {
            "Values": [
                309.4277237034415,
                323.12725941969757,
                326.64588457862067,
                344.8221530867399,
                520.3933272846809,
                531.7884573308439,
                537.579253961712,
                543.4331082335607,
                549.3507067990806,
                555.3327437881196,
                561.3799208891041,
                567.4929474313465,
                720.1774681373079,
                0
            ],
            "Counts": [
                1,
                1,
                1,
                1,
                1,
                3,
                4,
                2,
                2,
                3,
                1,
                1,
                1,
                22
            ],
            "Max": 720,
            "Min": 0,
            "Count": 44,
            "Sum": 11265
        }
    ```

commit f66845f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:09:35 2023 +0200

    [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739)

    Closes open-telemetry#22737

    ---------

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit 6a83a9a
Author: Dominik Rosiek <[email protected]>
Date:   Wed Jun 14 19:11:38 2023 +0200

    [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337)

    Deprecate options which are going to be removed

    **Link to tracking Issue:** open-telemetry#23059

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Mikołaj Świątek <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit 3faedfc
Author: OpenTelemetry Bot <[email protected]>
Date:   Wed Jun 14 09:39:22 2023 -0700

    [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380)

    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awsxrayreceiver

commit d9326aa
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 09:13:30 2023 -0700

    [chore] mark components as unmaintained (open-telemetry#23379)

    These components no longer have an active code owner as a result of

    Signed-off-by: Alex Boten <[email protected]>

commit 8729c16
Author: Daniel Jaglowski <[email protected]>
Date:   Wed Jun 14 09:32:35 2023 -0600

    [chore] Enable exhaustive linter for several modules (open-telemetry#23329)

    Updates open-telemetry#23266

    - receiver/nsxt
    - receiver/snmp
    - connector/count
    - extension/storage
    - pkg/stanza

commit 52d87f8
Author: Evan Bradley <[email protected]>
Date:   Wed Jun 14 11:30:51 2023 -0400

    [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143)

    This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context.

    **Link to tracking Issue:**

    Implements open-telemetry#18461
    Co-authored-by: Matej Gera <[email protected]>

    ---------

    Co-authored-by: Evan Bradley <[email protected]>
    Co-authored-by: Matej Gera <[email protected]>

commit 31bfef7
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 08:18:27 2023 -0700

    [chore] bump go version for linting (open-telemetry#23346)

    After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment)

    I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues.

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d79f3c0
Author: Curtis Robert <[email protected]>
Date:   Wed Jun 14 08:05:56 2023 -0700

    [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368)

    As a result of issue open-telemetry#23246, a few components are now unmaintained.
    These need to be documented in the ALLOWLIST file.

commit 19e2a2d
Author: Tomáš Žďára <[email protected]>
Date:   Wed Jun 14 11:22:35 2023 +0200

    DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250)

    * DSET-3998 - export Logs resource info based on     export_resource_info_on_event configuration

    * DSET-3998 - simplify

    * DSET-3998 - improve docs

    * Fix log exporter to set AddEvents Event timestamp (ts) field to event
    observed timetamp in case LogRecord doesn't contain timestamp.

    Even though ObservedTimestamp should always be present, we fall back to
    current time in case it's not.

    In addition to that, remove duplicate and redundant "timestamp"
    attribute from the AddEvents event.

    * Add additional assertions.

    * Remove dummy debug logs.

    * Create export-logs-resource-info-based-configuration

    * address PR notes - fix changelog gen

    * fix docs typo

    * fix changelog file suffix

    ---------

    Co-authored-by: Tomaz Muraus <[email protected]>
    Co-authored-by: Tomaz Muraus <[email protected]>

commit 5a582d9
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 00:31:28 2023 -0700

    [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366)

    Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric.

commit 16df49f
Author: Sean Marciniak <[email protected]>
Date:   Wed Jun 14 12:00:31 2023 +0930

    [chore] Fix datadog receiver flakey test. (open-telemetry#23336)

    * Use random address

    * Bind to localhost interface

commit 9f854da
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 22:25:29 2023 +0000

    [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338)

commit 77d8c70
Author: OpenTelemetry Bot <[email protected]>
Date:   Tue Jun 13 12:57:55 2023 -0700

    [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345)

    Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver
    Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter
    Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter
    Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver
    Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver
    Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools
    Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver

commit 6bf41e4
Author: Mackenzie <[email protected]>
Date:   Tue Jun 13 18:33:39 2023 +0200

    Add metadata.yaml as a requirement (open-telemetry#23340)

    Fixes: open-telemetry#20908.

    ---------

    Co-authored-by: Yang Song <[email protected]>

commit 563fd6f
Author: Alex Boten <[email protected]>
Date:   Tue Jun 13 09:33:00 2023 -0700

    [chore] make update-otel (open-telemetry#23278)

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d2c7c1f
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 09:45:00 2023 -0600

    [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280)

commit 375da69
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 08:23:00 2023 -0600

    [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281)

    * [chore] Deprecate unnecessary fileconsumer API

    * Add deprecation version and tentative removal version

commit 6ac5285
Author: Dewald de Jager <[email protected]>
Date:   Tue Jun 13 11:20:41 2023 +0200

    [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962)

    * Start adding the status information to the metadata schema documentation

    * Remove cmd from the list of possible classes

    * Fix spelling mistake

    Co-authored-by: Antoine Toulme <[email protected]>

    * Update the value used for the development stability status

    Co-authored-by: Antoine Toulme <[email protected]>

    * Fix the tests after updating the example metadata file

    * Document how to use mdatagen and the schema of metadata.yaml

    * Add the stability levels for connectors

    * Change the receiver type so the tests pass

    * Update the generated documentation

    * Change the syntax used for string array types so that it is valid YAML

    ---------

    Co-authored-by: Antoine Toulme <[email protected]>

commit 061eb3e
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 06:29:11 2023 +0000

    [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272)

    Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store.

    I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently.

commit ab42d69
Author: zeno-splunk <[email protected]>
Date:   Mon Jun 12 22:36:54 2023 -0700

    [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332)

    Update `kafka.brokers` metric to be non-monothonic sum instead of gauge

commit 9e4d50f
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 12 20:28:17 2023 -0700

    remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248)

    Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus

commit e0249e0
Author: Alex Boten <[email protected]>
Date:   Mon Jun 12 15:01:49 2023 -0700

    [chore] forwardconnector was not listed in the modules script (open-telemetry#23330)

    this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently

    Signed-off-by: Alex Boten <[email protected]>

commit 9d5526c
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 09:58:22 2023 -0600

    [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255)

commit bbea8aa
Author: Trask Stalnaker <[email protected]>
Date:   Mon Jun 12 08:38:45 2023 -0700

    Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268)

commit 0f8e128
Author: Tyler Helmuth <[email protected]>
Date:   Mon Jun 12 08:45:16 2023 -0600

    [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259)

    Update readme

commit 6d35fd7
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 16:33:47 2023 +0200

    [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211)

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 88ac450
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 12 17:31:02 2023 +0300

    receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851)

    * receiver/dockerstatsreceiver: add container.uptime metric

    This change adds the `container.uptime` metric which indicates time
    elapsed (in seconds) since the container started.

    * Add scraper error for invalid time format

    * Disable by default

    * empty

commit 6947357
Author: Yang Song <[email protected]>
Date:   Mon Jun 12 10:27:42 2023 -0400

    [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240)

    * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation

    * Add to changelog

    * Update exporter/datadogexporter/config.go

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Update .chloggen/datadogexporter-new-trace-configs.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Add subtext to changelog

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit b247914
Author: Raj Nishtala <[email protected]>
Date:   Mon Jun 12 10:26:18 2023 -0400

    [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210)

    * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string

    * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string

commit 3b62a17
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 07:50:37 2023 -0600

    [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254)

    * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable

    * Update .chloggen/elastic-stable-nodevesiongate.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit 6249ae8
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 13:09:13 2023 +0200

    resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740)

    * resourcedetectionprocessor: use gopsutil for host id detection

    Signed-off-by: Dominik Rosiek <[email protected]>

    * feat: use opentelemetry sdk

    Signed-off-by: Dominik Rosiek <[email protected]>

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 820510e
Author: Ziqi Zhao <[email protected]>
Date:   Mon Jun 12 18:10:33 2023 +0800

    [chore] [all] Enable exhaustive linter on golangci-lint  (open-telemetry#23242)

    Enable exhaustive linter on golangci-lint

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 752330e
Author: shalper2 <[email protected]>
Date:   Sun Jun 11 10:44:14 2023 -0500

    [receiver/webhookevent] Enable component (open-telemetry#23239)

    Graduate webhookeventreceiver component to Alpha

Co-authored-by: jimchen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/configschema configschema command cmd/otelcontribcol otelcontribcol command exporter/datadog Datadog components internal/metadataproviders processor/resourcedetection Resource detection processor ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants