[processor/oracleclouddetector] Add Oracle "Realm" attribute to RDP#46230
Open
geekdave wants to merge 3 commits intoopen-telemetry:mainfrom
Open
[processor/oracleclouddetector] Add Oracle "Realm" attribute to RDP#46230geekdave wants to merge 3 commits intoopen-telemetry:mainfrom
geekdave wants to merge 3 commits intoopen-telemetry:mainfrom
Conversation
paulojmdias
approved these changes
Feb 20, 2026
Member
|
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add the vendor-specific
realmattribute to the Oracle Cloud resource detection processor.Note: This is a redo of closed PR #45890 which had some unrelated changes that I split into another PR: #46006
Link to tracking issue
Fixes #44408
Testing
Unit Tests
Updated auto-generated unit tests, as well as test fixture in metadata_test.go.
e2e Tests
Updated tests, and mock server data to include realm. (Thanks to @paulojmdias for implementing the oraclecloud e2e tests in #45598 !)
Manual Pipeline Tests on real OKE (Oracle Kubernetes Engine) cluster
Enabled debug exporter and verified that
oracle_cloud.realmattribute shows up, using expected vendor-prefix matching semantic conventions.Used Prometheus exporter, and verified that downstream enriched metric labels show up as
oracle_cloud_realm, with expected replacement of.->_.Documentation
Updated generated docs.
Semconv notes
I've added
oracle_cloud.realmas a vendor-prefixed attribute in a newly-created area in the semantic-conventions repo. However, it's currently not possible to reference semantic conventions from theresource_attributessection of a component's metadata.yaml, so we can't use it yet, and it's hardcoded for now (as are the other metric names in that file).Support for using the conventions in metadata.yaml has an open issue in the collector repo, and still appears to be actively discussed.
I will keep an eye on the upstream issue. I've created issue #45920 to use the Semantic Conventions for the Oracle Cloud RDP attribute names once the upstream support is available.
cc @tonychoe