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

package cloud resource in javaagent - but keep them disabled by default #10754

Conversation

zeitlinger
Copy link
Member

@zeitlinger zeitlinger commented Mar 5, 2024

plugins can be enabled or disabled using otel.resource.providers.<>.enabled, e.g. otel.resource.providers.aws.enabled

Fixes #10447

@zeitlinger zeitlinger self-assigned this Mar 5, 2024
@zeitlinger zeitlinger requested a review from a team March 5, 2024 12:12
@github-actions github-actions bot requested a review from theletterf March 5, 2024 12:36
Copy link
Contributor

@laurit laurit left a comment

Choose a reason for hiding this comment

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

I also created a PR to add the aws detectors a while back #7927 That one has a test that verifies that aws provider runs after ContainerResourceProvider could you check whether it would make sense to bring that test over to this PR.

@zeitlinger
Copy link
Member Author

I also created a PR to add the aws detectors a while back #7927 That one has a test that verifies that aws provider runs after ContainerResourceProvider could you check whether it would make sense to bring that test over to this PR.

@laurit done - and all the other suggestions incorporated

// Renovate's default behavior is only to update from unstable -> unstable if it's for the
// major.minor.patch, under the assumption that you would want to update to the stable version
// of that release instead of the unstable version for a future release
// (TODO remove once the artifacts above release stable versions)
"ignoreUnstable": false
"matchCurrentVersion": "/^.*-alpha$/",
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

extracted to standalone PR: #10761

Copy link
Contributor

Choose a reason for hiding this comment

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

as this part is already in a separate PR it might be best to remove it from this PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@zeitlinger zeitlinger force-pushed the add-cloud-resource-providers-disabled-by-default branch from 4da18f8 to bca96f1 Compare March 5, 2024 14:43
@laurit laurit added this to the v2.2.0 milestone Mar 6, 2024
@zeitlinger zeitlinger force-pushed the add-cloud-resource-providers-disabled-by-default branch from 602ee35 to f412cae Compare March 11, 2024 11:32
@github-actions github-actions bot added the test native This label can be applied to PRs to trigger them to run native tests label Mar 11, 2024
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

can you add documentation somewhere (either in this repo, or draft PR to website repo)?

@zeitlinger zeitlinger force-pushed the add-cloud-resource-providers-disabled-by-default branch from b68105d to 0bb07e8 Compare March 12, 2024 07:56
@zeitlinger
Copy link
Member Author

can you add documentation somewhere (either in this repo, or draft PR to website repo)?

open-telemetry/opentelemetry.io#4138

@zeitlinger zeitlinger force-pushed the add-cloud-resource-providers-disabled-by-default branch from 0bb07e8 to 694ab74 Compare March 12, 2024 10:21
@zeitlinger zeitlinger mentioned this pull request Mar 12, 2024
2 tasks
@laurit laurit merged commit 60d53e1 into open-telemetry:main Mar 12, 2024
49 checks passed
@zeitlinger zeitlinger deleted the add-cloud-resource-providers-disabled-by-default branch March 12, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test native This label can be applied to PRs to trigger them to run native tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add cloud provider resource detectors to Spring Starter
3 participants