Skip to content

Make sure Resources follow semantic conventions#1480

Merged
codeboten merged 6 commits intoopen-telemetry:masterfrom
hectorhdzg:hectorhdzg/resources
Jan 25, 2021
Merged

Make sure Resources follow semantic conventions#1480
codeboten merged 6 commits intoopen-telemetry:masterfrom
hectorhdzg:hectorhdzg/resources

Conversation

@hectorhdzg
Copy link
Copy Markdown
Member

Adding global variables with supported resources
Adding default service name population

Fixes #1477

Adding default service name population
@hectorhdzg hectorhdzg requested review from a team, aabmass and codeboten and removed request for a team December 15, 2020 00:51
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Dec 15, 2020

CLA Signed

The committers are authorized under a signed CLA.

@hectorhdzg hectorhdzg changed the title Adding global variables with supported resources Make sure Resources follow semantic conventions Dec 15, 2020
Copy link
Copy Markdown
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Blocking on removing a duplicated variable, otherwise it looks good. Were the semantic conventions generated? If not, is this something that would be doable using the generator: https://github.com/open-telemetry/build-tools/tree/master/semantic-conventions?

CONTAINER_IMAGE_NAME = "container.image.name"
CONTAINER_IMAGE_TAG = "container.image.tag"
CONTAINER_NAME = "container.name"
CONTAINER_NAME = "container.name"
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.

dup

@@ -38,7 +38,11 @@ def test_resource(self):
def test_resource_empty(self):
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.

wonder if this test should be renamed since it's not using the empty resource (there's a separate create_empty method for empty resources)

@lzchen
Copy link
Copy Markdown
Contributor

lzchen commented Jan 21, 2021

@hectorhdzg
Any updates on this PR?

Copy link
Copy Markdown
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make sure Resources follow semantic conventions

3 participants