Inspect telemetry data being received
To conclude this lab, you will create another owner in the application to send events to your event hub and use output logs of the vets microservice to verify that these messages are being received.
Step by step guidance
-
In the git bash window, open the log stream of the
vets
microservice.az spring app logs --name ${VETS_SERVICE} --follow
In case you see errors, review the steps you executed and retry. The LabTips file also contains steps on how to recover from errors.
-
In your browser window, navigate to the applications’ public endpoint and select
Owners - Register
. On the registration page, fill out the details for a new owner and selectSubmit
. When you selectSubmit
you should see output in thevets
service logs indicating events were received from the eventhub. -
Switch to the web browser displaying the Azure portal, navigate to the page of the resource group containing resources you provisioned in this lab, and select the entry representing your Event Hub namespace.
In case you don’t see your Event Hub namespace in the list, select the refresh button.
-
On the Event Hub namespace page, in the navigation menu, in the Entities section, select Event Hubs and then select the
telemetry
event hub entry. -
On the Overview page, review the Messages graph to verify that it includes metrics representing incoming and outgoing messages.