Skip to content

Consolidate actor log labels onto the ate.* attribute registry #886

Closed

Description

Actor logs and actor spans use two different spellings for the same values. Actorlog sets ate.dev/*, while internal/ateattr defines ate.* for spans and metrics, which follows proper conventions.

The actorlog convention predates the OTel work, that's is why I left it as-is in #412. But now it is now the only place in the telemetry surface that does not use the registry, and / is not a proper shape for an OTel attribute name, so the diff gets permanent as we send logs via OTLP.

We should set this direction before #853, so we are consistent.

Direction I would propose:

  • internal/ateattr is the single registry for every signal, logs included
  • Actor log records set the registry keys, plus trace and span IDs so a log line joins the request it belongs to (this is missing today)
  • Fix the asymmetry where the structured path omits actor_uid, the fallback path includes it

Open questions

  1. Can we decommission the old format? It will get only more expensive if we delay this.

cc Da Huang (@git286) Jeff Luo (@JeffLuoo) Tim Bai (@baizhenyu)

Activity

  1. added
    kind/cleanup
    on Aug 12, 2026
  2. git286 commented on Aug 13, 2026

    @git286
    Collaborator

    Thanks for this! Historically, GKE/GCP used a.b/c style attributes a lot but agreed we should stick to the latest OTel convention for substrate.

    internal/ateattr is the single registry for every signal, logs included

    Agreed

    Fix the asymmetry where the structured path omits actor_uid, the fallback path includes it

    yeah, we should fix that

    Can we decommission the old format? It will get only more expensive if we delay this.

    I think we are sill early enough to do the change and let's definitely do it before M2.

    Krisztian F (@krisztianfekete) do you plan to work on this soon? Let me know if yes and I can assign it to you, otherwise, we can have someone from our team to work on it.

  3. krisztianfekete commented on Aug 13, 2026

    @krisztianfekete
    CollaboratorAuthor

    Yes, you can assign it to me, thank you!

  4. added
    prio/P0
    on Aug 13, 2026
  5. added this to the M2 milestone on Aug 13, 2026
  6. added a commit that references this issue on Aug 19, 2026
    c3c6876
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/observabilitykind/cleanupprio/P0

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions