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

[k8sclusterreceiver] deprecate opencensus.resourcetype attribute #27584

Conversation

povilasv
Copy link
Contributor

@povilasv povilasv commented Oct 10, 2023

Description:

Deprecate opencensus.resourcetype resource attribute.

This PR disables this resource attribute and adds a warning message.

Link to tracking Issue:

#26487

Testing:

  • Updated unit tests.

Manually tested, built and image and manually enabled and disabled this resource attribute.

This is the warning we publish:

{"level":"warn","ts":1696935210.905353,"caller":"metadata/generated_metrics.go:2201","msg":"[WARNING] opencensus.resourcetype should not be configured: This resource_attribute is deprecated and will be removed soon.","kind":"receiver","name":"k8s_cluster","data_type":"metrics"}

Documentation:

  • Generated

@povilasv povilasv force-pushed the k8sclusterreceiver-deprecate-opencensus branch from 9212e8a to f362025 Compare October 10, 2023 11:03
@povilasv povilasv marked this pull request as ready for review October 10, 2023 11:22
@povilasv povilasv requested a review from a team October 10, 2023 11:22
@dmitryax dmitryax merged commit 62cc44c into open-telemetry:main Oct 10, 2023
84 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 10, 2023
@povilasv povilasv deleted the k8sclusterreceiver-deprecate-opencensus branch October 11, 2023 08:47
dmitryax pushed a commit that referenced this pull request Oct 11, 2023
#27616)

**Description:** 

This resource attribute was deprecated in prior release (
#27584)
so I am removing it.

**Link to tracking Issue:**

#26487
JaredTan95 pushed a commit to openinsight-proj/opentelemetry-collector-contrib that referenced this pull request Oct 18, 2023
open-telemetry#27616)

**Description:** 

This resource attribute was deprecated in prior release (
open-telemetry#27584)
so I am removing it.

**Link to tracking Issue:**

open-telemetry#26487
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
…tribute (open-telemetry#27584)

Manually tested, built and image and manually enabled and disabled this
resource attribute.

This is the warning we publish:

>
{"level":"warn","ts":1696935210.905353,"caller":"metadata/generated_metrics.go:2201","msg":"[WARNING]
`opencensus.resourcetype` should not be configured: This
resource_attribute is deprecated and will be removed
soon.","kind":"receiver","name":"k8s_cluster","data_type":"metrics"}
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
open-telemetry#27616)

**Description:** 

This resource attribute was deprecated in prior release (
open-telemetry#27584)
so I am removing it.

**Link to tracking Issue:**

open-telemetry#26487
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants