semantic-conventions icon indicating copy to clipboard operation
semantic-conventions copied to clipboard

[cloud provider] Add AWS EC2 instance id semantic convention

Open mx-psi opened this issue 1 year ago • 19 comments

Changes

Add semantic convention for AWS EC2 instance id. This is similar to #15, and is inspired by #576, to ensure that the EC2 instance id can be correctly identified despite ambiguity in the host.id convention meaning.

Note: if the PR is touching an area that is not listed in the existing areas, or the area does not have sufficient domain experts coverage, the PR might be tagged as experts needed and move slowly until experts are identified.

Merge requirement checklist

mx-psi avatar Dec 12 '23 11:12 mx-psi

This PR was marked stale due to lack of activity. It will be closed in 7 days.

github-actions[bot] avatar Jan 25 '24 03:01 github-actions[bot]

Closed as inactive. Feel free to reopen if this PR is still being worked on.

github-actions[bot] avatar Feb 02 '24 03:02 github-actions[bot]

Reopening, waiting on @arminru's input above

mx-psi avatar Feb 02 '24 10:02 mx-psi

Hi @mx-psi !

We changed how the CHANGELOG.md is managed. Please take a look at https://github.com/open-telemetry/semantic-conventions/blob/main/CONTRIBUTING.md#adding-a-changelog-entry to see what needs to be done. Sorry for the disruption.

joaopgrassi avatar Feb 05 '24 15:02 joaopgrassi

Thanks @joaopgrassi, addressed. It looks like there is some sort of issue with the changelog check though that is (AFAICT) unrelated to this PR:

Error: flag needs an argument: --version

mx-psi avatar Feb 05 '24 16:02 mx-psi

Filed #739 for the general issue I am trying to solve by adding this.

mx-psi avatar Feb 13 '24 12:02 mx-psi

This PR was marked stale due to lack of activity. It will be closed in 7 days.

github-actions[bot] avatar Mar 16 '24 03:03 github-actions[bot]

This PR was marked stale due to lack of activity. It will be closed in 7 days.

github-actions[bot] avatar Apr 12 '24 03:04 github-actions[bot]

Closed as inactive. Feel free to reopen if this PR is still being worked on.

github-actions[bot] avatar Apr 19 '24 03:04 github-actions[bot]

This PR was marked stale due to lack of activity. It will be closed in 7 days.

github-actions[bot] avatar May 05 '24 03:05 github-actions[bot]

@mx-psi could you please update this PR to have all attributes defined in the registry and autogenerated and use only refs outside of the registry?

trisch-me avatar May 07 '24 15:05 trisch-me

I'd like to get a wider discussion on different attributes we have for host.id, service.instance.id, aws.ec2.instance.id and any others. It seems to be in the scope of Resources and Entities WG.

I think we should either wait for the Resource project to start and get consensus in that WG or at least discuss it in the SemConv SIG meeting.

lmolkova avatar May 07 '24 16:05 lmolkova

I'd like to get a wider discussion on different attributes we have for host.id, service.instance.id, aws.ec2.instance.id and any others. It seems to be in the scope of Resources and Entities WG.

I think we should either wait for the Resource project to start and get consensus in that WG or at least discuss it in the SemConv SIG meeting.

Should we close this PR then for now? Not sure what the implications are for this PR

mx-psi avatar May 09 '24 14:05 mx-psi

Should we close this PR then for now? Not sure what the implications are for this PR

Please don't close it :)

I'm suggesting to join Semantic Conventions meeting on Mon 8am to discuss how we should treat all the instance ids. Or an entities meeting on every other Thu 8am (happening right now).

The meetings details are available in https://github.com/open-telemetry/community

lmolkova avatar May 09 '24 15:05 lmolkova

It's usually hard for me to join this meeting, but I may be able to join on Monday.

mx-psi avatar May 10 '24 18:05 mx-psi

Based on https://github.com/open-telemetry/semantic-conventions/pull/576#issuecomment-2115510275, I am going to hold off from further making changes on this PR until the Entities SIG gets up to speed

mx-psi avatar May 16 '24 20:05 mx-psi

This PR was marked stale due to lack of activity. It will be closed in 7 days.

github-actions[bot] avatar Jun 01 '24 03:06 github-actions[bot]

Given the status of Entities WG and updates to semconv, this PR can now make progress and be submitted.

It has the following:

  1. A well defined resource "name" / type that also is the "namespace" for attributes.
  2. A well defined notion of "identity" i.e. identifying attributes.

Thanks and sorry for the long delay!

jsuereth avatar Oct 14 '24 15:10 jsuereth

Given the status of Entities WG and updates to semconv, this PR can now make progress and be submitted.

It has the following:

  1. A well defined resource "name" / type that also is the "namespace" for attributes.
  2. A well defined notion of "identity" i.e. identifying attributes.

Thanks and sorry for the long delay!

Thank you for the update! I will update this PR then (but it may take me some time to get back to it)

mx-psi avatar Oct 16 '24 17:10 mx-psi