Skip to content

feat: Register k8seventsreceiver in default components#2096

Open
miconeilaws wants to merge 2 commits into
mainfrom
miconeil/register-k8seventsreceiver
Open

feat: Register k8seventsreceiver in default components#2096
miconeilaws wants to merge 2 commits into
mainfrom
miconeil/register-k8seventsreceiver

Conversation

@miconeilaws

Copy link
Copy Markdown
Collaborator

Add the k8s_events receiver to the CW Agent's OTEL collector build so the cluster-scraper can watch Kubernetes events.

@miconeilaws miconeilaws requested a review from a team as a code owner April 21, 2026 09:22
@github-actions

Copy link
Copy Markdown
Contributor

This PR was marked stale due to lack of activity.

@github-actions github-actions Bot added the Stale label Apr 30, 2026
@louisall louisall force-pushed the miconeil/register-k8seventsreceiver branch 2 times, most recently from 22bc75d to fa9555d Compare May 18, 2026 13:48
@github-actions github-actions Bot removed the Stale label May 19, 2026
@louisall louisall force-pushed the miconeil/register-k8seventsreceiver branch from fa9555d to 3793733 Compare May 19, 2026 08:33
@louisall louisall added the ready for testing Indicates this PR is ready for integration tests to run label May 19, 2026
Comment thread go.mod Outdated
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheus v0.124.1 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite v0.124.1 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin v0.124.1 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8seventsreceiver v0.124.1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Mind moving this up to the actual dependencies section and not have it in this indirect list

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Done

@louisall louisall force-pushed the miconeil/register-k8seventsreceiver branch from 3793733 to 13b4824 Compare May 20, 2026 08:44
@miconeilaws

Copy link
Copy Markdown
Collaborator Author

Approved

@louisall

Copy link
Copy Markdown
Collaborator

All 4 failing checks are environmental or pre-existing flakes, not caused by this PR.

  • rocky-linux-9:ssm_document_test: EC2 instance failed to register with SSM within the 5-minute timeout. Same flake has hit multiple recent unrelated PRs (e.g. feat(nodemetadataenricher): Add log signal support #2095, kevwar/syslog-receiver) — AWS infra registration latency.
  • sles-15:ca_bundle_test: pre-existing matrix bug. The test hardcodes caCertPath: /etc/ssl/certs/ca-bundle.crt, which doesn't exist on SLES 15 (SUSE puts it at /etc/ssl/ca-bundle.pem). Fails on every PR that runs the SLES tests.
  • sles-15:cloudwatchlogs_test (one arch): TestRotatingLogsDoesNotSkipLines flaked with actual log events count (2) does not match expected (3) — agent missed one line in the inotify window during a rotation. The test was added in
    2022 (commit 4072cc94, predates this work by ~3.5 years) and exercises the legacy Telegraf-based logs plugin. The parallel arch's job for this same SHA passed, and the test passed on every recent run before this one.
  • Verify All PR Test Jobs: aggregator — fails because of the three above.

@louisall louisall force-pushed the miconeil/register-k8seventsreceiver branch from 13b4824 to 3740baf Compare May 27, 2026 11:28
Add the k8s_events receiver to the CW Agent's OTEL collector build so
the cluster-scraper can watch Kubernetes events.
@louisall louisall force-pushed the miconeil/register-k8seventsreceiver branch from 3740baf to effe068 Compare May 28, 2026 12:11
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

This PR was marked stale due to lack of activity.

@github-actions github-actions Bot added the Stale label Jun 5, 2026
@github-actions github-actions Bot removed the Stale label Jun 6, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR was marked stale due to lack of activity.

@github-actions github-actions Bot added the Stale label Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for testing Indicates this PR is ready for integration tests to run Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants