solliancenet / serverless-microservices

MIT License
8 stars 14 forks source link

Optional: Monitoring #17

Closed khaledhikmat closed 6 years ago

khaledhikmat commented 6 years ago

Please note that to do item #2 above we need a trial PowerBI account.

khaledhikmat commented 6 years ago

In code, I added 3 telemetry events in the Orchestrators function app:

I also added 1 telemetry metric in the Trips function app:

These can be used in Application Insights to provide really useful insight into the application performance.

khaledhikmat commented 6 years ago

Does it make sense to have a single app insights for the entire solution regardless of the Microservice? It could either way. Need to decide on that soon. Right now, each has its own. While probably this is complaint with Microservices, it does add a complexity in querying the different resources.

khaledhikmat commented 6 years ago

Yes...made all function apps use the same app insights resource

joelhulen commented 6 years ago

Absolutely the right choice to only have one App Insights for monitoring. Thanks!