Skip to content

Instantly share code, notes, and snippets.

@lmolkova
Last active July 3, 2025 18:26
Show Gist options
  • Save lmolkova/579c97562db8e5d220d79cb0e65ee223 to your computer and use it in GitHub Desktop.
Save lmolkova/579c97562db8e5d220d79cb0e65ee223 to your computer and use it in GitHub Desktop.
Names in semconv

TODOs:

  • AI weaver - weaver generate should generate new schema behind feature flag - Liudmila will create an issue

Phases:

  1. ingest new format
  2. resolve new format - need to advertise and socialize
  3. modify resolution to be on the new format
signal/object identity property in semsonv in proto
metrics metric_name name
events/logs name event_name
spans - - (span name is name)
entity name type
profiles - -
scopes - name
attributes id and name key

How it might look like

signal/object identity property in semsonv in proto
metrics name name
events/logs name event_name
spans type type (span name is name)
entity type type
profiles name(?) name(?)
scopes name name
attributes key key

Also:

  • all groups have identity, identity goes over the wire
  • for original definition, the name and identity are required to be the same.
  • all extensions get new identity, it goes over the wire

Unresolved schema?

Resolved Schema

attributes:
- key: foo.name
- key: foo.target
  ...
metrics:
- name: foo.duration
entities:
- type: foo
events:
- name: foo.ended
spans:
- type: foo.client.request
  kind: client
  name: {foo.name} {foo.target} 

Imports

(by identity)

imports:
- attributes: foo.*
- spans: foo.*

Extensions

Does not change name, gets new identity.

unresolved schema:

metric_refs:
- id: azure.foo.duration
  extends: otel::foo.duration (or otel.foo.duration)
  attributes:
  - attr_ref: azure.resource.id
    brief: ...

resolved schema - need to clean up

metrics:
- id: azure.foo.duration
  extends: otel::foo.duration (or otel.foo.duration)
  attributes:
  - key: azure.resource.id
    id: ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment