fix webhook service registration and data payload #244
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this fixed has been deployed to dev env since is hard to test otherwise.
the below datalog link shows that the data is being processed correctly.
https://app.datadoghq.com/logs?query=service%3Aapi%20&cols=host%2Cservice%2Cmethod%2Cenv%2Cpath%2Cstatus_code&event=AgAAAYmt55GyqeivogAAAAAAAAAYAAAAAEFZbXQ1NU9vQUFDd3dCWFBXbFBYTWdBQQAAACQAAAAAMDE4OWFkZTctYTM3OC00ZjY2LWFlMzAtNzU4YmZjYTk5NzFi&index=%2A&messageDisplay=inline&sort=time&spanID=8872644040628626073&stream_sort=desc&viz=stream&from_ts=1690835032209&to_ts=1690835932209&live=true
if you have access to persona sandbox, you can trigger an event by going to this URL: https://app.withpersona.com/dashboard/webhook-events/wbhe_orqvuJW8MCzfhdXTGawbBt6r and pressing the re-run button, the log should appear on datadog after a few seconds - make sure to filter or follow this link:
https://app.datadoghq.com/logs?query=service%3Aapi&cols=host%2Cservice%2Cmethod%2Cenv%2Cpath%2Cstatus_code&index=%2A&messageDisplay=inline&sort=time&spanID=8872644040628626073&stream_sort=desc&viz=stream&from_ts=1690835032209&to_ts=1690835932209&live=true