Skip to content

Comments

Add span attributes to tracing documentation#496

Merged
francislavoie merged 2 commits intocaddyserver:sync-docsfrom
felix-hilden:patch-1
Jan 13, 2026
Merged

Add span attributes to tracing documentation#496
francislavoie merged 2 commits intocaddyserver:sync-docsfrom
felix-hilden:patch-1

Conversation

@felix-hilden
Copy link

Related to caddyserver/caddy#7269, I'm adding the corresponding documentation for setting custom span attributes. This is still work in progress, but the documentation at least specifies the desired functionality of the associated PR.

@felix-hilden felix-hilden changed the title WIP: Add span attributes to tracing documentation Add span attributes to tracing documentation Jan 1, 2026
Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Thanks -- I think this is good. Although I just noticed that enclosing subdirectives entirely in [ ] is a little odd, since I think by default we assume that subdirectives, or lines within a directive block, are optional already.

Of course that's not new with your PR, I'm looking at line 21 as well...

No need to block this PR on that, but just something I noticed that might be worth discussing for consistency with the rest of our docs. I'm inclined to remove those [ ], maybe in another commit.

Thank you!

@felix-hilden
Copy link
Author

Thanks! A small trouble to improve, no worries. The square brackets are now removed!

@francislavoie francislavoie changed the base branch from master to sync-docs January 13, 2026 19:31
@francislavoie francislavoie merged commit c8b9782 into caddyserver:sync-docs Jan 13, 2026
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