Skip to content

feat: Automatically set x-correlation-id and expose on VaultApiException#392

Open
tylerohlsen wants to merge 3 commits intorajanadar:masterfrom
tylerohlsen:tylerohlsen/expose-correlation-id
Open

feat: Automatically set x-correlation-id and expose on VaultApiException#392
tylerohlsen wants to merge 3 commits intorajanadar:masterfrom
tylerohlsen:tylerohlsen/expose-correlation-id

Conversation

@tylerohlsen
Copy link

This fixes #391 by using a new CorrelationIdProviderFunc setting on VaultClientSettings to get a correlation id value, add that value as a header in Polymath, and adding properties CorrelationId and RequestId on VaultApiException.

@tylerohlsen
Copy link
Author

@rajanadar sorry for the ping, but would you be able to look over this change?

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.

Feature Request: Automatically set x-correlation-id request header and expose it in VaultApiException

1 participant