|
|
@ -257,7 +257,6 @@ func (e *ApplicationInsightsDatasource) getPluginRoute(plugin *plugins.DataSourc |
|
|
|
// formatApplicationInsightsLegendKey builds the legend key or timeseries name
|
|
|
|
// formatApplicationInsightsLegendKey builds the legend key or timeseries name
|
|
|
|
// Alias patterns like {{metric}} are replaced with the appropriate data values.
|
|
|
|
// Alias patterns like {{metric}} are replaced with the appropriate data values.
|
|
|
|
func formatApplicationInsightsLegendKey(alias string, metricName string, labels data.Labels) string { |
|
|
|
func formatApplicationInsightsLegendKey(alias string, metricName string, labels data.Labels) string { |
|
|
|
|
|
|
|
|
|
|
|
// Could be a collision problem if there were two keys that varied only in case, but I don't think that would happen in azure.
|
|
|
|
// Could be a collision problem if there were two keys that varied only in case, but I don't think that would happen in azure.
|
|
|
|
lowerLabels := data.Labels{} |
|
|
|
lowerLabels := data.Labels{} |
|
|
|
for k, v := range labels { |
|
|
|
for k, v := range labels { |
|
|
|