Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Share AI key between between multiple web apps and services?

We got an app suite that consist of multiple web apps, web api's and windows services. Today we have one instrumentation key per webapp / api / service, in addition one per environment. This gets a bit messy and we're thinking it would have been better to only one shared key per environment.

Are there other ways to aggregate and visulize the AI data from multiple keys, or should be move all our keys into one shared?

Regards

Larsi

like image 272
Larsi Avatar asked Sep 01 '16 07:09

Larsi


2 Answers

You can use a dashboard in order to organize your data. Dashboard can contain metrics from different applications so your data will be very organized in one page.

You can read more about dashboards here: https://azure.microsoft.com/en-us/documentation/articles/app-insights-dashboards/

Thanks, Yair

like image 87
Yair Ripshtos Avatar answered Oct 19 '22 03:10

Yair Ripshtos


In general, there are several considerations. To illustrate, let's assume you have two "components" A and B

  1. Visibility scope - do you analyze telemetry about A and B separately or together. Putting into a single resource (single iKey) will enable you to aggregate across A and B (e.g. see a total number of requests for A and B together). On the other side, to view separately (e.g. just requests to A), you will have to apply filters, which may impact the value of out of the box journeys we provide. If you choose to keep separate, you can still "mix and match" on dashboards, but not aggregate across. We are working to enable

  2. Access control - do you want certain people only access telemetry about A and not B

  3. Pricing - as we charge per app, you should consider this aspect

  4. Lifecycle - you may want your telemetry containers to match the topology of your deployment artifacts

like image 40
Oleg Ananiev Avatar answered Oct 19 '22 04:10

Oleg Ananiev