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

Configure custom log properties for the ServiceBus messagepump #448

Open
fgheysels opened this issue Aug 19, 2024 · 0 comments
Open

Configure custom log properties for the ServiceBus messagepump #448

fgheysels opened this issue Aug 19, 2024 · 0 comments
Labels
area:correlation All issues related to correlation enhancement New feature or request
Milestone

Comments

@fgheysels
Copy link
Member

I was wondering if there's a way to configure a ServiceBus MessagePump in such a way to make sure that the request that is logged to Application Insights when a message is received from ServiceBus, could contain some addition custom log properties / dimensions ?

That request already contains some custom properties like TransactionId, JobId, CycleId, etc...
Can we find a way to customize this so that we can add arbitrary properties ?
Suppose for instance the SErviceBusMessage that is received has a custom message-property with the name 'FooBar'. Can we find a way to make sure that the contents of this message-property are logged as a custom dimension to the request in App Insights ?

I see that we have 'CorrelationEnricher' property in the messagepump options. Maybe we can make this possible via this 'enricher' ?

@stijnmoreels stijnmoreels added this to the v2.1.0 milestone Aug 27, 2024
@stijnmoreels stijnmoreels added enhancement New feature or request area:correlation All issues related to correlation labels Aug 27, 2024
@github-project-automation github-project-automation bot moved this to To do in Roadmap Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:correlation All issues related to correlation enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

2 participants