Onboard EventHubs onto structured logging#26561
Conversation
...ob/src/main/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobCheckpointStore.java
Outdated
Show resolved
Hide resolved
|
This pull request is protected by Check Enforcer. What is Check Enforcer?Check Enforcer helps ensure all pull requests are covered by at least one check-run (typically an Azure Pipeline). When all check-runs associated with this pull request pass then Check Enforcer itself will pass. Why am I getting this message?You are getting this message because Check Enforcer did not detect any check-runs being associated with this pull request within five minutes. This may indicate that your pull request is not covered by any pipelines and so Check Enforcer is correctly blocking the pull request being merged. What should I do now?If the check-enforcer check-run is not passing and all other check-runs associated with this PR are passing (excluding license-cla) then you could try telling Check Enforcer to evaluate your pull request again. You can do this by adding a comment to this pull request as follows: What if I am onboarding a new service?Often, new services do not have validation pipelines associated with them, in order to bootstrap pipelines for a new service, you can issue the following command as a pull request comment: |
|
Hey @lmolkova! I am interested in understanding more about how we are doing structured logging. Could you perhaps consider updating the PR description with some context? |
...essaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/SampleCheckpointStore.java
Outdated
Show resolved
Hide resolved
sdk/eventhubs/azure-messaging-eventhubs/src/main/resources/eventhubs-messages.properties
Outdated
Show resolved
Hide resolved
@ramya-rao-a sure, I updated the description. TL;DR: We write a portion of the log message that SDK controls as json. Logging APIs now allow adding key-value-pairs. As a result, we're switching from
to
These logs (when shared as files) can be easily parsed with some tooling, sent to Log Analytics and queried. I.e. we can semi-automate log analysis, or give queries to support engineers and customers to troubleshoot common issues. |
35b932b to
dad1489
Compare
[Hub Generated] Publish private branch 'datafactory/zheyuanzhang/lakehouse_swagger' (Azure#26561) * [AutoSync] 5a9813b211 Add lakehouse swagger * [AutoSync] 1cc7912bdd Fix spelling * [AutoSync] bc53c0c6db Add type * Add swagger change for Synapse * Fix Synapse * Fix reference --------- Co-authored-by: swagger-automation <swagger@microsoft.com>
Context: https://gist.github.com/lmolkova/04f6484595fdd7edded9f4d82619291f
Previous PRs: