Skip to content

Enforce canonical tracing span attributes - #2510

Merged
Mirko-von-Leipzig merged 1 commit into
mirko/tracing-attributesfrom
mirko/tracing-spans
Aug 27, 2026
Merged

Enforce canonical tracing span attributes#2510
Mirko-von-Leipzig merged 1 commit into
mirko/tracing-attributesfrom
mirko/tracing-spans

Conversation

@Mirko-von-Leipzig

@Mirko-von-Leipzig Mirko-von-Leipzig commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Tracing fields are now required to standardize on the RecordAttribute trait. This PR applies this migration to the instrument and record fields macros. The macros no longer allow for ?, % etc display style selections.

In addition, this enables support for arbitrary .count suffixes which must be a usize field. This is intended to easily cover various x.len() recording without being overly pedantic about the base name.

Changelog

changelog = "none"
reason    = "Internal change only."

@Mirko-von-Leipzig
Mirko-von-Leipzig force-pushed the mirko/tracing-spans branch 2 times, most recently from 53ebf42 to 23e592a Compare August 24, 2026 11:45
@Mirko-von-Leipzig
Mirko-von-Leipzig marked this pull request as ready for review August 24, 2026 15:41
Comment thread bin/remote-prover/src/server/proof_kind.rs
Comment thread crates/rpc/src/server/api/get_account.rs

@kkovaacs kkovaacs left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good to me!

@Mirko-von-Leipzig
Mirko-von-Leipzig merged commit a84221e into next Aug 27, 2026
26 checks passed
@Mirko-von-Leipzig
Mirko-von-Leipzig deleted the mirko/tracing-spans branch August 27, 2026 13:52
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.

3 participants