Skip to content

feat: implement global attributes API#1450

Merged
JoshuaMoelans merged 17 commits into
masterfrom
joshua/feat/global_attributes_api
Dec 1, 2025
Merged

feat: implement global attributes API#1450
JoshuaMoelans merged 17 commits into
masterfrom
joshua/feat/global_attributes_api

Conversation

@JoshuaMoelans
Copy link
Copy Markdown
Member

@JoshuaMoelans JoshuaMoelans commented Nov 14, 2025

Fixes #1448

Todo

  • apply attributes to logs
  • think about local scope attributes (if there are no local scope log functions?)
  • extend & tests attributes to also allow lists of int/string/double
  • changelog

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 14, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against f45e269

Comment thread include/sentry.h Outdated
Comment thread src/sentry_value.c
@JoshuaMoelans JoshuaMoelans marked this pull request as ready for review November 21, 2025 09:45
@JoshuaMoelans JoshuaMoelans merged commit 079aacc into master Dec 1, 2025
42 checks passed
@JoshuaMoelans JoshuaMoelans deleted the joshua/feat/global_attributes_api branch December 1, 2025 09:00
BernhardMarconato pushed a commit to elgatosf/sentry-native that referenced this pull request Apr 21, 2026
* initial API

* implement + test

* add global attributes to logs

* fix memleak in test

* update CHANGELOG.md

* fix memleak

* initialize attributes

* add list-type attribute support

* cleanup

* add explicit enum cases

* move scope-based attributes into non-public API

* cleanup

* add attribute list test cases

* update CHANGELOG.md

* rookie mistake (lint)
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.

Implement Global Attributes API

2 participants