I have an Azure app service web app. I am tracking some custom metrics from this web app, using TelemetryClient.TrackMetric. I now want to scale out my app so that I have multiple instances of the app running (initially I will scale to 2 instances). Once I do this, each instance will start sending values for my custom metrics into the Application Insights data store.
When I look at my AI data inside the Azure portal Metrics Explorer or "Analytics" view, I believe I will see one metric, with the data from both my instances bundled together and averaged (probably I will see alternating datapoints, from instance 1 then 2 then 1 then 2 and so on). This is not very helpful to me. Ideally I want to be able to see two datasets, one for each of my two instances. Also ideally I would like to see a dataset representing the sum of the metric values from the two instances.
Does the API / framework provide any features to help me do this? What would be a good approach?