Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat: OTEL + Tenants] : Add TenantId Property to Span #6083

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

jdevillard
Copy link
Contributor

@jdevillard jdevillard commented Oct 31, 2024

This PR add the TenantId property to the span for :

  • Workflow Span
  • Activity Span

The aim is to facilitate the querying in the end analysis tools


This change is Reviewable

@jdevillard jdevillard added the elsa 3 This issue is specific to Elsa 3 label Oct 31, 2024
@jdevillard jdevillard marked this pull request as draft October 31, 2024 14:12
@sfmskywalker
Copy link
Member

@jdevillard We can approve & merge this PR as soon as its marked "Ready for review".

@jdevillard
Copy link
Contributor Author

I wasn't sure about the tenantId vs TenantId in the Log. On OTEL side, it's explain that attribute naming SHOULD be lowercase, so If we want to respect, we should change a lot of attribute, let's go using the convention already present in this file (camelcase) and let discuss later on this point

@jdevillard jdevillard marked this pull request as ready for review December 11, 2024 09:35
@sfmskywalker
Copy link
Member

Agreed, the casing is a separate discussion and shouldn't hold back this PR 👍🏻

@sfmskywalker sfmskywalker merged commit 06b7ba4 into elsa-workflows:main Dec 11, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
elsa 3 This issue is specific to Elsa 3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants