FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: set default values for monitored resource by frankyn · Pull Request #2809 · googleapis/java-storage · GitHub

fix: set default values for monitored resource - #2809

Merged
frankyn merged 2 commits into
mainfrom
add-default-values
Nov 5, 2024
Merged

fix: set default values for monitored resource#2809
frankyn merged 2 commits into
mainfrom
add-default-values

Conversation

frankyn commented Nov 5, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

b/377466694

product-auto-label Bot added size: s Pull request size is small. api: storage Issues related to the googleapis/java-storage API. labels Nov 5, 2024
frankyn marked this pull request as ready for review November 5, 2024 22:13
frankyn requested a review from a team November 5, 2024 22:13
.put("gcp.resource_type", "storage.googleapis.com/Client")
.put("project_id", projectIdToUse)
.put("instance_id", UUID.randomUUID().toString())
.put("api", "grpc");

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

nit: could we use something to detect grpc vs http even if this isn't set up for http yet? would make this reusable in the future.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

AFAIU, resource detector is platform dependent on https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/resourcedetectionprocessor/README.md#gcp-metadata

API type would need to be captured client side / added when introduced into the java storage client.

frankyn merged commit 27829a4 into main Nov 5, 2024
frankyn deleted the add-default-values branch November 5, 2024 23:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the googleapis/java-storage API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL