diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/module-info.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/module-info.java index 244dba9b346eb..1c53ff113d938 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/module-info.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/module-info.java @@ -13,5 +13,4 @@ opens com.azure.ai.metricsadvisor.administration.models to com.fasterxml.jackson.databind; opens com.azure.ai.metricsadvisor.models to com.fasterxml.jackson.databind; opens com.azure.ai.metricsadvisor.implementation.models to com.fasterxml.jackson.databind, com.azure.core; - exports com.azure.ai.metricsadvisor.implementation.models; } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java index 225c3e87f3fa9..7a0c28fdc17df 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdminClientBuilderTest.java @@ -12,8 +12,9 @@ import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.policy.RetryOptions; import com.azure.core.http.policy.RetryPolicy; -import com.azure.core.test.TestBase; +import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.annotation.DoNotRecord; +import com.azure.core.test.models.CustomMatcher; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import org.junit.jupiter.api.Disabled; @@ -22,12 +23,14 @@ import org.junit.jupiter.params.provider.MethodSource; import java.time.Duration; +import java.util.Arrays; import java.util.function.Consumer; import static com.azure.ai.metricsadvisor.MetricsAdvisorClientBuilderTest.PLAYBACK_ENDPOINT; import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; import static com.azure.ai.metricsadvisor.TestUtils.DISPLAY_NAME_WITH_ARGUMENTS; import static com.azure.ai.metricsadvisor.TestUtils.INVALID_ENDPOINT; +import static com.azure.ai.metricsadvisor.TestUtils.getEmailSanitizers; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; @@ -35,7 +38,7 @@ /** * Tests for Metrics Advisor Administration client builder */ -public class MetricsAdvisorAdminClientBuilderTest extends TestBase { +public class MetricsAdvisorAdminClientBuilderTest extends TestProxyTestBase { /** * Test client builder with invalid API key */ @@ -143,6 +146,7 @@ private void clientBuilderWithTokenCredentialRunner(HttpClient httpClient, Metri .configuration(Configuration.getGlobalConfiguration()) .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)); + interceptorManager.addSanitizers(getEmailSanitizers()); if (interceptorManager.isPlaybackMode()) { clientBuilder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); } else { @@ -170,11 +174,13 @@ private MetricsAdvisorAdministrationClientBuilder createClientBuilder(HttpClient final MetricsAdvisorAdministrationClientBuilder clientBuilder = new MetricsAdvisorAdministrationClientBuilder() .credential(credential) .endpoint(endpoint) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) .serviceVersion(serviceVersion); - - if (!interceptorManager.isPlaybackMode()) { + interceptorManager.addSanitizers(getEmailSanitizers()); + if (interceptorManager.isRecordMode()) { clientBuilder.addPolicy(interceptorManager.getRecordPolicy()); + } else if (interceptorManager.isPlaybackMode()) { + interceptorManager.addMatchers(Arrays.asList(new CustomMatcher().setHeadersKeyOnlyMatch(Arrays.asList("x-api-key")))); } return clientBuilder; diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java index 30e2e3ef86573..7950e954df881 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorAdministrationClientTestBase.java @@ -8,16 +8,21 @@ import com.azure.core.http.HttpClient; import com.azure.core.http.policy.HttpLogDetailLevel; import com.azure.core.http.policy.HttpLogOptions; -import com.azure.core.test.TestBase; -import com.azure.core.test.TestMode; +import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.http.AssertingHttpClientBuilder; +import com.azure.core.test.models.BodilessMatcher; +import com.azure.core.test.models.CustomMatcher; +import com.azure.core.test.utils.MockTokenCredential; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + import static com.azure.ai.metricsadvisor.MetricsAdvisorClientBuilderTest.PLAYBACK_ENDPOINT; import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; +import static com.azure.ai.metricsadvisor.TestUtils.getEmailSanitizers; -public abstract class MetricsAdvisorAdministrationClientTestBase extends TestBase { +public abstract class MetricsAdvisorAdministrationClientTestBase extends TestProxyTestBase { @Override protected void beforeTest() { @@ -37,11 +42,11 @@ private HttpClient buildSyncAssertingClient(HttpClient httpClient) { MetricsAdvisorAdministrationClientBuilder getMetricsAdvisorAdministrationBuilder(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVersion, boolean isSync) { - HttpClient httpClient1; + HttpClient httpClient1 = interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient; if (isSync) { - httpClient1 = buildSyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient); + httpClient1 = buildSyncAssertingClient(httpClient1); } else { - httpClient1 = buildAsyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient); + httpClient1 = buildAsyncAssertingClient(httpClient1); } return getMetricsAdvisorAdministrationBuilderInternal(httpClient1, serviceVersion, true); } @@ -57,20 +62,31 @@ MetricsAdvisorAdministrationClientBuilder getMetricsAdvisorAdministrationBuilder boolean useKeyCredential) { MetricsAdvisorAdministrationClientBuilder builder = new MetricsAdvisorAdministrationClientBuilder() .endpoint(getEndpoint()) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(httpClient) .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)) - .serviceVersion(serviceVersion) - .addPolicy(interceptorManager.getRecordPolicy()); + .serviceVersion(serviceVersion); + interceptorManager.addSanitizers(getEmailSanitizers()); - if (getTestMode() == TestMode.PLAYBACK) { - builder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); + if (useKeyCredential) { + if (interceptorManager.isPlaybackMode()) { + builder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); + // setting bodiless matcher to "exclude" matching request bodies with UUID's + interceptorManager.addMatchers(Arrays.asList(new BodilessMatcher(), new CustomMatcher().setHeadersKeyOnlyMatch(Arrays.asList("x-api-key")))); + } else if (interceptorManager.isRecordMode()) { + builder + .credential(new MetricsAdvisorKeyCredential( + Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_SUBSCRIPTION_KEY"), + Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_API_KEY"))) + .addPolicy(interceptorManager.getRecordPolicy()); + } } else { - if (useKeyCredential) { - builder.credential(new MetricsAdvisorKeyCredential( - Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_SUBSCRIPTION_KEY"), - Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_API_KEY"))); - } else { - builder.credential(new DefaultAzureCredentialBuilder().build()); + if (interceptorManager.isPlaybackMode()) { + builder.credential(new MockTokenCredential()); + interceptorManager.addMatchers(Arrays.asList(new BodilessMatcher())); + } else if (interceptorManager.isRecordMode()) { + builder + .credential(new DefaultAzureCredentialBuilder().build()) + .addPolicy(interceptorManager.getRecordPolicy()); } } return builder; diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java index ff1979c93148a..84186ab6a77cc 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientBuilderTest.java @@ -12,8 +12,9 @@ import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.policy.RetryOptions; import com.azure.core.http.policy.RetryPolicy; -import com.azure.core.test.TestBase; +import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.annotation.DoNotRecord; +import com.azure.core.test.models.CustomMatcher; import com.azure.core.util.Configuration; import com.azure.core.util.Context; import com.azure.identity.DefaultAzureCredentialBuilder; @@ -23,11 +24,13 @@ import org.junit.jupiter.params.provider.MethodSource; import java.time.Duration; +import java.util.Arrays; import java.util.function.Consumer; import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; import static com.azure.ai.metricsadvisor.TestUtils.DISPLAY_NAME_WITH_ARGUMENTS; import static com.azure.ai.metricsadvisor.TestUtils.INVALID_ENDPOINT; +import static com.azure.ai.metricsadvisor.TestUtils.getEmailSanitizers; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; @@ -35,7 +38,7 @@ /** * Tests for Metrics Advisor client builder */ -public class MetricsAdvisorClientBuilderTest extends TestBase { +public class MetricsAdvisorClientBuilderTest extends TestProxyTestBase { private static final String METRIC_ID = "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066"; private static final int PAGE_SIZE = 10; private static final int LISTING_LIMIT = 100; @@ -185,13 +188,15 @@ private MetricsAdvisorClientBuilder createClientBuilder(HttpClient httpClient, M final MetricsAdvisorClientBuilder clientBuilder = new MetricsAdvisorClientBuilder() .credential(credential) .endpoint(endpoint) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) .serviceVersion(serviceVersion); - if (!interceptorManager.isPlaybackMode()) { + interceptorManager.addSanitizers(getEmailSanitizers()); + if (interceptorManager.isRecordMode()) { clientBuilder.addPolicy(interceptorManager.getRecordPolicy()); + } else if (interceptorManager.isPlaybackMode()) { + interceptorManager.addMatchers(Arrays.asList(new CustomMatcher().setHeadersKeyOnlyMatch(Arrays.asList("x-api-key")))); } - return clientBuilder; } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java index e4670da1c6e2a..b1d395c46c469 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/MetricsAdvisorClientTestBase.java @@ -7,15 +7,20 @@ import com.azure.core.http.HttpClient; import com.azure.core.http.policy.HttpLogDetailLevel; import com.azure.core.http.policy.HttpLogOptions; -import com.azure.core.test.TestBase; -import com.azure.core.test.TestMode; +import com.azure.core.test.TestProxyTestBase; import com.azure.core.test.http.AssertingHttpClientBuilder; +import com.azure.core.test.models.BodilessMatcher; +import com.azure.core.test.models.CustomMatcher; +import com.azure.core.test.utils.MockTokenCredential; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + import static com.azure.ai.metricsadvisor.TestUtils.AZURE_METRICS_ADVISOR_ENDPOINT; +import static com.azure.ai.metricsadvisor.TestUtils.getEmailSanitizers; -public abstract class MetricsAdvisorClientTestBase extends TestBase { +public abstract class MetricsAdvisorClientTestBase extends TestProxyTestBase { @Override protected void beforeTest() { @@ -35,11 +40,11 @@ private HttpClient buildSyncAssertingClient(HttpClient httpClient) { MetricsAdvisorClientBuilder getMetricsAdvisorBuilder(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVersion, boolean isSync) { - HttpClient httpClient1; + HttpClient httpClient1 = interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient; if (isSync) { - httpClient1 = buildSyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient); + httpClient1 = buildSyncAssertingClient(httpClient1); } else { - httpClient1 = buildAsyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient); + httpClient1 = buildAsyncAssertingClient(httpClient1); } return getMetricsAdvisorBuilderInternal(httpClient1, serviceVersion, true); } @@ -49,20 +54,32 @@ MetricsAdvisorClientBuilder getMetricsAdvisorBuilderInternal(HttpClient httpClie boolean useKeyCredential) { MetricsAdvisorClientBuilder builder = new MetricsAdvisorClientBuilder() .endpoint(getEndpoint()) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(httpClient) .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)) - .serviceVersion(serviceVersion) - .addPolicy(interceptorManager.getRecordPolicy()); + .serviceVersion(serviceVersion); - if (getTestMode() == TestMode.PLAYBACK) { - builder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); + interceptorManager.addSanitizers(getEmailSanitizers()); + if (useKeyCredential) { + if (interceptorManager.isPlaybackMode()) { + builder.credential(new MetricsAdvisorKeyCredential("subscription_key", "api_key")); + // setting bodiless matcher to "exclude" matching request bodies with UUID's + interceptorManager.addMatchers(Arrays.asList(new BodilessMatcher(), new CustomMatcher().setHeadersKeyOnlyMatch(Arrays.asList("x-api-key")))); + } else if (interceptorManager.isRecordMode()) { + builder + .credential(new MetricsAdvisorKeyCredential( + Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_SUBSCRIPTION_KEY"), + Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_API_KEY"))) + .addPolicy(interceptorManager.getRecordPolicy()); + } } else { - if (useKeyCredential) { - builder.credential(new MetricsAdvisorKeyCredential( - Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_SUBSCRIPTION_KEY"), - Configuration.getGlobalConfiguration().get("AZURE_METRICS_ADVISOR_API_KEY"))); - } else { - builder.credential(new DefaultAzureCredentialBuilder().build()); + if (interceptorManager.isPlaybackMode()) { + builder.credential(new MockTokenCredential()); + // setting bodiless matcher to "exclude" matching request bodies with UUID's + interceptorManager.addMatchers(Arrays.asList(new BodilessMatcher())); + } else if (interceptorManager.isRecordMode()) { + builder + .credential(new DefaultAzureCredentialBuilder().build()) + .addPolicy(interceptorManager.getRecordPolicy()); } } return builder; diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/TestUtils.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/TestUtils.java index 04f54550467ee..2af5ff0c546cf 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/TestUtils.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/TestUtils.java @@ -13,6 +13,7 @@ import com.azure.ai.metricsadvisor.administration.models.DataFeedSchema; import com.azure.ai.metricsadvisor.administration.models.SqlServerDataFeedSource; import com.azure.core.http.HttpClient; +import com.azure.core.test.models.TestProxySanitizer; import com.azure.core.util.Configuration; import com.azure.core.util.CoreUtils; import org.junit.jupiter.params.provider.Arguments; @@ -26,6 +27,7 @@ import static com.azure.core.test.TestBase.AZURE_TEST_SERVICE_VERSIONS_VALUE_ALL; import static com.azure.core.test.TestBase.getHttpClients; +import static com.azure.core.test.models.TestProxySanitizerType.BODY_KEY; /** * Utility class for common methods and constants used in test classes. @@ -178,6 +180,14 @@ static Stream getTestParameters() { return argumentsList.stream(); } + static List getEmailSanitizers() { + return Arrays.asList( + // TODO (savaity) https://github.com/Azure/azure-sdk-for-java/issues/34506 + new TestProxySanitizer("admins", "^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@", "REDACTED.", + BODY_KEY), + new TestProxySanitizer("$..userPrincipal", "^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@", "REDACTED.", BODY_KEY)); + } + /** * Returns whether the given service version match the rules of test framework. * diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertAsyncTest.listAlerts[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertAsyncTest.listAlerts[1].json deleted file mode 100644 index af31eaba54028..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertAsyncTest.listAlerts[1].json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/126d1470-b500-4ef0-b5c0-47f9ca914a75/alerts/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0d5f663c-6376-47b6-b334-b37e4624e7a6", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "67000902-1a33-4175-92d3-8bc2667c5317", - "content-length" : "443", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "67000902-1a33-4175-92d3-8bc2667c5317", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"alertId\":\"17f9f794800\",\"timestamp\":\"2022-03-19T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:24.721Z\",\"modifiedTime\":\"2022-04-06T00:29:33.895Z\"},{\"alertId\":\"17f8adfd800\",\"timestamp\":\"2022-03-15T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:07.018Z\",\"modifiedTime\":\"2022-04-06T00:28:52.754Z\"},{\"alertId\":\"17f85b97c00\",\"timestamp\":\"2022-03-14T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:06.612Z\",\"modifiedTime\":\"2022-04-06T00:28:51.832Z\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:27 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertTest.listAlerts[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertTest.listAlerts[1].json deleted file mode 100644 index d03946abb2305..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AlertTest.listAlerts[1].json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/126d1470-b500-4ef0-b5c0-47f9ca914a75/alerts/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f82f322d-3413-4adf-9f92-5c592cbbd4bb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "ae57a5fa-9b3e-4215-a5d3-9875a7de7fb3", - "content-length" : "443", - "x-envoy-upstream-service-time" : "450", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ae57a5fa-9b3e-4215-a5d3-9875a7de7fb3", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"alertId\":\"17f9f794800\",\"timestamp\":\"2022-03-19T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:24.721Z\",\"modifiedTime\":\"2022-04-06T00:29:33.895Z\"},{\"alertId\":\"17f8adfd800\",\"timestamp\":\"2022-03-15T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:07.018Z\",\"modifiedTime\":\"2022-04-06T00:28:52.754Z\"},{\"alertId\":\"17f85b97c00\",\"timestamp\":\"2022-03-14T00:00:00Z\",\"createdTime\":\"2022-04-06T00:25:06.612Z\",\"modifiedTime\":\"2022-04-06T00:28:51.832Z\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:05 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.createAnomalyAlertConfiguration[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.createAnomalyAlertConfiguration[1].json deleted file mode 100644 index b3675a1fdb94d..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.createAnomalyAlertConfiguration[1].json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "27dae8e7-8943-4c4c-bdb7-d8715b199dc4", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "1dbde2ca-0ae8-47d3-8b74-1ead0f430004", - "content-length" : "0", - "x-envoy-upstream-service-time" : "162", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1dbde2ca-0ae8-47d3-8b74-1ead0f430004", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a4910983-dc68-4da7-8fde-155fd0367a82" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a4910983-dc68-4da7-8fde-155fd0367a82", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "10d99ca2-e9b6-4571-a961-941e8663ad95" - }, - "Response" : { - "x-request-id" : "6779acf4-fea1-4718-9345-63af23903ccc", - "content-length" : "363", - "x-envoy-upstream-service-time" : "116", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6779acf4-fea1-4718-9345-63af23903ccc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"a4910983-dc68-4da7-8fde-155fd0367a82\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/a4910983-dc68-4da7-8fde-155fd0367a82", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "99a4fe89-0bac-4571-a446-1af17853881d" - }, - "Response" : { - "x-request-id" : "e628eb93-0128-4136-8781-31eb4bf7b0d3", - "content-length" : "0", - "x-envoy-upstream-service-time" : "130", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e628eb93-0128-4136-8781-31eb4bf7b0d3", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.deleteAnomalyAlertWithResponse[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.deleteAnomalyAlertWithResponse[1].json deleted file mode 100644 index 2d89c33c1a3b6..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.deleteAnomalyAlertWithResponse[1].json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "154ef5ea-4bec-483e-86d0-7de8aa2a8aa6", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2f324f54-a54b-489a-91ec-e2dcc31cfd70", - "content-length" : "0", - "x-envoy-upstream-service-time" : "141", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2f324f54-a54b-489a-91ec-e2dcc31cfd70", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5b5e1acd-7ced-4db9-857b-628a7255deb4" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5b5e1acd-7ced-4db9-857b-628a7255deb4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3625914c-9408-4aa8-b069-e37599ac6f68" - }, - "Response" : { - "x-request-id" : "29b4d60e-3297-4791-b8c7-b17133b66b54", - "content-length" : "363", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "29b4d60e-3297-4791-b8c7-b17133b66b54", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"5b5e1acd-7ced-4db9-857b-628a7255deb4\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5b5e1acd-7ced-4db9-857b-628a7255deb4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c46b548e-8241-4fe9-b406-5223f1333ad0" - }, - "Response" : { - "x-request-id" : "b3b7b6b4-46e3-4fc2-b91e-b402e1e95755", - "content-length" : "0", - "x-envoy-upstream-service-time" : "121", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b3b7b6b4-46e3-4fc2-b91e-b402e1e95755", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/5b5e1acd-7ced-4db9-857b-628a7255deb4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6993397f-051d-4035-bf6e-85e2545c5278" - }, - "Response" : { - "x-request-id" : "9ac6570e-6871-4d79-b4b4-1f0ca38b2771", - "content-length" : "123", - "x-envoy-upstream-service-time" : "88", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9ac6570e-6871-4d79-b4b4-1f0ca38b2771", - "retry-after" : "0", - "StatusCode" : "404", - "Body" : "{\"code\":\"Not Found\",\"message\":\"Not found this AnomalyAlertingConfiguration. TraceId: 9ac6570e-6871-4d79-b4b4-1f0ca38b2771\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.getAnomalyAlertValidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.getAnomalyAlertValidId[1].json deleted file mode 100644 index 556fbb08831d6..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.getAnomalyAlertValidId[1].json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0cf8d453-18db-4bb9-99e0-047234eeba4c", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "979cf212-5d87-417f-8f45-61650d003aea", - "content-length" : "0", - "x-envoy-upstream-service-time" : "151", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "979cf212-5d87-417f-8f45-61650d003aea", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0f1915a8-8987-480b-ac82-1d9dc21cf600" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0f1915a8-8987-480b-ac82-1d9dc21cf600", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b1b105af-f13c-414b-a3ec-e62aca3d4012" - }, - "Response" : { - "x-request-id" : "4fea8ff7-0885-47ab-ab4b-de0111a811ea", - "content-length" : "363", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4fea8ff7-0885-47ab-ab4b-de0111a811ea", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"0f1915a8-8987-480b-ac82-1d9dc21cf600\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/0f1915a8-8987-480b-ac82-1d9dc21cf600", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "334b35e9-0122-4c9f-b857-4ad27dcdc0e9" - }, - "Response" : { - "x-request-id" : "854a6c8e-edfd-480b-bc7c-cb7ad2e0d170", - "content-length" : "0", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "854a6c8e-edfd-480b-bc7c-cb7ad2e0d170", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.testListAnomalyAlert[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.testListAnomalyAlert[1].json deleted file mode 100644 index 4969093c114d0..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.testListAnomalyAlert[1].json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "52afa1e2-ecfa-4861-b9b5-43eec481bedd", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "37b62d6a-0fcd-469d-8207-f41c2b40b258", - "content-length" : "0", - "x-envoy-upstream-service-time" : "141", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "37b62d6a-0fcd-469d-8207-f41c2b40b258", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/38380ce3-ebba-487a-a609-87e092525aa1" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/38380ce3-ebba-487a-a609-87e092525aa1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "adb11cd6-b255-459e-a2c3-c6659e5b09e4" - }, - "Response" : { - "x-request-id" : "5de7aba7-e5e0-4477-aa35-501b66dc7ae2", - "content-length" : "363", - "x-envoy-upstream-service-time" : "100", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5de7aba7-e5e0-4477-aa35-501b66dc7ae2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"38380ce3-ebba-487a-a609-87e092525aa1\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0a4bfc8c-5591-4dd6-ab4f-f25e55a347d3" - }, - "Response" : { - "x-request-id" : "ec02bfc9-c5da-42de-a978-49a2b6e6c716", - "content-length" : "4374", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ec02bfc9-c5da-42de-a978-49a2b6e6c716", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"anomalyAlertingConfigurationId\":\"11bdb68d-8f8f-4423-b76a-7167ee25deee\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"126d1470-b500-4ef0-b5c0-47f9ca914a75\",\"name\":\"sample-alert-config\",\"description\":\"\",\"splitAlertByDimensions\":[\"Dim1\",\"Dim2\"],\"hookIds\":[\"ad2639d2-84dd-4b12-9635-82b8ff14e832\"],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false,\"severityFilter\":{\"minAlertSeverity\":\"Low\",\"maxAlertSeverity\":\"High\"},\"snoozeFilter\":{\"autoSnooze\":0,\"snoozeScope\":\"Series\",\"onlyForSuccessive\":true}}]},{\"anomalyAlertingConfigurationId\":\"34d464f3-3dc9-43da-afd9-3457f02dcbda\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"38380ce3-ebba-487a-a609-87e092525aa1\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"443ba423-df08-4cf8-80e0-2cc6829ecb29\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"904bd03f-32c6-49ba-8a7c-f194723c1d82\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"cc069d75-e544-4c97-bcf5-7bf02eea3982\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"ec712ef4-f92c-401e-a1fd-75acec27c344\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"ecd20ff9-4042-485e-aa5c-9b1d9172cde2\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/38380ce3-ebba-487a-a609-87e092525aa1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "aa0937cb-0db2-421d-8bbb-c7b46b763e01" - }, - "Response" : { - "x-request-id" : "a412b54c-ebd7-4348-baa6-cea494ef206c", - "content-length" : "0", - "x-envoy-upstream-service-time" : "125", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a412b54c-ebd7-4348-baa6-cea494ef206c", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertHappyPath[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertHappyPath[1].json deleted file mode 100644 index 7a7169452622e..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertHappyPath[1].json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e3526d2-4589-438b-b736-4d2c83d1d4f8", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d64714b8-a14e-4c4a-8724-8bd748b3693b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "141", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d64714b8-a14e-4c4a-8724-8bd748b3693b", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/f6745853-4878-48e7-bbe8-ed8fb8f344d8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/f6745853-4878-48e7-bbe8-ed8fb8f344d8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7861786e-e59d-4abc-83ed-ca2e659dcba1" - }, - "Response" : { - "x-request-id" : "693533e2-b305-46e6-b4ed-ffe51db14f8d", - "content-length" : "363", - "x-envoy-upstream-service-time" : "97", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "693533e2-b305-46e6-b4ed-ffe51db14f8d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"f6745853-4878-48e7-bbe8-ed8fb8f344d8\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/f6745853-4878-48e7-bbe8-ed8fb8f344d8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "939ac0fc-484e-42a5-a3f2-54171d7b7b89", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "6c4d2e5b-9e32-4678-ab7d-3135e7cc2da9", - "content-length" : "518", - "x-envoy-upstream-service-time" : "192", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6c4d2e5b-9e32-4678-ab7d-3135e7cc2da9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"f6745853-4878-48e7-bbe8-ed8fb8f344d8\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/f6745853-4878-48e7-bbe8-ed8fb8f344d8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4b6ee2cf-57eb-4f38-b17a-d1bc3053d075" - }, - "Response" : { - "x-request-id" : "5e0e9e1e-a350-4c26-91c4-d371e78b7c93", - "content-length" : "518", - "x-envoy-upstream-service-time" : "105", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5e0e9e1e-a350-4c26-91c4-d371e78b7c93", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"f6745853-4878-48e7-bbe8-ed8fb8f344d8\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/f6745853-4878-48e7-bbe8-ed8fb8f344d8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fd1540bb-2fe2-4489-b6c2-625b15940d50" - }, - "Response" : { - "x-request-id" : "76efdcd2-51b9-4d10-917e-ad6b48d7e7ba", - "content-length" : "0", - "x-envoy-upstream-service-time" : "155", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "76efdcd2-51b9-4d10-917e-ad6b48d7e7ba", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertRemoveHooks[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertRemoveHooks[1].json deleted file mode 100644 index c9f2c4b566a25..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertAsyncTest.updateAnomalyAlertRemoveHooks[1].json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c9e9c579-c158-45d3-a80e-88b478a59de8", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "18007e0c-33f9-4572-9480-0282dc68465a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "251", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "18007e0c-33f9-4572-9480-0282dc68465a", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/86cdaf52-9164-43a0-b852-fd1c2c4c7e74" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/86cdaf52-9164-43a0-b852-fd1c2c4c7e74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "80f3b72b-6e2c-4981-ac0c-b57683815670" - }, - "Response" : { - "x-request-id" : "09fe6027-8495-4b63-9f02-3876911e5692", - "content-length" : "363", - "x-envoy-upstream-service-time" : "185", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "09fe6027-8495-4b63-9f02-3876911e5692", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"86cdaf52-9164-43a0-b852-fd1c2c4c7e74\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/86cdaf52-9164-43a0-b852-fd1c2c4c7e74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4da32747-f7a6-4c66-a83e-b2da049003d9", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "10b819a1-a7e8-4c26-a438-529d57281efc", - "content-length" : "363", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "10b819a1-a7e8-4c26-a438-529d57281efc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"86cdaf52-9164-43a0-b852-fd1c2c4c7e74\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/86cdaf52-9164-43a0-b852-fd1c2c4c7e74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6bb341a6-fdfc-481b-8328-7002d2ffceb3" - }, - "Response" : { - "x-request-id" : "d7b450b7-264a-444f-8078-d3774f76c2b2", - "content-length" : "363", - "x-envoy-upstream-service-time" : "116", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d7b450b7-264a-444f-8078-d3774f76c2b2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"86cdaf52-9164-43a0-b852-fd1c2c4c7e74\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/86cdaf52-9164-43a0-b852-fd1c2c4c7e74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "be97cc34-e04e-435c-9e9d-c8c060748988" - }, - "Response" : { - "x-request-id" : "969904a9-3bcb-4bcf-a892-cb91482c60f4", - "content-length" : "0", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "969904a9-3bcb-4bcf-a892-cb91482c60f4", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.createAnomalyAlertConfiguration[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.createAnomalyAlertConfiguration[1].json deleted file mode 100644 index 2f0576d8ff9bc..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.createAnomalyAlertConfiguration[1].json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "188c94f6-0a4c-41a2-9934-d799a48c43a9", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "da9a242b-1e45-4b77-a679-8b508b93d195", - "content-length" : "0", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "da9a242b-1e45-4b77-a679-8b508b93d195", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e147d830-3c3b-429c-96cc-d4bd6aefeb57" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e147d830-3c3b-429c-96cc-d4bd6aefeb57", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "feae519d-c666-4559-a588-ad94f69049d3" - }, - "Response" : { - "x-request-id" : "11d2bfa7-30f8-4417-9bd2-798d3b9e9379", - "content-length" : "363", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "11d2bfa7-30f8-4417-9bd2-798d3b9e9379", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"e147d830-3c3b-429c-96cc-d4bd6aefeb57\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e147d830-3c3b-429c-96cc-d4bd6aefeb57", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "26d4ce3c-62e0-4b1a-9daa-6f1669a7d8f3" - }, - "Response" : { - "x-request-id" : "2456f09e-ebd2-439b-a535-1986cbc98fea", - "content-length" : "0", - "x-envoy-upstream-service-time" : "125", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2456f09e-ebd2-439b-a535-1986cbc98fea", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/e147d830-3c3b-429c-96cc-d4bd6aefeb57", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8c201a57-49bc-48c7-b1e0-4df1eef9f141" - }, - "Response" : { - "x-request-id" : "8e9dc3b0-eb69-49af-a5ce-ac8b578d9558", - "content-length" : "0", - "x-envoy-upstream-service-time" : "84", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8e9dc3b0-eb69-49af-a5ce-ac8b578d9558", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.deleteAnomalyAlertWithResponse[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.deleteAnomalyAlertWithResponse[1].json deleted file mode 100644 index 4b5d4d9f6fe33..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.deleteAnomalyAlertWithResponse[1].json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fcef44d7-cf51-42a3-9404-4a9636576e1c", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d17f3b4a-ca21-4695-97e2-bc93b9584a22", - "content-length" : "0", - "x-envoy-upstream-service-time" : "145", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d17f3b4a-ca21-4695-97e2-bc93b9584a22", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/7b2ab7ed-bdb1-4cce-af9e-cc2e0e23f468" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/7b2ab7ed-bdb1-4cce-af9e-cc2e0e23f468", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b0444e3e-b224-4994-b69e-77580da3c3fc" - }, - "Response" : { - "x-request-id" : "d8c9b6b4-933b-46db-8ec8-61423abd0d87", - "content-length" : "363", - "x-envoy-upstream-service-time" : "103", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d8c9b6b4-933b-46db-8ec8-61423abd0d87", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"7b2ab7ed-bdb1-4cce-af9e-cc2e0e23f468\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/7b2ab7ed-bdb1-4cce-af9e-cc2e0e23f468", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "186425c7-c288-4ce5-967e-f94f613d82f2" - }, - "Response" : { - "x-request-id" : "fa808844-69ad-43f5-b623-4dd6c5278aee", - "content-length" : "0", - "x-envoy-upstream-service-time" : "134", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fa808844-69ad-43f5-b623-4dd6c5278aee", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/7b2ab7ed-bdb1-4cce-af9e-cc2e0e23f468", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4e031d4e-e306-4989-92b5-bcd9e4e13459" - }, - "Response" : { - "x-request-id" : "141624a9-4821-475e-b7ef-762d0f80da12", - "content-length" : "123", - "x-envoy-upstream-service-time" : "79", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "141624a9-4821-475e-b7ef-762d0f80da12", - "retry-after" : "0", - "StatusCode" : "404", - "Body" : "{\"code\":\"Not Found\",\"message\":\"Not found this AnomalyAlertingConfiguration. TraceId: 141624a9-4821-475e-b7ef-762d0f80da12\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.getAnomalyAlertValidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.getAnomalyAlertValidId[1].json deleted file mode 100644 index d439c277a5453..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.getAnomalyAlertValidId[1].json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "992a10ca-70f6-4ecc-9305-2252193b4cb6", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "bbbd62b8-d0ca-4e7e-9d2d-8b9838c6f52d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "128", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bbbd62b8-d0ca-4e7e-9d2d-8b9838c6f52d", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d2c722a5-d638-4993-9b68-e7799280d362" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d2c722a5-d638-4993-9b68-e7799280d362", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e429d2af-7870-4fb1-af9f-3342f7ac21c7" - }, - "Response" : { - "x-request-id" : "7047ca57-4fee-4313-a28c-b4f0d7f9960f", - "content-length" : "363", - "x-envoy-upstream-service-time" : "94", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7047ca57-4fee-4313-a28c-b4f0d7f9960f", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"d2c722a5-d638-4993-9b68-e7799280d362\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d2c722a5-d638-4993-9b68-e7799280d362", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a30b6454-b766-4ce1-8345-05f8d5fc5557" - }, - "Response" : { - "x-request-id" : "68a28b55-f53c-45e8-8e92-67879c095a2d", - "content-length" : "363", - "x-envoy-upstream-service-time" : "128", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "68a28b55-f53c-45e8-8e92-67879c095a2d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"d2c722a5-d638-4993-9b68-e7799280d362\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/d2c722a5-d638-4993-9b68-e7799280d362", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c0eba604-7cdd-4bda-b8f7-f4bedda625ba" - }, - "Response" : { - "x-request-id" : "3d35f3c7-fc41-447b-868d-7854056c87fb", - "content-length" : "0", - "x-envoy-upstream-service-time" : "124", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3d35f3c7-fc41-447b-868d-7854056c87fb", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:27 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.testListAnomalyAlert[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.testListAnomalyAlert[1].json deleted file mode 100644 index f8deac1ecda56..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.testListAnomalyAlert[1].json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f5b0548-1940-4128-b617-dfbd9192a483", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "23e0eb13-2157-4238-b942-456a21011856", - "content-length" : "0", - "x-envoy-upstream-service-time" : "98", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "23e0eb13-2157-4238-b942-456a21011856", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/cc069d75-e544-4c97-bcf5-7bf02eea3982" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/cc069d75-e544-4c97-bcf5-7bf02eea3982", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9506c318-f9fd-461e-a8e4-731534b0f7ef" - }, - "Response" : { - "x-request-id" : "36faa98f-8f62-44f4-b55a-9b098bd23ba5", - "content-length" : "363", - "x-envoy-upstream-service-time" : "107", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "36faa98f-8f62-44f4-b55a-9b098bd23ba5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"cc069d75-e544-4c97-bcf5-7bf02eea3982\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6c383dbc-54d5-4d69-b5a9-05d8078416c0" - }, - "Response" : { - "x-request-id" : "7f328927-8628-485c-89ae-9133e9401907", - "content-length" : "4374", - "x-envoy-upstream-service-time" : "117", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7f328927-8628-485c-89ae-9133e9401907", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"anomalyAlertingConfigurationId\":\"11bdb68d-8f8f-4423-b76a-7167ee25deee\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"126d1470-b500-4ef0-b5c0-47f9ca914a75\",\"name\":\"sample-alert-config\",\"description\":\"\",\"splitAlertByDimensions\":[\"Dim1\",\"Dim2\"],\"hookIds\":[\"ad2639d2-84dd-4b12-9635-82b8ff14e832\"],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false,\"severityFilter\":{\"minAlertSeverity\":\"Low\",\"maxAlertSeverity\":\"High\"},\"snoozeFilter\":{\"autoSnooze\":0,\"snoozeScope\":\"Series\",\"onlyForSuccessive\":true}}]},{\"anomalyAlertingConfigurationId\":\"34d464f3-3dc9-43da-afd9-3457f02dcbda\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"38380ce3-ebba-487a-a609-87e092525aa1\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"443ba423-df08-4cf8-80e0-2cc6829ecb29\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"904bd03f-32c6-49ba-8a7c-f194723c1d82\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"cc069d75-e544-4c97-bcf5-7bf02eea3982\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"ec712ef4-f92c-401e-a1fd-75acec27c344\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]},{\"anomalyAlertingConfigurationId\":\"ecd20ff9-4042-485e-aa5c-9b1d9172cde2\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/cc069d75-e544-4c97-bcf5-7bf02eea3982", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "21ec9153-0261-410d-a8d4-c13d387e7a6b" - }, - "Response" : { - "x-request-id" : "be3eff99-d91d-44ae-878a-1eaf5c35307f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "154", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "be3eff99-d91d-44ae-878a-1eaf5c35307f", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertHappyPath[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertHappyPath[1].json deleted file mode 100644 index 5aa8f9526af80..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertHappyPath[1].json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1c9c3a4c-abbb-47df-bd94-09b296a2dea8", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "4ad6ce56-4b32-481c-b2dd-e47f946cbb9f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "169", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4ad6ce56-4b32-481c-b2dd-e47f946cbb9f", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b821c6dc-9f52-4309-80f2-db718518cb9b" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b821c6dc-9f52-4309-80f2-db718518cb9b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3f459c75-6d3d-4db3-8a52-47cc52aae2d2" - }, - "Response" : { - "x-request-id" : "d6d0ab60-ca0c-4bc0-8c6b-32cd7b4cb0d5", - "content-length" : "363", - "x-envoy-upstream-service-time" : "105", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d6d0ab60-ca0c-4bc0-8c6b-32cd7b4cb0d5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"b821c6dc-9f52-4309-80f2-db718518cb9b\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b821c6dc-9f52-4309-80f2-db718518cb9b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "422d8a46-6c41-41d3-a1f8-1fc80a355618", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "d2c4a5e7-92d3-4bc5-a908-1aa5f0f525b8", - "content-length" : "518", - "x-envoy-upstream-service-time" : "177", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d2c4a5e7-92d3-4bc5-a908-1aa5f0f525b8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"b821c6dc-9f52-4309-80f2-db718518cb9b\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/b821c6dc-9f52-4309-80f2-db718518cb9b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6bfa1745-8889-4e52-85ad-688c44972fa4" - }, - "Response" : { - "x-request-id" : "8bc0fa07-e974-433a-8728-597dd9a048a0", - "content-length" : "518", - "x-envoy-upstream-service-time" : "109", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8bc0fa07-e974-433a-8728-597dd9a048a0", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"b821c6dc-9f52-4309-80f2-db718518cb9b\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"crossMetricsOperator\":\"XOR\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false},{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertRemoveHooks[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertRemoveHooks[1].json deleted file mode 100644 index 80d6f27a3c8d2..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyAlertTest.updateAnomalyAlertRemoveHooks[1].json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d7dce082-c562-426f-b7aa-c31df793831b", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "5b5c509a-b461-4433-b28a-9118ec2a10c5", - "content-length" : "0", - "x-envoy-upstream-service-time" : "227", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5b5c509a-b461-4433-b28a-9118ec2a10c5", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3791df3c-8f64-4481-865c-ef81e8b727e0" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3791df3c-8f64-4481-865c-ef81e8b727e0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1860071c-5fa4-4ff0-9f09-86b0abb17b31" - }, - "Response" : { - "x-request-id" : "8268c7eb-a71d-4dfb-b2f5-63b7e27f1aef", - "content-length" : "363", - "x-envoy-upstream-service-time" : "197", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8268c7eb-a71d-4dfb-b2f5-63b7e27f1aef", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"3791df3c-8f64-4481-865c-ef81e8b727e0\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3791df3c-8f64-4481-865c-ef81e8b727e0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "09d19374-b747-4311-bbc6-7da207487348", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "f3b83fa0-4da9-4f43-8b19-24b4ec5752bc", - "content-length" : "363", - "x-envoy-upstream-service-time" : "231", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f3b83fa0-4da9-4f43-8b19-24b4ec5752bc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"3791df3c-8f64-4481-865c-ef81e8b727e0\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3791df3c-8f64-4481-865c-ef81e8b727e0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8e4d3ba5-4526-40a0-a790-a69de13ac576" - }, - "Response" : { - "x-request-id" : "572c46f2-93a8-4b4d-9f54-4077828af35c", - "content-length" : "363", - "x-envoy-upstream-service-time" : "108", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "572c46f2-93a8-4b4d-9f54-4077828af35c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyAlertingConfigurationId\":\"3791df3c-8f64-4481-865c-ef81e8b727e0\",\"name\":\"test_alert_configuration\",\"description\":\"testing_alert_configuration_description\",\"splitAlertByDimensions\":[],\"hookIds\":[],\"metricAlertingConfigurations\":[{\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"anomalyScopeType\":\"All\",\"negationOperation\":false}]}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/3791df3c-8f64-4481-865c-ef81e8b727e0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a03119aa-0c95-4535-9a35-f11a1c08a640" - }, - "Response" : { - "x-request-id" : "8652fadd-89c6-4a55-b25d-135fe4e38dd1", - "content-length" : "0", - "x-envoy-upstream-service-time" : "142", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8652fadd-89c6-4a55-b25d-135fe4e38dd1", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json index 8981e2e07b191..2e875f0d7b84a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesAsyncTest.listAnomalyDimensionValues[1].json @@ -1,26 +1,43 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/anomalies/dimension/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6b1ae994-f4d6-4096-87b9-54643ac18c7e", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "588d8568-8468-4013-8305-33d5a6a1a5d5", - "content-length" : "27", - "x-envoy-upstream-service-time" : "244", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "588d8568-8468-4013-8305-33d5a6a1a5d5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[\"__SUM__\",\"JPN\"]}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/anomalies/dimension/query?$maxpagesize=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "92", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1af1afd3-f4d5-44ec-8c9c-dd81b216c781", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z", + "dimensionName": "Dim1" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "02986c18-b366-4cd4-9b13-5d4971882aae", + "Content-Length": "27", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "207", + "x-ms-region": "West US 2", + "X-Request-ID": "02986c18-b366-4cd4-9b13-5d4971882aae" + }, + "ResponseBody": { + "value": [ + "__SUM__", + "JPN" + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json index 9a7e040afb7da..4d96beeaecde9 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyDimensionValuesTest.listAnomalyDimensionValues[1].json @@ -1,26 +1,43 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/anomalies/dimension/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1d8ee91b-44b7-4b02-80a1-b4d23d00074f", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "79ae02f2-2d49-4cb2-8d72-d2737cfd30e3", - "content-length" : "27", - "x-envoy-upstream-service-time" : "244", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "79ae02f2-2d49-4cb2-8d72-d2737cfd30e3", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[\"__SUM__\",\"JPN\"]}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/anomalies/dimension/query?$maxpagesize=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "92", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b3018dc2-04ef-488a-bd57-b411529c1489", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z", + "dimensionName": "Dim1" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3ed5693e-db96-490f-8048-b0f30a2c3e78", + "Content-Length": "27", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "228", + "x-ms-region": "West US 2", + "X-Request-ID": "3ed5693e-db96-490f-8048-b0f30a2c3e78" + }, + "ResponseBody": { + "value": [ + "__SUM__", + "JPN" + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json index ea8fcc7feb7be..8bd5b1812acab 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedAsyncTest.listIncidentsDetected[1].json @@ -1,26 +1,100 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/query?$maxpagesize=1000", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a35a926c-6cd2-4587-9acf-a87892db6c17", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2edbfac9-2009-43c1-8ba7-655e851e7ba6", - "content-length" : "947", - "x-envoy-upstream-service-time" : "324", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2edbfac9-2009-43c1-8ba7-655e851e7ba6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800\",\"startTime\":\"2022-03-19T00:00:00Z\",\"lastTime\":\"2022-03-19T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":97249.0,\"expectedValueOfRootNode\":80000.0}},{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f8adfd800\",\"startTime\":\"2022-03-14T00:00:00Z\",\"lastTime\":\"2022-03-15T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":83298.0,\"expectedValueOfRootNode\":80000.0}},{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f71200c00\",\"startTime\":\"2022-03-10T00:00:00Z\",\"lastTime\":\"2022-03-10T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":80214.0,\"expectedValueOfRootNode\":80000.0}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/query?$maxpagesize=1000", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7b9101c9-967a-44f1-aaf0-5d57f5441df9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "235b5523-d92a-493f-b2ca-04782ccce0b0", + "Content-Length": "1472", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "541", + "x-ms-region": "West US 2", + "X-Request-ID": "235b5523-d92a-493f-b2ca-04782ccce0b0" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800", + "startTime": "2022-03-19T00:00:00Z", + "lastTime": "2022-03-19T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 97249.0, + "expectedValueOfRootNode": 80000.0 + } + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f8adfd800", + "startTime": "2022-03-14T00:00:00Z", + "lastTime": "2022-03-15T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 83298.0, + "expectedValueOfRootNode": 80000.0 + } + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f71200c00", + "startTime": "2022-03-10T00:00:00Z", + "lastTime": "2022-03-10T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 80214.0, + "expectedValueOfRootNode": 80000.0 + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json index 2db9cecb95390..e137f6e4a5882 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentDetectedTest.listIncidentsDetected[1].json @@ -1,26 +1,100 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/query?$maxpagesize=1000", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "44b95f23-efba-4029-b3c1-0ae7f1aa8cfb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "26450c32-3cdd-45e9-a6fd-d628cad1dab5", - "content-length" : "947", - "x-envoy-upstream-service-time" : "556", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "26450c32-3cdd-45e9-a6fd-d628cad1dab5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800\",\"startTime\":\"2022-03-19T00:00:00Z\",\"lastTime\":\"2022-03-19T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":97249.0,\"expectedValueOfRootNode\":80000.0}},{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f8adfd800\",\"startTime\":\"2022-03-14T00:00:00Z\",\"lastTime\":\"2022-03-15T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":83298.0,\"expectedValueOfRootNode\":80000.0}},{\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f71200c00\",\"startTime\":\"2022-03-10T00:00:00Z\",\"lastTime\":\"2022-03-10T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":80214.0,\"expectedValueOfRootNode\":80000.0}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:05 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/query?$maxpagesize=1000", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "977746e6-9603-4097-a886-a25cffc30e7c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c6cde041-88be-41f6-9f4e-ef5d06422ef0", + "Content-Length": "1472", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "393", + "x-ms-region": "West US 2", + "X-Request-ID": "c6cde041-88be-41f6-9f4e-ef5d06422ef0" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800", + "startTime": "2022-03-19T00:00:00Z", + "lastTime": "2022-03-19T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 97249.0, + "expectedValueOfRootNode": 80000.0 + } + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f8adfd800", + "startTime": "2022-03-14T00:00:00Z", + "lastTime": "2022-03-15T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 83298.0, + "expectedValueOfRootNode": 80000.0 + } + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "anomalyDetectionConfigurationId": "78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7", + "incidentId": "88ecf25a0e6bd330ef9e7b49b7c5b92b-17f71200c00", + "startTime": "2022-03-10T00:00:00Z", + "lastTime": "2022-03-10T00:00:00Z", + "rootNode": { + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + }, + "property": { + "maxSeverity": "High", + "incidentStatus": "Active", + "valueOfRootNode": 80214.0, + "expectedValueOfRootNode": 80000.0 + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertAsyncTest.listIncidentsForAlert[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertAsyncTest.listIncidentsForAlert[1].json deleted file mode 100644 index f352baf68c351..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertAsyncTest.listIncidentsForAlert[1].json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/126d1470-b500-4ef0-b5c0-47f9ca914a75/alerts/17f9f794800/incidents?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "99d99250-cbb1-4a10-acb6-c30ccf9f4bc0" - }, - "Response" : { - "x-request-id" : "f27475ae-6e5d-460e-bf9e-452cce3a4913", - "content-length" : "498", - "x-envoy-upstream-service-time" : "402", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f27475ae-6e5d-460e-bf9e-452cce3a4913", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800\",\"startTime\":\"2022-03-19T00:00:00Z\",\"lastTime\":\"2022-03-19T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":97249.0,\"expectedValueOfRootNode\":80000.0}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertTest.listIncidentsForAlert[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertTest.listIncidentsForAlert[1].json deleted file mode 100644 index 116c99777fd80..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentForAlertTest.listIncidentsForAlert[1].json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/alert/anomaly/configurations/126d1470-b500-4ef0-b5c0-47f9ca914a75/alerts/17f9f794800/incidents?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "79f958a0-45f1-451c-9562-4489f31f3737" - }, - "Response" : { - "x-request-id" : "37dd6c9c-bd2d-447f-a05d-48a266f252e6", - "content-length" : "498", - "x-envoy-upstream-service-time" : "420", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "37dd6c9c-bd2d-447f-a05d-48a266f252e6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"anomalyDetectionConfigurationId\":\"78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7\",\"incidentId\":\"88ecf25a0e6bd330ef9e7b49b7c5b92b-17f9f794800\",\"startTime\":\"2022-03-19T00:00:00Z\",\"lastTime\":\"2022-03-19T00:00:00Z\",\"rootNode\":{\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}},\"property\":{\"maxSeverity\":\"High\",\"incidentStatus\":\"Active\",\"valueOfRootNode\":97249.0,\"expectedValueOfRootNode\":80000.0}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json index 3a751329b70fb..dafc5602b6069 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseAsyncTest.listIncidentRootCauses[1].json @@ -1,25 +1,50 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/88ecf25a0e6bd330ef9e7b49b7c5b92b-18001521c00/rootCause", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "86cf79a6-e52c-460d-bc7f-de698623f817" - }, - "Response" : { - "x-request-id" : "1ff9ddbc-e7a0-48fc-b9a8-edd3f622a9df", - "content-length" : "210", - "x-envoy-upstream-service-time" : "292", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1ff9ddbc-e7a0-48fc-b9a8-edd3f622a9df", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"rootCause\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"path\":[\"Dim1\",\"Dim2\"],\"score\":0.25078896770000203,\"description\":\"Increase on Dim1 = JPN | Dim2 = JP contributes the most to current incident.\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/88ecf25a0e6bd330ef9e7b49b7c5b92b-18001521c00/rootCause", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f6d4a172-6b73-4ab4-8b45-e71f0f0ea458", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "063f5cf5-3a7e-4da6-b569-6bed35d732ed", + "Content-Length": "209", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "269", + "x-ms-region": "West US 2", + "X-Request-ID": "063f5cf5-3a7e-4da6-b569-6bed35d732ed" + }, + "ResponseBody": { + "value": [ + { + "rootCause": { + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "path": [ + "Dim1", + "Dim2" + ], + "score": 0.2510180475721517, + "description": "Increase on Dim1 = JPN | Dim2 = JP contributes the most to current incident." + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json index d4c2db95cb598..d71a7bb47450a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/AnomalyIncidentRootCauseTest.listIncidentRootCauses[1].json @@ -1,25 +1,50 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/88ecf25a0e6bd330ef9e7b49b7c5b92b-18001521c00/rootCause", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "41dd4398-2a67-4624-bd3b-f551e9f7d3cc" - }, - "Response" : { - "x-request-id" : "29f81f2c-4d85-4f54-85e3-aff3e73eb814", - "content-length" : "210", - "x-envoy-upstream-service-time" : "460", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "29f81f2c-4d85-4f54-85e3-aff3e73eb814", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"rootCause\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"path\":[\"Dim1\",\"Dim2\"],\"score\":0.25078896770000203,\"description\":\"Increase on Dim1 = JPN | Dim2 = JP contributes the most to current incident.\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/78f3a4e7-fe53-4a05-9f4d-d724ab6c23a7/incidents/88ecf25a0e6bd330ef9e7b49b7c5b92b-18001521c00/rootCause", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "73427c86-01f9-48ac-a356-041a2bd962de", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5fd5cf80-60ea-485f-8398-c6fc6ad055ee", + "Content-Length": "209", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "320", + "x-ms-region": "West US 2", + "X-Request-ID": "5fd5cf80-60ea-485f-8398-c6fc6ad055ee" + }, + "ResponseBody": { + "value": [ + { + "rootCause": { + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "path": [ + "Dim1", + "Dim2" + ], + "score": 0.2510180475721517, + "description": "Increase on Dim1 = JPN | Dim2 = JP contributes the most to current incident." + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json index 0e3aeafc6336c..ec5c32e23317f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAppInsightsDataFeed[1].json @@ -1,65 +1,178 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b66b7300-0e8d-4abf-b8f6-157d0fae3b24", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "882", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5d8bb0dc-a127-4cbd-9c38-174b1a85e94d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureApplicationInsights", + "dataFeedName": "java_create_data_feed_test_samplee9378ea6-09a6-4790-988b-57790b4db330", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "azureCloud": "Azure Global", + "applicationId": "REDACTED", + "apiKey": "REDACTED", + "query": "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime \u002B gran; requests | where timestamp \u003E= starttime and timestamp \u003C endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "cc4ff49e-8027-4ace-9ff2-f18bcc9be60b", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/bbeab4bf-8b65-4dfa-9e3b-254276e7fe88", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "2168", + "x-ms-region": "West US 2", + "X-Request-ID": "cc4ff49e-8027-4ace-9ff2-f18bcc9be60b" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9480b5e3-6f17-4ee5-b434-0203b8fc18ee", - "content-length" : "0", - "x-envoy-upstream-service-time" : "488", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9480b5e3-6f17-4ee5-b434-0203b8fc18ee", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5808bf6-b945-476b-8535-1180756ea532" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/bbeab4bf-8b65-4dfa-9e3b-254276e7fe88", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "57f35134-02b4-407b-8595-700b93aa5577", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "748b21d1-a269-4e5c-9c48-94e5c06390ff", + "Content-Length": "1543", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "226", + "x-ms-region": "West US 2", + "X-Request-ID": "748b21d1-a269-4e5c-9c48-94e5c06390ff" + }, + "ResponseBody": { + "dataFeedId": "bbeab4bf-8b65-4dfa-9e3b-254276e7fe88", + "dataFeedName": "java_create_data_feed_test_samplee9378ea6-09a6-4790-988b-57790b4db330", + "metrics": [ + { + "metricId": "d499972d-fc82-411f-aa00-bbef07e5ba30", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "74b5421b-f891-4599-b305-5ad0d51e623e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureApplicationInsights", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:25Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime \u002B gran; requests | where timestamp \u003E= starttime and timestamp \u003C endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode", + "azureCloud": "Azure Global", + "applicationId": "REDACTED" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5808bf6-b945-476b-8535-1180756ea532", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "90a815dd-6470-4ab0-b27b-10c091f8e3e8" - }, - "Response" : { - "x-request-id" : "1eabfecc-105c-43b4-8f6b-83345474a0f1", - "content-length" : "1560", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1eabfecc-105c-43b4-8f6b-83345474a0f1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"d5808bf6-b945-476b-8535-1180756ea532\",\"dataFeedName\":\"java_create_data_feed_test_samplec4ddedaa-b260-4a59-b578-364d58e00b35\",\"metrics\":[{\"metricId\":\"2dc85bf9-d1f5-442b-b2a6-0657600e99e6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"12d7dcdc-ed5b-4da2-81f1-10cc41e43af1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure Global\",\"REDACTED\":\"REDACTED\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:36 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5808bf6-b945-476b-8535-1180756ea532", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc6346f1-0141-46b9-a933-2b014d723dcd" - }, - "Response" : { - "x-request-id" : "13afeace-e37b-462d-965f-f388867429b7", - "content-length" : "0", - "x-envoy-upstream-service-time" : "323", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "13afeace-e37b-462d-965f-f388867429b7", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/bbeab4bf-8b65-4dfa-9e3b-254276e7fe88", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3cf62c54-d13e-445f-91da-53c9d676b9ac", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "d8fe6524-2426-4df5-ab11-172cd31b33e6", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "852", + "x-ms-region": "West US 2", + "X-Request-ID": "d8fe6524-2426-4df5-ab11-172cd31b33e6" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json index 052fb3a63e331..1b73a529ba9de 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createAzureTableDataFeed[1].json @@ -1,65 +1,176 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "33c84bfa-87a2-4762-968c-a27d5244dcff", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "597", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c38338c1-fc63-4c1e-870c-03b720126ec4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureTable", + "dataFeedName": "java_create_data_feed_test_sample1b16aa8a-18d3-4fa0-b321-196c567149c0", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "table": "adsample", + "query": "PartitionKey ge \u0027@StartTime\u0027 and PartitionKey lt \u0027@EndTime\u0027" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "58103eb9-97c3-4b0c-a958-875cd7e24474", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/15534ec4-82da-44d6-86d6-53cd720a3236", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "820", + "x-ms-region": "West US 2", + "X-Request-ID": "58103eb9-97c3-4b0c-a958-875cd7e24474" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "c35a7829-92d4-49e8-9734-bbe5fb3ec7e2", - "content-length" : "0", - "x-envoy-upstream-service-time" : "460", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c35a7829-92d4-49e8-9734-bbe5fb3ec7e2", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/86798b7d-5a23-4527-bc31-f348452d3084" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/15534ec4-82da-44d6-86d6-53cd720a3236", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e9904d12-b1be-4f25-a43e-b91cd3710ec9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "095d5203-6b7c-4e0e-8730-f86538c2d145", + "Content-Length": "1248", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "147", + "x-ms-region": "West US 2", + "X-Request-ID": "095d5203-6b7c-4e0e-8730-f86538c2d145" + }, + "ResponseBody": { + "dataFeedId": "15534ec4-82da-44d6-86d6-53cd720a3236", + "dataFeedName": "java_create_data_feed_test_sample1b16aa8a-18d3-4fa0-b321-196c567149c0", + "metrics": [ + { + "metricId": "644890ee-e7dc-4c7c-80a2-ded2a3d54f8b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d9bf45ad-33a3-4156-b7ef-c8a5592ca563", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureTable", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:17Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "PartitionKey ge \u0027@StartTime\u0027 and PartitionKey lt \u0027@EndTime\u0027", + "table": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/86798b7d-5a23-4527-bc31-f348452d3084", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8f0c02d4-ca3a-4a52-b3ee-b08e83279dfc" - }, - "Response" : { - "x-request-id" : "20d083b4-fb55-4a31-a62f-343281a8c5fa", - "content-length" : "1260", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "20d083b4-fb55-4a31-a62f-343281a8c5fa", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"86798b7d-5a23-4527-bc31-f348452d3084\",\"dataFeedName\":\"java_create_data_feed_test_sample05352c10-6a9a-4f82-bd35-1f75dff54a33\",\"metrics\":[{\"metricId\":\"cb229971-a57a-4bcb-81d0-51a47b337235\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e076b6ee-6d4a-4990-9b96-5a57344a0d42\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"PartitionKey ge '@StartTime' and PartitionKey lt '@EndTime'\",\"table\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/86798b7d-5a23-4527-bc31-f348452d3084", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d5d1bdd-c397-4638-aecb-ea879145b22a" - }, - "Response" : { - "x-request-id" : "4faa6d2e-c576-4d07-b8ae-837ff8c48a90", - "content-length" : "0", - "x-envoy-upstream-service-time" : "308", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4faa6d2e-c576-4d07-b8ae-837ff8c48a90", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:27 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/15534ec4-82da-44d6-86d6-53cd720a3236", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "83717548-6506-435c-a2ed-a1eabf28f776", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "fa16e499-3e45-4eb6-a9ab-b5c8a17ae3ee", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "334", + "x-ms-region": "West US 2", + "X-Request-ID": "fa16e499-3e45-4eb6-a9ab-b5c8a17ae3ee" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json index ffc51b6359ad8..df43b38197219 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createBlobDataFeed[1].json @@ -1,65 +1,177 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "879295a9-0df0-47ee-9e3f-67ff2071a22a", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "606", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f601ff53-28e0-4d3d-9f9b-3e0abad381d8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_sample4eb64c5d-af68-4dfc-9bef-9a8a27775f13", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "6ea12f3f-fda8-4cb7-8da2-45dcd90d4c96", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/56717a8c-5d71-415e-a2a6-de05c153ae4b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1421", + "x-ms-region": "West US 2", + "X-Request-ID": "6ea12f3f-fda8-4cb7-8da2-45dcd90d4c96" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "08af5909-4321-4367-8d8c-4b24bde04572", - "content-length" : "0", - "x-envoy-upstream-service-time" : "572", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "08af5909-4321-4367-8d8c-4b24bde04572", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/097e1cc3-8cbd-4b0c-b36c-608839b3d9bd" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/56717a8c-5d71-415e-a2a6-de05c153ae4b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5520e1a4-4ec6-4f85-99a8-f0c21f95a7bf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9a5b79ea-2ab7-4d40-881f-bb0a06a1c15b", + "Content-Length": "1228", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "155", + "x-ms-region": "West US 2", + "X-Request-ID": "9a5b79ea-2ab7-4d40-881f-bb0a06a1c15b" + }, + "ResponseBody": { + "dataFeedId": "56717a8c-5d71-415e-a2a6-de05c153ae4b", + "dataFeedName": "java_create_data_feed_test_sample4eb64c5d-af68-4dfc-9bef-9a8a27775f13", + "metrics": [ + { + "metricId": "eebe4a88-f783-4f4a-bfe3-b401b60e22cc", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3dbc8cb7-108c-4ade-beb2-1d9950e759d2", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:05Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/097e1cc3-8cbd-4b0c-b36c-608839b3d9bd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7afb9b27-cd99-4baf-97e5-7ded380e6634" - }, - "Response" : { - "x-request-id" : "d9bbf4b6-88b8-40d7-bb21-4d224fe5d814", - "content-length" : "1240", - "x-envoy-upstream-service-time" : "158", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d9bbf4b6-88b8-40d7-bb21-4d224fe5d814", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"097e1cc3-8cbd-4b0c-b36c-608839b3d9bd\",\"dataFeedName\":\"java_create_data_feed_test_samplefd5cb3e1-36ad-451e-be9d-2a46c4570701\",\"metrics\":[{\"metricId\":\"4b77bc80-dca4-4536-999d-5b327ae55d63\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4ca4aa0a-be31-4a65-ad0a-60d1a3d5fbed\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/097e1cc3-8cbd-4b0c-b36c-608839b3d9bd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5bf43e34-5ddf-4002-b662-d147b7ab849d" - }, - "Response" : { - "x-request-id" : "a11ca6b6-708d-4eca-9df6-a41b79c5e4ac", - "content-length" : "0", - "x-envoy-upstream-service-time" : "305", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a11ca6b6-708d-4eca-9df6-a41b79c5e4ac", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/56717a8c-5d71-415e-a2a6-de05c153ae4b", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4afd03cd-1928-4bc7-87f6-0eebf6a7874a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "4600357f-9f78-48f0-9b65-f6e188f59831", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "452", + "x-ms-region": "West US 2", + "X-Request-ID": "4600357f-9f78-48f0-9b65-f6e188f59831" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json index 3dffcc9d4763c..fbe2c91eee558 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createCosmosDataFeed[1].json @@ -1,65 +1,178 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "011925ce-376f-4588-a05a-12fa0f49a346", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "625", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "95e2bdfc-e9ea-4fc5-8baa-755db6f58473", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureCosmosDB", + "dataFeedName": "java_create_data_feed_test_sample7cfcea8e-79f1-48f2-a88e-56b391b921b1", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "sqlQuery": "select * from adsample2 where Timestamp = @StartTime", + "database": "adsample", + "collectionId": "adsample" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "e9cb77f9-3545-457c-9b46-8836c953032e", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/dcfafc9f-eb4f-4891-b1a8-7ed4e80a4d3a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1477", + "x-ms-region": "West US 2", + "X-Request-ID": "e9cb77f9-3545-457c-9b46-8836c953032e" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "de58f924-7cfb-4188-a02c-423c5893c7e2", - "content-length" : "0", - "x-envoy-upstream-service-time" : "455", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "de58f924-7cfb-4188-a02c-423c5893c7e2", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1daefacc-ae44-4910-b0d2-a22e3aec5464" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/dcfafc9f-eb4f-4891-b1a8-7ed4e80a4d3a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "cbcf13a9-d46d-4e3b-ad2a-c232f2a860c4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "23626266-11a6-400c-9bf9-acd878486f67", + "Content-Length": "1276", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "128", + "x-ms-region": "West US 2", + "X-Request-ID": "23626266-11a6-400c-9bf9-acd878486f67" + }, + "ResponseBody": { + "dataFeedId": "dcfafc9f-eb4f-4891-b1a8-7ed4e80a4d3a", + "dataFeedName": "java_create_data_feed_test_sample7cfcea8e-79f1-48f2-a88e-56b391b921b1", + "metrics": [ + { + "metricId": "90b25907-6c82-4b19-a707-570c9d1a423b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "47589b87-2e00-4d1a-8a0c-495c7b46db02", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureCosmosDB", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:09Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "database": "adsample", + "sqlQuery": "select * from adsample2 where Timestamp = @StartTime", + "collectionId": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1daefacc-ae44-4910-b0d2-a22e3aec5464", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "31ace88b-d187-48c8-b8f1-137dc31b3d95" - }, - "Response" : { - "x-request-id" : "fe4d4187-5aff-4bd0-9e5b-b2bf73b455d8", - "content-length" : "1288", - "x-envoy-upstream-service-time" : "165", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fe4d4187-5aff-4bd0-9e5b-b2bf73b455d8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"1daefacc-ae44-4910-b0d2-a22e3aec5464\",\"dataFeedName\":\"java_create_data_feed_test_samplee5dfd891-6175-4721-82e7-a54bc1d46350\",\"metrics\":[{\"metricId\":\"a0f43deb-52af-4d97-b84a-f37deb017a86\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff1d5d0c-2390-42bc-8421-e21af0939f75\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"adsample\",\"sqlQuery\":\"select * from adsample2 where Timestamp = @StartTime\",\"collectionId\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/1daefacc-ae44-4910-b0d2-a22e3aec5464", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6fde5ba5-acdf-4be3-8564-1075c05c52bd" - }, - "Response" : { - "x-request-id" : "75085cb8-84c3-40bd-aa0e-b0912f28fb28", - "content-length" : "0", - "x-envoy-upstream-service-time" : "333", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "75085cb8-84c3-40bd-aa0e-b0912f28fb28", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/dcfafc9f-eb4f-4891-b1a8-7ed4e80a4d3a", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b0ab3d83-5e81-4a56-929e-9430b5f4d3bb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "61348eb5-c1d7-4102-90d6-c15df22aa8c9", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "344", + "x-ms-region": "West US 2", + "X-Request-ID": "61348eb5-c1d7-4102-90d6-c15df22aa8c9" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json index 644daa94c716b..1ed0b65ceace5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createDataLakeStorageDataFeed[1].json @@ -1,65 +1,181 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7167beb6-cc4d-4521-8863-d4222a785963", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "660", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f5cfd90d-c384-42ec-b2b2-a44cf8946b3b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_samplec7f531a8-7371-4de3-a57e-8f6ab8efe98c", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "accountName": "REDACTED", + "accountKey": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "9c5c8b43-ea16-471d-8fbd-12ac8831e153", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a79126e4-dafa-4c21-ad05-2ab51f93b7a9", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1184", + "x-ms-region": "West US 2", + "X-Request-ID": "9c5c8b43-ea16-471d-8fbd-12ac8831e153" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "00a66d9c-c31e-457c-8f35-f20445e2f648", - "content-length" : "0", - "x-envoy-upstream-service-time" : "586", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "00a66d9c-c31e-457c-8f35-f20445e2f648", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b53ffe5a-bb25-40f8-8fc6-dd845c209462" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a79126e4-dafa-4c21-ad05-2ab51f93b7a9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ee77a539-b56a-4788-8521-07379aebf0a7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9746cca5-31cd-4ec6-b278-b721a003f85f", + "Content-Length": "1288", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "160", + "x-ms-region": "West US 2", + "X-Request-ID": "9746cca5-31cd-4ec6-b278-b721a003f85f" + }, + "ResponseBody": { + "dataFeedId": "a79126e4-dafa-4c21-ad05-2ab51f93b7a9", + "dataFeedName": "java_create_data_feed_test_samplec7f531a8-7371-4de3-a57e-8f6ab8efe98c", + "metrics": [ + { + "metricId": "ee36b3e2-af3d-491b-a028-f45a9f4d98b3", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "495db388-6798-469e-a1cd-7dd62480ada0", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:14Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b53ffe5a-bb25-40f8-8fc6-dd845c209462", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1b021bf9-7c52-4edc-a198-34ba07fe84a3" - }, - "Response" : { - "x-request-id" : "5e12206b-4d87-4ef7-892e-c5598d54e629", - "content-length" : "1312", - "x-envoy-upstream-service-time" : "179", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5e12206b-4d87-4ef7-892e-c5598d54e629", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"b53ffe5a-bb25-40f8-8fc6-dd845c209462\",\"dataFeedName\":\"java_create_data_feed_test_samplec2a80c0b-eec6-4d3f-a2be-55d40c15096f\",\"metrics\":[{\"metricId\":\"b8c24a21-ee87-4b56-99d2-15a67ddf8c6e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"36068ab8-8c32-4eae-a8bd-8636f4cbe62f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/b53ffe5a-bb25-40f8-8fc6-dd845c209462", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cf699855-67f5-4a93-8b56-16ff6cf5f4ae" - }, - "Response" : { - "x-request-id" : "e019cf9d-4443-49d8-936f-f87e6bc17dcd", - "content-length" : "0", - "x-envoy-upstream-service-time" : "316", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e019cf9d-4443-49d8-936f-f87e6bc17dcd", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a79126e4-dafa-4c21-ad05-2ab51f93b7a9", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "efc2966e-84a1-42a9-83e7-ee7bbac20818", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "5741ee64-38d9-459e-9d28-e60902b4e1be", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "401", + "x-ms-region": "West US 2", + "X-Request-ID": "5741ee64-38d9-459e-9d28-e60902b4e1be" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json index 72941e1f427f9..00810c13b81a4 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createExplorerDataFeed[1].json @@ -1,65 +1,175 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c7d2773d-acc9-4cb5-99c1-a004d740a21a", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "703", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "80bd12f6-bfd1-4ff9-a607-223c671652a6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_sample37a7d464-8094-4307-b066-68afe0565d41", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "4e4360e0-1fcd-4788-a6de-f1ac22e97433", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/caea4f2d-9795-4208-87a0-d383dd22ac0a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "2264", + "x-ms-region": "West US 2", + "X-Request-ID": "4e4360e0-1fcd-4788-a6de-f1ac22e97433" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "c2e91d6d-5117-4046-9968-b38be3b17bed", - "content-length" : "0", - "x-envoy-upstream-service-time" : "481", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c2e91d6d-5117-4046-9968-b38be3b17bed", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/abab4c25-f927-44b8-b360-ecf712678e0b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/caea4f2d-9795-4208-87a0-d383dd22ac0a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2acd87e6-1153-4ab4-a2f4-0ad74f2917a8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1c463b05-9871-4da5-89e0-6f039211fe66", + "Content-Length": "1325", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "207", + "x-ms-region": "West US 2", + "X-Request-ID": "1c463b05-9871-4da5-89e0-6f039211fe66" + }, + "ResponseBody": { + "dataFeedId": "caea4f2d-9795-4208-87a0-d383dd22ac0a", + "dataFeedName": "java_create_data_feed_test_sample37a7d464-8094-4307-b066-68afe0565d41", + "metrics": [ + { + "metricId": "9053f71b-6956-4101-b780-577f37aeb710", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "5416bbef-6021-4260-be1e-cdf67655b99e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:25Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/abab4c25-f927-44b8-b360-ecf712678e0b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6177d0de-7491-4f36-8b15-9598ee26a51d" - }, - "Response" : { - "x-request-id" : "10538b0b-dc42-4600-bad8-8ae42a3e790c", - "content-length" : "1337", - "x-envoy-upstream-service-time" : "176", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "10538b0b-dc42-4600-bad8-8ae42a3e790c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"abab4c25-f927-44b8-b360-ecf712678e0b\",\"dataFeedName\":\"java_create_data_feed_test_sample2829297f-b451-4531-b737-2cf63cb2ec4f\",\"metrics\":[{\"metricId\":\"3421f92f-e824-4889-9283-0823c9f6ec6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9baff192-8827-45a8-ae1c-1c35a96e5efa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/abab4c25-f927-44b8-b360-ecf712678e0b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1640250e-9df8-4b5a-ac17-1ce5af2530af" - }, - "Response" : { - "x-request-id" : "63a7e3e2-b941-4e52-ae80-86ddbb8648be", - "content-length" : "0", - "x-envoy-upstream-service-time" : "333", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "63a7e3e2-b941-4e52-ae80-86ddbb8648be", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:36 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/caea4f2d-9795-4208-87a0-d383dd22ac0a", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ec037bc2-3120-4114-8c28-4f10e9c87d45", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "2d3e63cd-d510-4ebf-9ecc-ffadc5a80417", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "947", + "x-ms-region": "West US 2", + "X-Request-ID": "2d3e63cd-d510-4ebf-9ecc-ffadc5a80417" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json index 0ee8c3d5c86d0..bf72de1d3997b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createInfluxDataFeed[1].json @@ -1,65 +1,180 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b9924fda-71b2-424c-9df1-e4c46225ae46", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "635", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "bf81733b-158e-4b05-8dcf-af0c0698ae6a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "InfluxDB", + "dataFeedName": "java_create_data_feed_test_sample6915c2da-d9b6-4c18-83d1-0208799c97af", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "database": "adsample", + "userName": "REDACTED", + "password": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "09a52097-cc20-4a4b-9988-dc7e844964c2", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/796a2324-7514-4144-b871-7ffb69acbaea", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "852", + "x-ms-region": "West US 2", + "X-Request-ID": "09a52097-cc20-4a4b-9988-dc7e844964c2" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "7055d23c-3ee4-46d1-bd36-0818ca8e6adb", - "content-length" : "0", - "x-envoy-upstream-service-time" : "600", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7055d23c-3ee4-46d1-bd36-0818ca8e6adb", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a1406c79-3a1a-4c23-b7a6-99bd20067751" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/796a2324-7514-4144-b871-7ffb69acbaea", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2e3d7f2b-9b70-48b5-bf6e-45c429b6e0e8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e7b080bb-2554-4f84-b762-1bafdeeabc9b", + "Content-Length": "1294", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "147", + "x-ms-region": "West US 2", + "X-Request-ID": "e7b080bb-2554-4f84-b762-1bafdeeabc9b" + }, + "ResponseBody": { + "dataFeedId": "796a2324-7514-4144-b871-7ffb69acbaea", + "dataFeedName": "java_create_data_feed_test_sample6915c2da-d9b6-4c18-83d1-0208799c97af", + "metrics": [ + { + "metricId": "8508739e-c238-4ecf-8412-144402df99ce", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "7d43f0fd-04ea-46fe-aa87-670ffe06f0e1", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "InfluxDB", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "connectionString": "REDACTED", + "database": "adsample", + "query": "select * from adsample2 where Timestamp = @StartTime", + "userName": "REDACTED" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a1406c79-3a1a-4c23-b7a6-99bd20067751", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6f673ee0-a784-4c24-8617-2276d3161d22" - }, - "Response" : { - "x-request-id" : "7690a7a5-8b12-4436-b7ab-075ecce36af5", - "content-length" : "1354", - "x-envoy-upstream-service-time" : "207", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7690a7a5-8b12-4436-b7ab-075ecce36af5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a1406c79-3a1a-4c23-b7a6-99bd20067751\",\"dataFeedName\":\"java_create_data_feed_test_sample4b5fdddc-3daa-4050-91da-b3761efc3b5c\",\"metrics\":[{\"metricId\":\"ac17e309-f997-42f8-b7b0-d70dba2eb1a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"27f813c8-f13e-4890-a05c-afdd957c4510\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"adsample\",\"query\":\"select * from adsample2 where Timestamp = @StartTime\",\"userName\":\"REDACTED\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a1406c79-3a1a-4c23-b7a6-99bd20067751", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "eb6db108-face-4e23-b181-c766cee7e191" - }, - "Response" : { - "x-request-id" : "49773338-1af5-437d-ae83-2a98bbaab9ca", - "content-length" : "0", - "x-envoy-upstream-service-time" : "376", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "49773338-1af5-437d-ae83-2a98bbaab9ca", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/796a2324-7514-4144-b871-7ffb69acbaea", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d317a095-41d9-432f-89b8-45ba320af921", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "ec8b5908-4b03-434b-92b0-0f4c97ed61cc", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "352", + "x-ms-region": "West US 2", + "X-Request-ID": "ec8b5908-4b03-434b-92b0-0f4c97ed61cc" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json index 30a71e0e39701..fa9f7bdad0102 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.createLogAnalyticsDataFeed[1].json @@ -1,65 +1,181 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "dd571707-d2b8-49b5-93a6-736c8f21a3b6", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "777", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b9784777-a2e0-49f8-9ade-77848960616c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureLogAnalytics", + "dataFeedName": "java_create_data_feed_test_sample17e062f7-0785-4656-972d-4bcd6eb266f0", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "clientId": "azClientId", + "clientSecret": "azClientSecret", + "workspaceId": "azWorkspaceId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "02e24c21-2264-4e59-ac39-cd97801eeccd", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ea5ae133-e79c-41fc-bcd5-e5c3ed0bf1cc", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1192", + "x-ms-region": "West US 2", + "X-Request-ID": "02e24c21-2264-4e59-ac39-cd97801eeccd" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "de17722d-35af-497e-88ed-7dbce9f1bb71", - "content-length" : "0", - "x-envoy-upstream-service-time" : "617", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "de17722d-35af-497e-88ed-7dbce9f1bb71", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5510072-8cd4-47c6-be32-04fd46ff5e1d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ea5ae133-e79c-41fc-bcd5-e5c3ed0bf1cc", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "890fe2c1-a3d0-48c6-abd5-f4c0dcca8526", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f9dabb74-0c29-4232-ace1-735fe0564a4f", + "Content-Length": "1397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144", + "x-ms-region": "West US 2", + "X-Request-ID": "f9dabb74-0c29-4232-ace1-735fe0564a4f" + }, + "ResponseBody": { + "dataFeedId": "ea5ae133-e79c-41fc-bcd5-e5c3ed0bf1cc", + "dataFeedName": "java_create_data_feed_test_sample17e062f7-0785-4656-972d-4bcd6eb266f0", + "metrics": [ + { + "metricId": "ae7298cd-5ecb-4e4e-a216-3bf35f46b689", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "9f9d7afc-d8bb-4f8c-a6db-94933c2e86c6", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureLogAnalytics", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "clientId": "azClientId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType", + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "workspaceId": "azWorkspaceId" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5510072-8cd4-47c6-be32-04fd46ff5e1d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d8f4b701-0e0b-4196-be48-a1a4230a796e" - }, - "Response" : { - "x-request-id" : "fa05c4f5-6ef4-4393-8bcd-7d575ee1e613", - "content-length" : "1409", - "x-envoy-upstream-service-time" : "177", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fa05c4f5-6ef4-4393-8bcd-7d575ee1e613", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"d5510072-8cd4-47c6-be32-04fd46ff5e1d\",\"dataFeedName\":\"java_create_data_feed_test_sample7845f761-abaa-4a25-b736-30221430597a\",\"metrics\":[{\"metricId\":\"2c8ca6b5-edcb-4821-a1f1-c7f47781a3d4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0830bd1-e8ab-4a56-a007-e69e37e7dac2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"azClientId\",\"query\":\"where StartTime >=datetime(@StartTime) and EndTime = starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b7947b01-a65d-42cd-82a8-fd2bcada7ea2" - }, - "Response" : { - "x-request-id" : "c84889fc-81a6-426e-939b-4004bf73f796", - "content-length" : "26685", - "x-envoy-upstream-service-time" : "146", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c84889fc-81a6-426e-939b-4004bf73f796", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "50d1fad0-0863-4fd6-a437-b4e39aea50be" - }, - "Response" : { - "x-request-id" : "c970a98c-97a8-49f6-a86e-2f28ee23f50c", - "content-length" : "26322", - "x-envoy-upstream-service-time" : "146", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c970a98c-97a8-49f6-a86e-2f28ee23f50c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7817e53f-08bf-4e6e-8450-f2789ca5e327\",\"dataFeedName\":\"js-test-postgreSqlFeed-163494342171309085\",\"metrics\":[{\"metricId\":\"97ebccf3-35e7-434a-a552-8f369612adb1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d742310d-6703-429a-a542-a78e5caceed4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ae629fe3-81f1-410b-949f-1acd52f6c79f" - }, - "Response" : { - "x-request-id" : "4f6cef12-4f04-4966-9113-3fac7ef67e85", - "content-length" : "26635", - "x-envoy-upstream-service-time" : "178", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4f6cef12-4f04-4966-9113-3fac7ef67e85", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c7cc7c4a-9a99-4a4c-8de4-f4449ba5c679", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "71be1ee1-b4b9-4ac3-8455-37de59868400" - }, - "Response" : { - "x-request-id" : "491bc891-ff08-4b42-93b2-f3a93c870bec", - "content-length" : "0", - "x-envoy-upstream-service-time" : "366", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "491bc891-ff08-4b42-93b2-f3a93c870bec", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d922e19c-7ace-44d7-9ec7-317cf0cc6f55", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:23:47 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e7d0885e-433d-4135-9a2d-c07a98339314", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "0145193b-db87-4454-9db6-5031b3889cf2", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:23:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "378", + "x-ms-region": "West US 2", + "X-Request-ID": "0145193b-db87-4454-9db6-5031b3889cf2" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json index a17cea2b439a2..37c1ab9a86215 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByGranularityType[1].json @@ -1,88 +1,455 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?granularityName=Daily", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d4f8f42c-5d96-4adf-8f48-2be75b318553" - }, - "Response" : { - "x-request-id" : "b4ced3f0-913e-468c-b82e-bb38b96c3e7e", - "content-length" : "26353", - "x-envoy-upstream-service-time" : "152", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b4ced3f0-913e-468c-b82e-bb38b96c3e7e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"000a3b7d-3a7f-4d2c-8316-59f797a6e19c\",\"dataFeedName\":\"java_create_data_feed_test_samplecfc89cb4-1c0b-4d5a-aa0c-5f5537e4bf50\",\"metrics\":[{\"metricId\":\"4edebd72-ee9d-4b06-a084-f569e5f9ef22\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5bebee2d-54c7-46cb-9c93-2c1be6dadec9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d5510072-8cd4-47c6-be32-04fd46ff5e1d\",\"dataFeedName\":\"java_create_data_feed_test_sample7845f761-abaa-4a25-b736-30221430597a\",\"metrics\":[{\"metricId\":\"2c8ca6b5-edcb-4821-a1f1-c7f47781a3d4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0830bd1-e8ab-4a56-a007-e69e37e7dac2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"azClientId\",\"query\":\"where StartTime >=datetime(@StartTime) and EndTime = starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"96373c59-47c5-4a0e-8650-50502bcccc74\",\"dataFeedName\":\"js-test-mySqlFeed-163528892511107837\",\"metrics\":[{\"metricId\":\"e695fde0-4bbf-463e-98f1-10c7851efe54\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d223a971-e44b-4c83-9fd3-f1fb57985100\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6e65f061-1a83-4cf2-b4b5-eaf01b5ca9d2" - }, - "Response" : { - "x-request-id" : "1d99380c-e0f0-4f11-8fa3-0514a9fb7179", - "content-length" : "26591", - "x-envoy-upstream-service-time" : "160", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1d99380c-e0f0-4f11-8fa3-0514a9fb7179", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f591089-5bf3-403f-9ab1-595b10e8e98b" - }, - "Response" : { - "x-request-id" : "72e61f38-4f91-4b74-96d7-0ce4090cc8c6", - "content-length" : "26379", - "x-envoy-upstream-service-time" : "145", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "72e61f38-4f91-4b74-96d7-0ce4090cc8c6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d5949403-740b-48a1-9bf9-623bb89c803d" - }, - "Response" : { - "x-request-id" : "cf37982d-e1cd-4041-a375-82610d96b6f4", - "content-length" : "26596", - "x-envoy-upstream-service-time" : "148", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cf37982d-e1cd-4041-a375-82610d96b6f4", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"af16bd12-0ec4-4e62-aeff-99b38e03ec8a\",\"dataFeedName\":\"js-test-mySqlFeed-163468448802601066\",\"metrics\":[{\"metricId\":\"40e1f592-b85b-4309-ac3f-a0d3fe1cacbd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ffd0f6de-7b2f-430b-9e4d-b85ba70cc54b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?granularityName=Daily", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d12e3aaf-41a1-4f13-9994-895548b2d5ae", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b36fda09-cff9-4545-9e64-789ff3dacc15", + "Content-Length": "9467", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "176", + "x-ms-region": "West US 2", + "X-Request-ID": "b36fda09-cff9-4545-9e64-789ff3dacc15" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "a2e6e630-1894-4236-b8fb-5604b710fd0b", + "dataFeedName": "java_SQL_create_data_feed_test_sample16e1e952-8e01-471e-913e-dad29b03ccf3", + "metrics": [ + { + "metricId": "a1674f0f-64d4-4588-9e33-8a8aaf8d6ed6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ddb52e1e-62b4-4e36-a4dd-1a89fa4a0a9a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:22Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", + "metrics": [ + { + "metricId": "09066a52-03c7-49ee-84d4-3cc99fae6e2d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "41e0dcab-ac58-4120-a5e9-1df4a5164378", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "metrics": [ + { + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:19Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129" + }, + { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + }, + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json index 1e0882a896572..d3986ef5ab5aa 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByName[1].json @@ -1,86 +1,262 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a5bc84ef-5bfa-4b8f-a81a-6365c1202395", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "549", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "cf292e22-0b49-4dbe-b2ba-5fba658c6c89", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "test_filter_by_name", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "98e55df4-fc64-4976-9c54-f8df64acca0d", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/db426d46-c42e-4c1b-908a-fa08717f9b1a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "2162", + "x-ms-region": "West US 2", + "X-Request-ID": "98e55df4-fc64-4976-9c54-f8df64acca0d" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "8fe41f99-db8b-41ae-99f3-137873d85734", - "content-length" : "0", - "x-envoy-upstream-service-time" : "530", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8fe41f99-db8b-41ae-99f3-137873d85734", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2596c482-076f-4f59-bff1-b2f94d50261c" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/db426d46-c42e-4c1b-908a-fa08717f9b1a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "034d3243-9f8b-4c3c-9a7a-38fb8ef43bc4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6c1cbcc0-79c0-4b44-8920-fc988ef30f9b", + "Content-Length": "1171", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "215", + "x-ms-region": "West US 2", + "X-Request-ID": "6c1cbcc0-79c0-4b44-8920-fc988ef30f9b" + }, + "ResponseBody": { + "dataFeedId": "db426d46-c42e-4c1b-908a-fa08717f9b1a", + "dataFeedName": "test_filter_by_name", + "metrics": [ + { + "metricId": "462a3257-8351-4f6a-9f58-0057d6f7928d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8bd5aa7f-ed68-4727-b1e6-6b5099cfabfd", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:26Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2596c482-076f-4f59-bff1-b2f94d50261c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b9e2121e-08af-4aef-b09f-2d57a35b5545" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?dataFeedName=test_filter_by_name", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "44ad776b-c6c6-4b7f-93f0-3bbe350495a5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ce423e4f-cb7f-412a-9e31-61a8be14ec7b", + "Content-Length": "1183", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "200", + "x-ms-region": "West US 2", + "X-Request-ID": "ce423e4f-cb7f-412a-9e31-61a8be14ec7b" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "db426d46-c42e-4c1b-908a-fa08717f9b1a", + "dataFeedName": "test_filter_by_name", + "metrics": [ + { + "metricId": "462a3257-8351-4f6a-9f58-0057d6f7928d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8bd5aa7f-ed68-4727-b1e6-6b5099cfabfd", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:26Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } + ] + } }, - "Response" : { - "x-request-id" : "1aa30f55-ab5c-450a-b858-ef0278e113ac", - "content-length" : "1183", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1aa30f55-ab5c-450a-b858-ef0278e113ac", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"2596c482-076f-4f59-bff1-b2f94d50261c\",\"dataFeedName\":\"test_filter_by_name\",\"metrics\":[{\"metricId\":\"6fdc7991-c5f8-4a39-aafe-98fd8adc2db7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57bf0170-42d5-4757-9037-6965db339e03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataFeedName=test_filter_by_name", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "103fec38-ed57-4743-8846-6cc8e0cd6f90" - }, - "Response" : { - "x-request-id" : "2ddb6646-479a-405c-a73c-d1643ab38ce5", - "content-length" : "1195", - "x-envoy-upstream-service-time" : "135", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2ddb6646-479a-405c-a73c-d1643ab38ce5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"2596c482-076f-4f59-bff1-b2f94d50261c\",\"dataFeedName\":\"test_filter_by_name\",\"metrics\":[{\"metricId\":\"6fdc7991-c5f8-4a39-aafe-98fd8adc2db7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57bf0170-42d5-4757-9037-6965db339e03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2596c482-076f-4f59-bff1-b2f94d50261c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ea83bfb7-3d54-41d4-b7a3-4b4132fc03ab" - }, - "Response" : { - "x-request-id" : "808a8363-2489-4aa7-8995-f6df51bf01a9", - "content-length" : "0", - "x-envoy-upstream-service-time" : "313", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "808a8363-2489-4aa7-8995-f6df51bf01a9", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:36 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/db426d46-c42e-4c1b-908a-fa08717f9b1a", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b3d661c9-f409-447e-9eb0-16d9f58ca493", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "ab3a1cf2-95b0-484e-88e9-a350bcb1e1c8", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "507", + "x-ms-region": "West US 2", + "X-Request-ID": "ab3a1cf2-95b0-484e-88e9-a350bcb1e1c8" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json index 1ec805ec92978..9796ba0e53bae 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterBySourceType[1].json @@ -1,46 +1,103 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc2c711f-dd59-4211-a9b0-bb8a641578b9" - }, - "Response" : { - "x-request-id" : "80fbab34-f64f-432a-bcba-ff67360d6a77", - "content-length" : "25430", - "x-envoy-upstream-service-time" : "258", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "80fbab34-f64f-432a-bcba-ff67360d6a77", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d949c2e3-bdfa-4ab7-b5f5-a939597f0fd2\",\"dataFeedName\":\"java_create_data_feed_test_sampled79a169e-89c5-4276-8e3c-a836b8c0e333\",\"metrics\":[{\"metricId\":\"07307139-bdff-4622-be27-15282751d186\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cb1c89ec-760e-42e1-82e4-fed7625e853b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b4951e5-622b-4f64-bff6-aa28608744b5\",\"dataFeedName\":\"js-test-datafeed-163459779906404628\",\"metrics\":[{\"metricId\":\"3b5f2a14-0b40-4a2b-94f8-fa09487b6566\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6892c2cc-df10-4782-86cd-f0b737a90b59\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1ff9f815-b7a6-431f-b9d7-7b380b17c07c\",\"dataFeedName\":\"js-test-datafeed-163433850942003674\",\"metrics\":[{\"metricId\":\"d35647ba-9195-4bef-a82a-0a83632e3fee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"da721189-044b-4ece-b207-d3d67d944324\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2564a746-3a1a-4bf0-baf6-ff3cc5ef2405\",\"dataFeedName\":\"js-test-datafeed-163425217090405817\",\"metrics\":[{\"metricId\":\"e49059de-d500-4e69-bd95-a8c98e86a683\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d73509b-d163-4071-aefb-3e3dfb35b7c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2a522881-7e71-46d9-afc7-472f71e2ae8e\",\"dataFeedName\":\"js-test-datafeed-163416596428205551\",\"metrics\":[{\"metricId\":\"34e7bea6-b3fd-482d-acfa-b576ca5c0231\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1a19e374-73be-45dd-822c-b58b29bc34a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c6317e5d-16a8-42e9-a739-0661ccd75ad6\",\"dataFeedName\":\"js-test-datafeed-163407956949509349\",\"metrics\":[{\"metricId\":\"cbd134ca-8b1e-4855-9040-cf326970b962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c4da88e1-f6c7-488a-a22e-7769dfc9817b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10b23d8b-b57b-4267-8fb0-d473f8fb26e0\",\"dataFeedName\":\"js-test-datafeed-163399280662702022\",\"metrics\":[{\"metricId\":\"0f7718af-a533-479d-b3f7-40e6d5302518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51aa6d7b-ee67-42d1-922f-1a7f32dafe79\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0098e19-fb7b-4f83-9f5b-2dc70e570a1a\",\"dataFeedName\":\"js-test-datafeed-163373361110606230\",\"metrics\":[{\"metricId\":\"1f2e7703-e01a-422d-83e6-ead72c6615af\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d2b084a6-2b53-45e8-adec-a6e1042b09c8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"541077f7-88a6-456c-a045-436b98b94cb7\",\"dataFeedName\":\"js-test-datafeed-163364745750607661\",\"metrics\":[{\"metricId\":\"51ed5f1f-51d7-464b-a202-5916b9fb86b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4c77f7bc-d715-4116-9b7f-1ac73817dc12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc6b708b-3d9d-430f-99b4-161381de23cd\",\"dataFeedName\":\"js-test-datafeed-163356099797006468\",\"metrics\":[{\"metricId\":\"5e76e6f8-edac-46cc-aa9d-b004dcaba541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8bd0cfb9-d401-46db-b3b1-04f75ad1189a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aef058a-41c7-4c21-a00c-fea5d0ee87f6\",\"dataFeedName\":\"js-test-datafeed-163347460219303676\",\"metrics\":[{\"metricId\":\"62d7889c-3099-4ce1-9ec0-947f9e60ddf7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0016e5d6-32df-462d-8a3e-c8c4dc0fa8a3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0c551480-0d15-4bdb-ba79-d078329f5394\",\"dataFeedName\":\"js-test-datafeed-163338814690006682\",\"metrics\":[{\"metricId\":\"01e0f623-f0a9-4030-bfc8-6b52f1032627\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcb6922b-90b8-4d80-9eb2-dca78e1be941\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "375d580e-f977-4caf-89cc-3fa54113f823" - }, - "Response" : { - "x-request-id" : "7a90570c-aa08-4625-a054-0b0db755abb9", - "content-length" : "5071", - "x-envoy-upstream-service-time" : "248", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7a90570c-aa08-4625-a054-0b0db755abb9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"7b77757c-1546-45d5-9a37-0ba95facb95b\",\"dataFeedName\":\"js-test-datafeed-163312892993208131\",\"metrics\":[{\"metricId\":\"d8252794-3eeb-43e4-ac50-9b4567a99311\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a685909-95cc-4595-b4a0-382fd58668c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"63c04d85-7072-4f34-810a-5ed860dd24fd\",\"dataFeedName\":\"js-test-datafeed-163304256469802463\",\"metrics\":[{\"metricId\":\"0ccea564-c2d7-41c2-aec4-2b38d6991de5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8e05096b-b467-464e-815a-23af545bccc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6fede4c4-36a0-447d-a840-b649eb01e123\",\"dataFeedName\":\"js-test-datafeed-163295624935408576\",\"metrics\":[{\"metricId\":\"b99375f7-96e5-4c65-8ff9-27b6d38507f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7c3cc93f-a278-4fff-b48f-16a38bb5f89f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac974c50-7b2c-4b02-85c1-2b6623babfbb\",\"dataFeedName\":\"js-test-datafeed-163286993752003310\",\"metrics\":[{\"metricId\":\"818c34ba-50ff-4593-97d0-b42899214e53\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cec93fe-e922-4b3b-8672-d72a89d7511b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c281d013-300b-47e8-a463-8a13f7653c08", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bc4f4346-0f07-4da8-b062-b1fe3438594b", + "Content-Length": "1486", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "135", + "x-ms-region": "West US 2", + "X-Request-ID": "bc4f4346-0f07-4da8-b062-b1fe3438594b" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json index 9267fc45977eb..e81391c77955c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedFilterByStatus[1].json @@ -1,25 +1,103 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?status=Active", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2c2cc157-4bd9-44b1-b378-87fa401988f2" - }, - "Response" : { - "x-request-id" : "ba13dbf6-f49c-4ff6-b3ad-40d2b3505155", - "content-length" : "8975", - "x-envoy-upstream-service-time" : "133", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ba13dbf6-f49c-4ff6-b3ad-40d2b3505155", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"df57e5da-e858-4e24-9864-d62052a5613f\",\"dataFeedName\":\"java_data_feed_for_detectiona829987e-77e4-495a-bb62-80f9f393c21f\",\"metrics\":[{\"metricId\":\"9d0311c7-4aa1-4858-9375-6801d8551844\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57a4f51b-2792-41cd-a304-d97de0f33de8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"64f7b0f6-6d7d-4088-87f8-22010d8049e4\",\"dataFeedName\":\"java_create_data_feed_test_sample179e04ff-0b37-4173-ab9f-f95e354c5125\",\"metrics\":[{\"metricId\":\"be29953f-884d-486a-a867-a5f50bbf2bbb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"34775200-6923-4987-9ef4-aef0eebe5586\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"be44f11a-8d4a-4a51-b869-4f7e12d22058\"},{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"b52b46ff-69ea-429c-8412-44bc131a8d95\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2ea524f2-bbd0-40c6-8af0-bfbd8e2d16ec\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163312892993200053\",\"metrics\":[{\"metricId\":\"950e1d27-4917-4482-8eea-e1993d89a26f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bbc3972-ff3b-475a-a80f-f081f3dda0f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-10-01T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-10-01T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42f91f0-5377-43ca-87d0-bb96c178ab78\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163304256469800636\",\"metrics\":[{\"metricId\":\"8c0b0be2-e8a1-48e7-97e2-65e4cdeec0fa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"472d0b78-8b0c-44de-8834-de88073d809e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-30T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"685e01d9-2d5f-4ac5-bbe5-dc239962d800\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163295624935403683\",\"metrics\":[{\"metricId\":\"ee44f79c-8f95-4428-abe9-87c289de81c6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5ab43009-b279-4234-84b9-a0633d1e915e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-29T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?status=Active", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8db7e968-e919-40b6-b548-d1109d5e0b0d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e80028a0-6eeb-4373-a311-4fd41eb22cf7", + "Content-Length": "1486", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "139", + "x-ms-region": "West US 2", + "X-Request-ID": "e80028a0-6eeb-4373-a311-4fd41eb22cf7" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json index 67c09ba77e898..1830721759177 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeedTop3[1].json @@ -1,88 +1,520 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6769deb8-92e4-4994-9aae-d93259b7b616" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "943fef6c-bfc6-4e65-85b3-12b3dc2d451b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d09c745a-89f6-4ee2-8b37-c6b501f63305", + "Content-Length": "3844", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "123", + "x-ms-region": "West US 2", + "X-Request-ID": "d09c745a-89f6-4ee2-8b37-c6b501f63305" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "d7001b7e-a566-42bc-b906-8015ed5ae58f", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", + "metrics": [ + { + "metricId": "691b1e00-c454-4231-beee-c1951323c1c5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "c30f5bf2-b789-4869-b9ad-c648c0b20313", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + }, + { + "dataFeedId": "0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", + "metrics": [ + { + "metricId": "09066a52-03c7-49ee-84d4-3cc99fae6e2d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "41e0dcab-ac58-4120-a5e9-1df4a5164378", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5438398f-8a6c-449e-9b11-3b41594b8d60", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", + "metrics": [ + { + "metricId": "188e2746-02ca-44f4-b7f4-95575e4c7739", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b862d804-971d-4d0b-a904-a93fe98d0106", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:20Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=3" + } }, - "Response" : { - "x-request-id" : "83c4c289-b92e-4903-94e6-1494cce8b7d8", - "content-length" : "3864", - "x-envoy-upstream-service-time" : "164", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "83c4c289-b92e-4903-94e6-1494cce8b7d8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"000a3b7d-3a7f-4d2c-8316-59f797a6e19c\",\"dataFeedName\":\"java_create_data_feed_test_samplecfc89cb4-1c0b-4d5a-aa0c-5f5537e4bf50\",\"metrics\":[{\"metricId\":\"4edebd72-ee9d-4b06-a084-f569e5f9ef22\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5bebee2d-54c7-46cb-9c93-2c1be6dadec9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"831cc58a-2eac-4218-8f4c-d8802dd77268\",\"dataFeedName\":\"java_SQL_create_data_feed_test_sample9ada3e4e-1cbf-4ff9-8821-227bdc30767f\",\"metrics\":[{\"metricId\":\"00476d2a-042b-4984-9b98-474d36f450f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4a35fbfc-6584-47a8-b0be-662becb68cc9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=3\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "df85e307-6c23-407e-be5c-f12519e84029", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0514329f-7e56-48e1-9fdd-ca9cfe939bf7", + "Content-Length": "4204", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "123", + "x-ms-region": "West US 2", + "X-Request-ID": "0514329f-7e56-48e1-9fdd-ca9cfe939bf7" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7d7a33ee-159b-42fa-81c3-49706a1cbba4" - }, - "Response" : { - "x-request-id" : "83fd99da-8c30-42b5-a434-a82b49afeb94", - "content-length" : "4066", - "x-envoy-upstream-service-time" : "142", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "83fd99da-8c30-42b5-a434-a82b49afeb94", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=6\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "03b612ab-0e29-47cf-9bd3-e99349707b65" - }, - "Response" : { - "x-request-id" : "abd23aae-f94a-478b-9fe7-e437aedaffce", - "content-length" : "4030", - "x-envoy-upstream-service-time" : "147", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "abd23aae-f94a-478b-9fe7-e437aedaffce", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=9\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0fd3e1db-b5a8-4817-ae9a-9b1c37560856" - }, - "Response" : { - "x-request-id" : "4dec1d68-486a-4c8c-be4a-be38f4453a43", - "content-length" : "3981", - "x-envoy-upstream-service-time" : "143", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4dec1d68-486a-4c8c-be4a-be38f4453a43", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=12\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c44b3737-f654-4047-bfba-9de5f096a9fa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3233134f-d46e-4613-a888-9063156b7739", + "Content-Length": "1554", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "154", + "x-ms-region": "West US 2", + "X-Request-ID": "3233134f-d46e-4613-a888-9063156b7739" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json index 1e1c46e795209..1bb200c81dbd2 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.testListDataFeed[1].json @@ -1,147 +1,656 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ade823d2-8b15-4000-9166-c9456ac03992", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "483", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ad369c6b-032d-437c-85cc-99449cfd3103", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost" + }, + { + "metricName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region" + }, + { + "dimensionName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "a0234351-7e58-4b5f-aa6d-608d700157b4", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1298", + "x-ms-region": "West US 2", + "X-Request-ID": "a0234351-7e58-4b5f-aa6d-608d700157b4" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "edb6d3f5-be84-402b-8c30-8205f95872a8", - "content-length" : "0", - "x-envoy-upstream-service-time" : "459", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "edb6d3f5-be84-402b-8c30-8205f95872a8", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/563ef427-fc26-41df-8ce3-a0573d1b928b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9ba0d44e-4faf-4c38-920e-372dd87166b8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "14a6d222-2b46-4040-8325-c640d1fd9d43", + "Content-Length": "1228", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "132", + "x-ms-region": "West US 2", + "X-Request-ID": "14a6d222-2b46-4040-8325-c640d1fd9d43" + }, + "ResponseBody": { + "dataFeedId": "0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", + "metrics": [ + { + "metricId": "09066a52-03c7-49ee-84d4-3cc99fae6e2d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "41e0dcab-ac58-4120-a5e9-1df4a5164378", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/563ef427-fc26-41df-8ce3-a0573d1b928b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4e66b091-296a-4abf-a0db-306db8c1a2a6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "480", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d3dfae32-5ea1-42df-9786-2cd49b464f06", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_SQL_create_data_feed_test_sample16e1e952-8e01-471e-913e-dad29b03ccf3", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost" + }, + { + "metricName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region" + }, + { + "dimensionName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "68c9434a-e7b2-4792-b6f1-8aa9092bc19a", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a2e6e630-1894-4236-b8fb-5604b710fd0b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "847", + "x-ms-region": "West US 2", + "X-Request-ID": "68c9434a-e7b2-4792-b6f1-8aa9092bc19a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "43dcac41-9191-4c04-8730-477645e7af9a", - "content-length" : "1240", - "x-envoy-upstream-service-time" : "159", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "43dcac41-9191-4c04-8730-477645e7af9a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"563ef427-fc26-41df-8ce3-a0573d1b928b\",\"dataFeedName\":\"java_BLOB_create_data_feed_test_sample86f7cc27-7051-496e-9e18-db375e702895\",\"metrics\":[{\"metricId\":\"efe5cf04-40f6-467a-aeab-74ec91126962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"345471af-06d0-4ace-93e2-b08d9316938a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"BLOB_CONTAINER\",\"blobTemplate\":\"BLOB_TEMPLATE_NAME\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a2e6e630-1894-4236-b8fb-5604b710fd0b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0ea99c2c-f94c-41c4-9b31-10505a0ef862", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6e47156e-7c19-4b47-aa8b-cfb947b4f21f", + "Content-Length": "1225", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "186", + "x-ms-region": "West US 2", + "X-Request-ID": "6e47156e-7c19-4b47-aa8b-cfb947b4f21f" + }, + "ResponseBody": { + "dataFeedId": "a2e6e630-1894-4236-b8fb-5604b710fd0b", + "dataFeedName": "java_SQL_create_data_feed_test_sample16e1e952-8e01-471e-913e-dad29b03ccf3", + "metrics": [ + { + "metricId": "a1674f0f-64d4-4588-9e33-8a8aaf8d6ed6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ddb52e1e-62b4-4e36-a4dd-1a89fa4a0a9a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:22Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac43ba19-392a-4462-85b9-3856d4606d2c", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?dataFeedName=java_\u0026granularityName=Daily", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6df9fad7-ef95-4f95-92e2-0db605dd2217", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d1beda3b-3b81-4997-a35f-cd59ffaf14e8", + "Content-Length": "6441", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "204", + "x-ms-region": "West US 2", + "X-Request-ID": "d1beda3b-3b81-4997-a35f-cd59ffaf14e8" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "54d2f127-3b8d-4ae1-824a-86dc56034b75", + "dataFeedName": "java_create_data_feed_test_sample61382665-934b-4f9e-8de4-4a278627e7a1", + "metrics": [ + { + "metricId": "587234b2-f5ef-4775-b67b-ef8228f9ec17", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "6d98ed84-3abf-43e0-bb08-dd4212aea816", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:23Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "a2e6e630-1894-4236-b8fb-5604b710fd0b", + "dataFeedName": "java_SQL_create_data_feed_test_sample16e1e952-8e01-471e-913e-dad29b03ccf3", + "metrics": [ + { + "metricId": "a1674f0f-64d4-4588-9e33-8a8aaf8d6ed6", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "ddb52e1e-62b4-4e36-a4dd-1a89fa4a0a9a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:22Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", + "metrics": [ + { + "metricId": "09066a52-03c7-49ee-84d4-3cc99fae6e2d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "41e0dcab-ac58-4120-a5e9-1df4a5164378", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "metrics": [ + { + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:19Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129" + }, + { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552" + } + ] + } }, - "Response" : { - "x-request-id" : "8397aad3-23f6-4cf1-a5e9-bc6fbe7136e7", - "content-length" : "0", - "x-envoy-upstream-service-time" : "479", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8397aad3-23f6-4cf1-a5e9-bc6fbe7136e7", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/99636862-b122-4fab-916f-bd70afa6c2fd" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ccc711d8-d862-496d-b901-0d4fa1cd582e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "ae1c66fc-069f-4c3c-966f-328ebdaa356f", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1038", + "x-ms-region": "West US 2", + "X-Request-ID": "ae1c66fc-069f-4c3c-966f-328ebdaa356f" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/99636862-b122-4fab-916f-bd70afa6c2fd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "085b6b03-4263-4c19-941d-e4249008713d" - }, - "Response" : { - "x-request-id" : "ac24fc5e-5622-4f5d-90bb-c5399c6e12e9", - "content-length" : "1237", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ac24fc5e-5622-4f5d-90bb-c5399c6e12e9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"99636862-b122-4fab-916f-bd70afa6c2fd\",\"dataFeedName\":\"java_SQL_create_data_feed_test_sample4350659d-5476-449b-b9fd-f1359df6a66a\",\"metrics\":[{\"metricId\":\"9d8e3504-b63b-47a4-9604-28c2f4276267\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"dee5290b-ed71-468d-994b-13019287cdaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataFeedName=java_&granularityName=Daily", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f4238af-a9c3-4fdf-b3a6-2887fc9f6237" - }, - "Response" : { - "x-request-id" : "ea2df758-8398-4ba3-9c4c-43cb1a52533a", - "content-length" : "6426", - "x-envoy-upstream-service-time" : "131", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ea2df758-8398-4ba3-9c4c-43cb1a52533a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"99636862-b122-4fab-916f-bd70afa6c2fd\",\"dataFeedName\":\"java_SQL_create_data_feed_test_sample4350659d-5476-449b-b9fd-f1359df6a66a\",\"metrics\":[{\"metricId\":\"9d8e3504-b63b-47a4-9604-28c2f4276267\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"dee5290b-ed71-468d-994b-13019287cdaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c06cf2f8-fb4d-4efa-8091-d3c1e6c64305\",\"dataFeedName\":\"java_create_data_feed_test_sample2539eb87-3aaf-4847-b2ff-57509d087344\",\"metrics\":[{\"metricId\":\"ca01457c-354f-4bfe-92cf-61513da008ea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"81c42ad8-bd61-4a47-85d9-6a154e591d78\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"563ef427-fc26-41df-8ce3-a0573d1b928b\",\"dataFeedName\":\"java_BLOB_create_data_feed_test_sample86f7cc27-7051-496e-9e18-db375e702895\",\"metrics\":[{\"metricId\":\"efe5cf04-40f6-467a-aeab-74ec91126962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"345471af-06d0-4ace-93e2-b08d9316938a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"BLOB_CONTAINER\",\"blobTemplate\":\"BLOB_TEMPLATE_NAME\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0e1df88-6cce-4f5e-9b89-4532d6e081a5\",\"dataFeedName\":\"java_create_data_feed_test_sample6c219e4d-9272-410c-bfa6-067e4180bc70\",\"metrics\":[{\"metricId\":\"9a805e98-5ab4-4212-971b-4a464c5e04f1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6fc696ec-6c76-4ccc-9bd9-9d6940550dc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"a8af3e4f-54e4-4ae7-845a-2e0ab30027e1\"},{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"c603d450-e526-42ba-b924-3144f1a84988\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/563ef427-fc26-41df-8ce3-a0573d1b928b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "80b3114d-ccec-4878-9cc7-45f35e3bc322" - }, - "Response" : { - "x-request-id" : "012013de-4069-4ca4-a456-9df6df827add", - "content-length" : "0", - "x-envoy-upstream-service-time" : "297", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "012013de-4069-4ca4-a456-9df6df827add", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/99636862-b122-4fab-916f-bd70afa6c2fd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "59e28dad-8d31-4ab8-b2b7-d2e58a70fef6" - }, - "Response" : { - "x-request-id" : "6395f991-eb98-4159-8b61-f7e001a6ed6f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "311", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6395f991-eb98-4159-8b61-f7e001a6ed6f", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/a2e6e630-1894-4236-b8fb-5604b710fd0b", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e33ba077-cf44-4632-955a-5a85cbe2aca3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "bd6d1e46-946f-40f8-a5ea-32b957648b8e", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "708", + "x-ms-region": "West US 2", + "X-Request-ID": "bd6d1e46-946f-40f8-a5ea-32b957648b8e" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json index 0e965e95f7c4a..8fdf1ecf292fe 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedAsyncClientTest.updateDataFeedHappyPath[1].json @@ -1,108 +1,366 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "94f78617-017d-4322-9c05-d80fa33f489d", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "599", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ac027661-5b57-4d55-b476-8a87164f600e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample22aa860d-bd81-4174-97b9-6c38993f13c2", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "75e8824b-b13b-405c-b5d1-7e8ce45d297a", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1671", + "x-ms-region": "West US 2", + "X-Request-ID": "75e8824b-b13b-405c-b5d1-7e8ce45d297a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "58ad3ceb-128a-4f3f-bb96-3bd506269d9c", - "content-length" : "0", - "x-envoy-upstream-service-time" : "546", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "58ad3ceb-128a-4f3f-bb96-3bd506269d9c", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/000a3b7d-3a7f-4d2c-8316-59f797a6e19c" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "efbe353a-66d9-46be-9dd9-23bc91403920", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "63df310d-893f-42fd-8d25-0e1e1ae50255", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "151", + "x-ms-region": "West US 2", + "X-Request-ID": "63df310d-893f-42fd-8d25-0e1e1ae50255" + }, + "ResponseBody": { + "dataFeedId": "9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "dataFeedName": "java_create_data_feed_test_sample22aa860d-bd81-4174-97b9-6c38993f13c2", + "metrics": [ + { + "metricId": "f50fc9c5-0ab3-4dd6-bbc3-7bb577d43c77", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "cdc81dad-f564-4fbc-a03d-bc83aed7c9fa", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:28Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/000a3b7d-3a7f-4d2c-8316-59f797a6e19c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5fbbb1c9-604f-4e26-aeac-e4a86d83075f" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "576", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c0326a0f-38ac-4d94-a617-d84bcc49a034", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "test_updated_dataFeed_name", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "Basic", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8fb47455-c8b4-4e0b-a059-378a2ca2afce", + "Content-Length": "1178", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "851", + "x-ms-region": "West US 2", + "X-Request-ID": "8fb47455-c8b4-4e0b-a059-378a2ca2afce" + }, + "ResponseBody": { + "dataFeedId": "9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "dataFeedName": "test_updated_dataFeed_name", + "metrics": [ + { + "metricId": "f50fc9c5-0ab3-4dd6-bbc3-7bb577d43c77", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "cdc81dad-f564-4fbc-a03d-bc83aed7c9fa", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:28Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Response" : { - "x-request-id" : "991ffdbe-fb67-41a0-95d7-548af2f90ca1", - "content-length" : "1233", - "x-envoy-upstream-service-time" : "180", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "991ffdbe-fb67-41a0-95d7-548af2f90ca1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"000a3b7d-3a7f-4d2c-8316-59f797a6e19c\",\"dataFeedName\":\"java_create_data_feed_test_samplecfc89cb4-1c0b-4d5a-aa0c-5f5537e4bf50\",\"metrics\":[{\"metricId\":\"4edebd72-ee9d-4b06-a084-f569e5f9ef22\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5bebee2d-54c7-46cb-9c93-2c1be6dadec9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2ea05326-8d70-4382-8ade-42ae05c54864", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "987b77d1-b972-4aa9-aad2-2ac8e58aa587", + "Content-Length": "1178", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "211", + "x-ms-region": "West US 2", + "X-Request-ID": "987b77d1-b972-4aa9-aad2-2ac8e58aa587" + }, + "ResponseBody": { + "dataFeedId": "9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "dataFeedName": "test_updated_dataFeed_name", + "metrics": [ + { + "metricId": "f50fc9c5-0ab3-4dd6-bbc3-7bb577d43c77", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "cdc81dad-f564-4fbc-a03d-bc83aed7c9fa", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:28Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/000a3b7d-3a7f-4d2c-8316-59f797a6e19c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3751e38b-ea07-4927-8130-0b651a778dd1", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "92fb70c9-7911-4014-8127-7ab1c7a7092d", - "content-length" : "1190", - "x-envoy-upstream-service-time" : "618", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "92fb70c9-7911-4014-8127-7ab1c7a7092d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"000a3b7d-3a7f-4d2c-8316-59f797a6e19c\",\"dataFeedName\":\"test_updated_dataFeed_name\",\"metrics\":[{\"metricId\":\"4edebd72-ee9d-4b06-a084-f569e5f9ef22\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5bebee2d-54c7-46cb-9c93-2c1be6dadec9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/000a3b7d-3a7f-4d2c-8316-59f797a6e19c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "15523d3a-d879-4b80-a723-c1ba74703701" - }, - "Response" : { - "x-request-id" : "0e87843a-5be8-448b-883e-46740eeba703", - "content-length" : "1190", - "x-envoy-upstream-service-time" : "179", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0e87843a-5be8-448b-883e-46740eeba703", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"000a3b7d-3a7f-4d2c-8316-59f797a6e19c\",\"dataFeedName\":\"test_updated_dataFeed_name\",\"metrics\":[{\"metricId\":\"4edebd72-ee9d-4b06-a084-f569e5f9ef22\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5bebee2d-54c7-46cb-9c93-2c1be6dadec9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/000a3b7d-3a7f-4d2c-8316-59f797a6e19c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "783a8f35-91a3-431f-92cf-fc85780f7830" - }, - "Response" : { - "x-request-id" : "56c8f138-332e-4b15-a6b2-52cc5caefb4d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "322", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "56c8f138-332e-4b15-a6b2-52cc5caefb4d", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4c76ed05-ee32-4a8b-bf26-9996c91a2011", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "b2ad14ba-4649-4ccb-8e0f-3f41971fe970", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "784", + "x-ms-region": "West US 2", + "X-Request-ID": "b2ad14ba-4649-4ccb-8e0f-3f41971fe970" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json index 5ad2facf97af7..1d8a7b2790fc1 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAppInsightsDataFeed[1].json @@ -1,65 +1,178 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e856da78-93f5-4463-b78c-440f1e0ec521", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "882", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "50f1b4f0-a397-4e37-8c21-c470fbbb1b8b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureApplicationInsights", + "dataFeedName": "java_create_data_feed_test_sample9b428b0d-cdaa-4ee2-bfd8-6fe3c26adb00", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "azureCloud": "Azure Global", + "applicationId": "REDACTED", + "apiKey": "REDACTED", + "query": "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime \u002B gran; requests | where timestamp \u003E= starttime and timestamp \u003C endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "f52565ce-4495-4a65-84b4-0ff5a01bf027", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8a90a537-a8dc-43ae-9b36-926743c6844a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1829", + "x-ms-region": "West US 2", + "X-Request-ID": "f52565ce-4495-4a65-84b4-0ff5a01bf027" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "f06ca994-7f6e-40b7-92bc-629c0838e4be", - "content-length" : "0", - "x-envoy-upstream-service-time" : "449", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f06ca994-7f6e-40b7-92bc-629c0838e4be", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3965bfc1-ce1d-4ec8-ac64-701a473ebe3e" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8a90a537-a8dc-43ae-9b36-926743c6844a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f2dd7755-5583-4c54-8673-bf20d2620ae4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6b5cc4d5-2bac-40cd-981e-9ec8463c4a32", + "Content-Length": "1543", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "145", + "x-ms-region": "West US 2", + "X-Request-ID": "6b5cc4d5-2bac-40cd-981e-9ec8463c4a32" + }, + "ResponseBody": { + "dataFeedId": "8a90a537-a8dc-43ae-9b36-926743c6844a", + "dataFeedName": "java_create_data_feed_test_sample9b428b0d-cdaa-4ee2-bfd8-6fe3c26adb00", + "metrics": [ + { + "metricId": "64eb2529-b367-47b5-b700-4f129bfbfd73", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b9e687ec-e532-4da0-90f2-ddb0def3cd3b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureApplicationInsights", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:30Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime \u002B gran; requests | where timestamp \u003E= starttime and timestamp \u003C endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode", + "azureCloud": "Azure Global", + "applicationId": "REDACTED" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3965bfc1-ce1d-4ec8-ac64-701a473ebe3e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "38f5474a-c90a-4774-8d9e-bb21dfcb4de5" - }, - "Response" : { - "x-request-id" : "9a37d7e5-0fcc-4ba9-8c8c-1286caba90a6", - "content-length" : "1560", - "x-envoy-upstream-service-time" : "166", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9a37d7e5-0fcc-4ba9-8c8c-1286caba90a6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3965bfc1-ce1d-4ec8-ac64-701a473ebe3e\",\"dataFeedName\":\"java_create_data_feed_test_sample95eac441-360e-4d79-8014-da205c8b3f78\",\"metrics\":[{\"metricId\":\"362c197b-3319-422b-8ef3-ac934f52adb2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2157b6c9-a339-42f6-82c8-6e34b7ec1a08\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure Global\",\"REDACTED\":\"REDACTED\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3965bfc1-ce1d-4ec8-ac64-701a473ebe3e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5ec8be95-88e1-4820-8b01-7fc35c1bc155" - }, - "Response" : { - "x-request-id" : "0f3fefa8-fcbb-490b-911b-e0cdcdd7f126", - "content-length" : "0", - "x-envoy-upstream-service-time" : "324", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0f3fefa8-fcbb-490b-911b-e0cdcdd7f126", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/8a90a537-a8dc-43ae-9b36-926743c6844a", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c9a23b16-b3ee-4f28-8ff4-e84d9939099f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "a1046011-b175-44f6-b76f-f31f10c052d5", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "480", + "x-ms-region": "West US 2", + "X-Request-ID": "a1046011-b175-44f6-b76f-f31f10c052d5" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json index 5d4969707abf4..443c687c3223c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createAzureTableDataFeed[1].json @@ -1,65 +1,176 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "12b97284-dea4-4a08-8a40-93e54a7d6147", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "597", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5d0c2647-c5f4-4bc2-9b84-9cd9fad57845", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureTable", + "dataFeedName": "java_create_data_feed_test_sample6ef282d6-c66e-4c49-9f6c-2e4a97321c20", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "table": "adsample", + "query": "PartitionKey ge \u0027@StartTime\u0027 and PartitionKey lt \u0027@EndTime\u0027" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "a7a778cd-35f3-49fd-bd03-616b87e8225d", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/231d3d83-cc29-452c-92ff-d99fdd3c3e3e", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1287", + "x-ms-region": "West US 2", + "X-Request-ID": "a7a778cd-35f3-49fd-bd03-616b87e8225d" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "f3743734-cbf0-4c60-b5b4-640fef5896c4", - "content-length" : "0", - "x-envoy-upstream-service-time" : "460", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f3743734-cbf0-4c60-b5b4-640fef5896c4", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a1f95a3-b8a9-42f3-be4d-47570eaf1427" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/231d3d83-cc29-452c-92ff-d99fdd3c3e3e", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c3630026-1765-4b75-92e0-d32b119b34f3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "014dc663-06c8-4ad0-8654-2e6d0b2b9459", + "Content-Length": "1248", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "257", + "x-ms-region": "West US 2", + "X-Request-ID": "014dc663-06c8-4ad0-8654-2e6d0b2b9459" + }, + "ResponseBody": { + "dataFeedId": "231d3d83-cc29-452c-92ff-d99fdd3c3e3e", + "dataFeedName": "java_create_data_feed_test_sample6ef282d6-c66e-4c49-9f6c-2e4a97321c20", + "metrics": [ + { + "metricId": "b688fac4-5102-49e1-a972-81c256482e35", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d4b8360f-7a33-4408-bcca-527687850539", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureTable", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:29Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "PartitionKey ge \u0027@StartTime\u0027 and PartitionKey lt \u0027@EndTime\u0027", + "table": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a1f95a3-b8a9-42f3-be4d-47570eaf1427", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d867d24e-a4e7-44e4-a661-195dda8b37d3" - }, - "Response" : { - "x-request-id" : "365d5fa6-93ca-4a58-bd1f-6ffac380341a", - "content-length" : "1260", - "x-envoy-upstream-service-time" : "161", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "365d5fa6-93ca-4a58-bd1f-6ffac380341a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"4a1f95a3-b8a9-42f3-be4d-47570eaf1427\",\"dataFeedName\":\"java_create_data_feed_test_sample5d049ce6-e34c-42b3-93d9-84b6dc615490\",\"metrics\":[{\"metricId\":\"5fcab1c0-e7e5-42bf-bd86-7013cfef1f6f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63c7e140-2bc2-4bb1-812d-4c99aae88c9b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"PartitionKey ge '@StartTime' and PartitionKey lt '@EndTime'\",\"table\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a1f95a3-b8a9-42f3-be4d-47570eaf1427", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "682da9a0-cb4c-46f5-b881-a5485dc88a76" - }, - "Response" : { - "x-request-id" : "89204c9a-c351-4416-b6bb-dcc454bc318a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "330", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "89204c9a-c351-4416-b6bb-dcc454bc318a", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/231d3d83-cc29-452c-92ff-d99fdd3c3e3e", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3a95f3e0-08f0-49bb-8283-d29be3c5ffc3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "33369509-bca8-4454-8aba-35f7ecda6cab", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "562", + "x-ms-region": "West US 2", + "X-Request-ID": "33369509-bca8-4454-8aba-35f7ecda6cab" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json index 23e8f24f64da5..18cfa9d98455a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createBlobDataFeed[1].json @@ -1,65 +1,177 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f7d0eeb5-1bbc-4218-be98-1b6e587e805a", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "606", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "81c73ba1-3248-4e2c-bed6-50e0c7c64bde", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_samplee7dfecc1-c477-4151-9c5a-b1c72568fafe", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "3aa3b424-0fdd-4ff1-ba87-53e2f2f1aa09", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b710136a-e5da-4090-9737-2f892d0cb830", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1362", + "x-ms-region": "West US 2", + "X-Request-ID": "3aa3b424-0fdd-4ff1-ba87-53e2f2f1aa09" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "da32b68e-320d-41e5-8acd-fdfe3576c79a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "452", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "da32b68e-320d-41e5-8acd-fdfe3576c79a", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d949c2e3-bdfa-4ab7-b5f5-a939597f0fd2" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b710136a-e5da-4090-9737-2f892d0cb830", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b128b469-c5d2-48ff-b967-4812c7dcbfed", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "aa4f1c93-183f-4a89-87c2-7947c93ae1d0", + "Content-Length": "1228", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "159", + "x-ms-region": "West US 2", + "X-Request-ID": "aa4f1c93-183f-4a89-87c2-7947c93ae1d0" + }, + "ResponseBody": { + "dataFeedId": "b710136a-e5da-4090-9737-2f892d0cb830", + "dataFeedName": "java_create_data_feed_test_samplee7dfecc1-c477-4151-9c5a-b1c72568fafe", + "metrics": [ + { + "metricId": "8a034a3f-f3be-42dc-9521-cc538bf041a9", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b689bb34-0a75-4d88-8756-f67053e950bf", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:15Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d949c2e3-bdfa-4ab7-b5f5-a939597f0fd2", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8c729cad-2f4f-4f11-95ef-40da3b491e46" - }, - "Response" : { - "x-request-id" : "3e676892-c3e1-498c-ad4d-2bda703f1156", - "content-length" : "1240", - "x-envoy-upstream-service-time" : "189", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3e676892-c3e1-498c-ad4d-2bda703f1156", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"d949c2e3-bdfa-4ab7-b5f5-a939597f0fd2\",\"dataFeedName\":\"java_create_data_feed_test_sampled79a169e-89c5-4276-8e3c-a836b8c0e333\",\"metrics\":[{\"metricId\":\"07307139-bdff-4622-be27-15282751d186\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cb1c89ec-760e-42e1-82e4-fed7625e853b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d949c2e3-bdfa-4ab7-b5f5-a939597f0fd2", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "79d37adb-325c-4c7b-ac46-8fd8edd44312" - }, - "Response" : { - "x-request-id" : "cc4495d5-168d-45d0-8abb-01b87de738a8", - "content-length" : "0", - "x-envoy-upstream-service-time" : "579", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cc4495d5-168d-45d0-8abb-01b87de738a8", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b710136a-e5da-4090-9737-2f892d0cb830", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "eb98875e-280c-4419-85e3-5a1ff3b1efc2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "35db92b3-527c-4f64-8b78-a25bc8f076f3", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "244", + "x-ms-region": "West US 2", + "X-Request-ID": "35db92b3-527c-4f64-8b78-a25bc8f076f3" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json index 1e98dfe174980..6a0a5729b8334 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createCosmosDataFeed[1].json @@ -1,65 +1,178 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f3afe9c-2d8c-45ca-996f-6900c5262c82", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "625", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "63ef833c-0fdf-405d-8888-5bbebec5480b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureCosmosDB", + "dataFeedName": "java_create_data_feed_test_sample0916fb9d-6f61-4df7-9243-d33411167edf", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "sqlQuery": "select * from adsample2 where Timestamp = @StartTime", + "database": "adsample", + "collectionId": "adsample" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "4c3047f0-f8f9-4497-872b-dff0215ab4c1", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/95a519de-a624-4ca0-a137-7b6112995783", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1083", + "x-ms-region": "West US 2", + "X-Request-ID": "4c3047f0-f8f9-4497-872b-dff0215ab4c1" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "3eba8bfe-1340-40b1-92e0-252c52aee4fe", - "content-length" : "0", - "x-envoy-upstream-service-time" : "465", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3eba8bfe-1340-40b1-92e0-252c52aee4fe", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7a80c258-feae-448c-b10a-02860d8c9be9" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/95a519de-a624-4ca0-a137-7b6112995783", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2350e92c-f068-423f-b85a-693a8117883d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d573302c-0c49-4190-bb89-8c9472e66493", + "Content-Length": "1276", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "141", + "x-ms-region": "West US 2", + "X-Request-ID": "d573302c-0c49-4190-bb89-8c9472e66493" + }, + "ResponseBody": { + "dataFeedId": "95a519de-a624-4ca0-a137-7b6112995783", + "dataFeedName": "java_create_data_feed_test_sample0916fb9d-6f61-4df7-9243-d33411167edf", + "metrics": [ + { + "metricId": "93b8517f-4e43-4477-96d2-c54d407e620a", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3265685d-b009-4646-8684-4b55393b06dd", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureCosmosDB", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:19Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "database": "adsample", + "sqlQuery": "select * from adsample2 where Timestamp = @StartTime", + "collectionId": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7a80c258-feae-448c-b10a-02860d8c9be9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d42db99e-9b2f-455a-8e20-1489789cf817" - }, - "Response" : { - "x-request-id" : "e03bd7ac-9303-4b19-9b23-5871edf08fca", - "content-length" : "1288", - "x-envoy-upstream-service-time" : "190", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e03bd7ac-9303-4b19-9b23-5871edf08fca", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"7a80c258-feae-448c-b10a-02860d8c9be9\",\"dataFeedName\":\"java_create_data_feed_test_sample5b1a1f12-595a-4d98-87c4-0a28479cd752\",\"metrics\":[{\"metricId\":\"68b79bf7-42e3-4a55-9484-1b8715c092aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"27ca7efe-b91a-4463-8fb5-e41e0012fba6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"adsample\",\"sqlQuery\":\"select * from adsample2 where Timestamp = @StartTime\",\"collectionId\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/7a80c258-feae-448c-b10a-02860d8c9be9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c24b3712-1d45-414e-b621-a3eb2c6f7353" - }, - "Response" : { - "x-request-id" : "65ddac11-a0e2-447c-8410-7104f23b3f5a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "353", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "65ddac11-a0e2-447c-8410-7104f23b3f5a", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/95a519de-a624-4ca0-a137-7b6112995783", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5aadf3c8-0844-4cfc-810e-f10fbcbe9e45", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "0cde5c0e-cd29-4f04-acb7-acbb3472998c", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "486", + "x-ms-region": "West US 2", + "X-Request-ID": "0cde5c0e-cd29-4f04-acb7-acbb3472998c" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json index be6ac2bba00e9..52903401ae56f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedDuplicateMetricName[1].json @@ -1,26 +1,56 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6d731ccc-9473-4eb3-96b6-3b2ab0e3e39d", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "449fa1d3-7313-48f3-93c4-c49bb89e3d6b", - "content-length" : "92", - "x-envoy-upstream-service-time" : "107", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "449fa1d3-7313-48f3-93c4-c49bb89e3d6b", - "retry-after" : "0", - "StatusCode" : "400", - "Body" : "{\"code\":\"ERROR_DUP_NAME\",\"message\":\"The metric name 'cost' is duplicate,please remove one.\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "403", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d8dbd7c1-a85c-436d-97b4-981ececeab13", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample82411933-7ae3-4fa4-8f3b-f71db4cf4610", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost" + }, + { + "metricName": "cost" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "8e2c836f-3a6f-4de4-a84a-795b91646e5f", + "Content-Length": "92", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "137", + "x-ms-region": "West US 2", + "X-Request-ID": "8e2c836f-3a6f-4de4-a84a-795b91646e5f" + }, + "ResponseBody": { + "code": "ERROR_DUP_NAME", + "message": "The metric name \u0027cost\u0027 is duplicate,please remove one." + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedRequiredParams[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedRequiredParams[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedRequiredParams[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataFeedRequiredParams[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json index 3f904c59010be..f90085ade1052 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createDataLakeStorageDataFeed[1].json @@ -1,65 +1,181 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "daca41f8-4350-4067-a2f4-dd5b5f05c92b", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "660", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "036873ce-825c-43a1-8069-f58efa208fcd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sample61382665-934b-4f9e-8de4-4a278627e7a1", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "accountName": "REDACTED", + "accountKey": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "2cf784c3-9133-4b64-8b43-6d30fcec30ed", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/54d2f127-3b8d-4ae1-824a-86dc56034b75", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "856", + "x-ms-region": "West US 2", + "X-Request-ID": "2cf784c3-9133-4b64-8b43-6d30fcec30ed" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "169b692c-a33e-4d36-8ec3-b9aaf54d2c51", - "content-length" : "0", - "x-envoy-upstream-service-time" : "486", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "169b692c-a33e-4d36-8ec3-b9aaf54d2c51", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e57f36b3-303b-44f5-9c36-f33f399171a0" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/54d2f127-3b8d-4ae1-824a-86dc56034b75", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "db6707b5-e290-443e-8389-89c2307778ca", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "47f3d80f-07f5-4ec6-8b09-aa7ece9e21d1", + "Content-Length": "1288", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "178", + "x-ms-region": "West US 2", + "X-Request-ID": "47f3d80f-07f5-4ec6-8b09-aa7ece9e21d1" + }, + "ResponseBody": { + "dataFeedId": "54d2f127-3b8d-4ae1-824a-86dc56034b75", + "dataFeedName": "java_create_data_feed_test_sample61382665-934b-4f9e-8de4-4a278627e7a1", + "metrics": [ + { + "metricId": "587234b2-f5ef-4775-b67b-ef8228f9ec17", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "6d98ed84-3abf-43e0-bb08-dd4212aea816", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:23Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e57f36b3-303b-44f5-9c36-f33f399171a0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "17d5de97-e7a1-4a57-ac50-4141ba2eaafc" - }, - "Response" : { - "x-request-id" : "e9d5499b-028c-4d43-a3e0-6762da0a2f1f", - "content-length" : "1312", - "x-envoy-upstream-service-time" : "159", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e9d5499b-028c-4d43-a3e0-6762da0a2f1f", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"e57f36b3-303b-44f5-9c36-f33f399171a0\",\"dataFeedName\":\"java_create_data_feed_test_samplee42342c6-f114-4cbf-9a29-445d2bdbb49f\",\"metrics\":[{\"metricId\":\"e6472dae-edda-400a-8366-b99bf71e7134\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cc59953c-e5e5-495b-bcd4-902e3d179428\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e57f36b3-303b-44f5-9c36-f33f399171a0", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0ddab947-c1de-4c33-9bdf-3b5336c2c413" - }, - "Response" : { - "x-request-id" : "e24e0857-38d4-419b-9b79-56770c813d73", - "content-length" : "0", - "x-envoy-upstream-service-time" : "304", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e24e0857-38d4-419b-9b79-56770c813d73", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/54d2f127-3b8d-4ae1-824a-86dc56034b75", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "50af7e11-a521-491a-9208-5ae2a9ce4c54", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "969722f2-9434-4674-a764-4c7b2f7b4c67", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "842", + "x-ms-region": "West US 2", + "X-Request-ID": "969722f2-9434-4674-a764-4c7b2f7b4c67" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json index 9861e389871d5..d76fb62b72f8a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createExplorerDataFeed[1].json @@ -1,65 +1,175 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6695c0d6-a897-4317-b9fa-328b44903745", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "703", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "04aee430-5b57-464d-9c95-3c0e6e7ade71", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_samplef5163d0f-a11f-402a-965b-618f27700e6a", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "db839826-3529-4ef8-b786-02b3b913d572", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ea99fab2-bd1c-4ba3-9f84-a630634fb546", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1258", + "x-ms-region": "West US 2", + "X-Request-ID": "db839826-3529-4ef8-b786-02b3b913d572" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "a88d53a1-2aaf-46af-8137-9ff1c7c6c7dc", - "content-length" : "0", - "x-envoy-upstream-service-time" : "451", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a88d53a1-2aaf-46af-8137-9ff1c7c6c7dc", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c06cf2f8-fb4d-4efa-8091-d3c1e6c64305" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ea99fab2-bd1c-4ba3-9f84-a630634fb546", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "302366c8-6ffa-4dde-b856-bad8d49bdd30", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "81ec5948-0b08-4e4c-8c33-3212087189de", + "Content-Length": "1325", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "310", + "x-ms-region": "West US 2", + "X-Request-ID": "81ec5948-0b08-4e4c-8c33-3212087189de" + }, + "ResponseBody": { + "dataFeedId": "ea99fab2-bd1c-4ba3-9f84-a630634fb546", + "dataFeedName": "java_create_data_feed_test_samplef5163d0f-a11f-402a-965b-618f27700e6a", + "metrics": [ + { + "metricId": "53a6ecf7-c308-4e9f-9fa7-dcc6d4bb3d94", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "98821587-fd2b-41ca-aecc-96ada5caef74", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:29Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c06cf2f8-fb4d-4efa-8091-d3c1e6c64305", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7d743869-6a53-4dbe-9144-c5e5f306c7f8" - }, - "Response" : { - "x-request-id" : "66b270a7-3c77-45e3-b62a-be60a10c6389", - "content-length" : "1337", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "66b270a7-3c77-45e3-b62a-be60a10c6389", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"c06cf2f8-fb4d-4efa-8091-d3c1e6c64305\",\"dataFeedName\":\"java_create_data_feed_test_sample2539eb87-3aaf-4847-b2ff-57509d087344\",\"metrics\":[{\"metricId\":\"ca01457c-354f-4bfe-92cf-61513da008ea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"81c42ad8-bd61-4a47-85d9-6a154e591d78\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c06cf2f8-fb4d-4efa-8091-d3c1e6c64305", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4ec5e9d8-ceae-443c-a5cc-f3696c642ebf" - }, - "Response" : { - "x-request-id" : "9df002e4-669f-4f5f-af46-e32505cb623a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "305", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9df002e4-669f-4f5f-af46-e32505cb623a", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ea99fab2-bd1c-4ba3-9f84-a630634fb546", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "23e32bc9-99d2-4b53-a30d-75ec6397bce0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "b3bdafc3-fb27-431c-92af-5160e811785a", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "484", + "x-ms-region": "West US 2", + "X-Request-ID": "b3bdafc3-fb27-431c-92af-5160e811785a" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json index 9ed1c12769fb8..e8254367ed26b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createInfluxDataFeed[1].json @@ -1,65 +1,180 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c571545f-4040-467b-a938-ed17ae6891b8", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "635", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "77628da0-10ac-4970-9dc0-b432c9d8dd7b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "InfluxDB", + "dataFeedName": "java_create_data_feed_test_sample786701d5-248d-4ab8-8afd-8abee94a2290", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "dataSourceParameter": { + "connectionString": "REDACTED", + "database": "adsample", + "userName": "REDACTED", + "password": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "3fe6e071-09c7-4a7b-b16a-c7d9221e1d22", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2beed8dc-7bd8-428d-aa70-863834f314b3", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "726", + "x-ms-region": "West US 2", + "X-Request-ID": "3fe6e071-09c7-4a7b-b16a-c7d9221e1d22" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0e9c9d97-32f2-4fe3-bfcf-689e370a08ab", - "content-length" : "0", - "x-envoy-upstream-service-time" : "527", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0e9c9d97-32f2-4fe3-bfcf-689e370a08ab", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e1cda9ed-cc64-4689-96c9-86972e1ddfdf" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2beed8dc-7bd8-428d-aa70-863834f314b3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "be01d9ec-b586-4cf7-947a-599d02111621", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b08c88b7-d0a6-4cc8-992c-53c25e553011", + "Content-Length": "1294", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "135", + "x-ms-region": "West US 2", + "X-Request-ID": "b08c88b7-d0a6-4cc8-992c-53c25e553011" + }, + "ResponseBody": { + "dataFeedId": "2beed8dc-7bd8-428d-aa70-863834f314b3", + "dataFeedName": "java_create_data_feed_test_sample786701d5-248d-4ab8-8afd-8abee94a2290", + "metrics": [ + { + "metricId": "01ce3951-c1e3-4260-9fbc-e880b84db860", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "4852184b-087c-465b-8906-5af6044ff0cf", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "InfluxDB", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:17Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "connectionString": "REDACTED", + "database": "adsample", + "query": "select * from adsample2 where Timestamp = @StartTime", + "userName": "REDACTED" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e1cda9ed-cc64-4689-96c9-86972e1ddfdf", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "653570f6-a076-417e-919b-dd15922550df" - }, - "Response" : { - "x-request-id" : "7e826fb5-e16a-4fd4-92f9-7cee863b1c44", - "content-length" : "1354", - "x-envoy-upstream-service-time" : "179", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7e826fb5-e16a-4fd4-92f9-7cee863b1c44", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"e1cda9ed-cc64-4689-96c9-86972e1ddfdf\",\"dataFeedName\":\"java_create_data_feed_test_sample9bcbf2d4-6b1b-42c4-8ab7-2ca1c563360e\",\"metrics\":[{\"metricId\":\"92964ea7-f122-4cc4-b474-12d8288bbe08\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1748dfdd-a1ae-40f9-9581-99ff626a1ce9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"adsample\",\"query\":\"select * from adsample2 where Timestamp = @StartTime\",\"userName\":\"REDACTED\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/e1cda9ed-cc64-4689-96c9-86972e1ddfdf", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "db584278-0f78-4ced-ae72-8c4bb95c5bef" - }, - "Response" : { - "x-request-id" : "dba42aa7-6997-4353-978c-e4082b0ae248", - "content-length" : "0", - "x-envoy-upstream-service-time" : "338", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "dba42aa7-6997-4353-978c-e4082b0ae248", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/2beed8dc-7bd8-428d-aa70-863834f314b3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "be82ca47-2025-4c41-8006-fe28a62426d3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "d763fba6-7996-44cb-a594-e05b4c5dc361", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "302", + "x-ms-region": "West US 2", + "X-Request-ID": "d763fba6-7996-44cb-a594-e05b4c5dc361" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json index 4d9313e33ff48..c181e03b6b5cc 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.createLogAnalyticsDataFeed[1].json @@ -1,65 +1,181 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "56f22eea-a2da-4b90-b492-95b31f70489d", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "777", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "bcfea5bf-ef60-497d-9eab-5b2c4f429899", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureLogAnalytics", + "dataFeedName": "java_create_data_feed_test_sample92ea7ca9-750f-436b-b75f-d25b1905cc32", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "clientId": "azClientId", + "clientSecret": "azClientSecret", + "workspaceId": "azWorkspaceId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "171d6706-1745-4047-8d75-4718617247ed", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d2b62817-ec37-4f26-9690-a7d1189e15e5", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1473", + "x-ms-region": "West US 2", + "X-Request-ID": "171d6706-1745-4047-8d75-4718617247ed" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "fe2b0a8b-2bbf-4049-8bf5-11162fab4e81", - "content-length" : "0", - "x-envoy-upstream-service-time" : "468", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fe2b0a8b-2bbf-4049-8bf5-11162fab4e81", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2cd5377f-23b2-43f8-bfaf-cc9d1aec5201" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d2b62817-ec37-4f26-9690-a7d1189e15e5", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c398566e-baee-450f-b327-2acedaac5679", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "58f9074c-d848-4d74-ae0c-7ee45ca36216", + "Content-Length": "1397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "158", + "x-ms-region": "West US 2", + "X-Request-ID": "58f9074c-d848-4d74-ae0c-7ee45ca36216" + }, + "ResponseBody": { + "dataFeedId": "d2b62817-ec37-4f26-9690-a7d1189e15e5", + "dataFeedName": "java_create_data_feed_test_sample92ea7ca9-750f-436b-b75f-d25b1905cc32", + "metrics": [ + { + "metricId": "2b264b33-e8b1-4380-9628-813041b87371", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d31779a5-b369-4afd-80a5-e81385e4b9bf", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureLogAnalytics", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:28Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "clientId": "azClientId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType", + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "workspaceId": "azWorkspaceId" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2cd5377f-23b2-43f8-bfaf-cc9d1aec5201", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "560c8f44-630a-4692-962e-41159f555f83" - }, - "Response" : { - "x-request-id" : "b1189681-e92a-453d-81a9-7cc057ba274f", - "content-length" : "1409", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b1189681-e92a-453d-81a9-7cc057ba274f", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"2cd5377f-23b2-43f8-bfaf-cc9d1aec5201\",\"dataFeedName\":\"java_create_data_feed_test_sample0d1a85b7-04ce-43ef-9d40-977c8f8d695a\",\"metrics\":[{\"metricId\":\"da57bcb0-61fb-4fb8-a2da-167f965f5c95\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5088b045-63a1-4a30-877a-28d95b96f303\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"azClientId\",\"query\":\"where StartTime >=datetime(@StartTime) and EndTime = StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"0b9d3a46-9932-4002-b0cb-ca88e0a49076\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"008d2ec9-b73f-47ab-9770-23346455f8dd\",\"dataFeedName\":\"js-test-cosmosFeed-163537526935709631\",\"metrics\":[{\"metricId\":\"e632a17f-2b62-4f5f-9833-87d88c1339be\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7d158177-ab19-430c-aa7b-f8f2a3779478\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5b81a32c-e538-4b67-8edc-a28f1d7ba182\",\"dataFeedName\":\"js-test-sqlServerFeed-163537526935703123\",\"metrics\":[{\"metricId\":\"538b8c02-95fc-4026-bb51-62812c74e1ad\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"80c6ccd3-c463-445b-ba55-7e996bb8dcf5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"897224a1-bfc6-4f03-a0a4-904c0db5c867\",\"dataFeedName\":\"js-test-appInsightsFeed-163537526935702186\",\"metrics\":[{\"metricId\":\"ec989805-ca20-44af-82a5-5b8ce3a7a2d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"247e1e48-c766-43a8-b13b-3abe53a6a68a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "68461991-7411-4b59-8c95-3ed583504198" - }, - "Response" : { - "x-request-id" : "30c793a6-004d-4f01-a9bf-531ad0be9efe", - "content-length" : "26685", - "x-envoy-upstream-service-time" : "152", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "30c793a6-004d-4f01-a9bf-531ad0be9efe", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac773e99-1e39-4dea-a14c-d0a1b693ae2b" - }, - "Response" : { - "x-request-id" : "83ef7932-ba6c-48a4-9359-b1d6551c7da0", - "content-length" : "26322", - "x-envoy-upstream-service-time" : "150", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "83ef7932-ba6c-48a4-9359-b1d6551c7da0", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7817e53f-08bf-4e6e-8450-f2789ca5e327\",\"dataFeedName\":\"js-test-postgreSqlFeed-163494342171309085\",\"metrics\":[{\"metricId\":\"97ebccf3-35e7-434a-a552-8f369612adb1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d742310d-6703-429a-a542-a78e5caceed4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "be923937-4a22-4010-bf5d-11c4b0ce70d4" - }, - "Response" : { - "x-request-id" : "6c06d67f-6c5a-4b19-83f8-2f07d4341ab3", - "content-length" : "26635", - "x-envoy-upstream-service-time" : "152", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6c06d67f-6c5a-4b19-83f8-2f07d4341ab3", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f0bc651-e10b-4a74-b381-b1fcc31ae47e" - }, - "Response" : { - "x-request-id" : "a8732121-2f13-447d-a911-edecca31d80e", - "content-length" : "26592", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a8732121-2f13-447d-a911-edecca31d80e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"af16bd12-0ec4-4e62-aeff-99b38e03ec8a\",\"dataFeedName\":\"js-test-mySqlFeed-163468448802601066\",\"metrics\":[{\"metricId\":\"40e1f592-b85b-4309-ac3f-a0d3fe1cacbd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ffd0f6de-7b2f-430b-9e4d-b85ba70cc54b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aac795d-0745-4d05-85b7-ffb486b7f8ae\",\"dataFeedName\":\"js-test-mongoDbFeed-163468448802601042\",\"metrics\":[{\"metricId\":\"0b4111a0-561d-4c1d-b9f0-b80458623d06\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea779e95-e0f8-4a00-97f0-1712cb1f3019\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"774d2afe-fda1-4208-a2cf-30317b5af032\",\"dataFeedName\":\"js-test-influxdbFeed-163468448802607054\",\"metrics\":[{\"metricId\":\"6f29e7be-eba2-45cd-abe2-1a7ea4db22e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5a635a49-9f87-401a-9625-d52fbc9ca45c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76cd8887-9334-4333-99b9-a792b67ec57b\",\"dataFeedName\":\"js-test-tableFeed-163468448802605019\",\"metrics\":[{\"metricId\":\"7fa989ee-c0f2-477c-b5bb-8ea40922ee0c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5f6d969c-51b4-4f33-bb67-5e0d78d96576\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"775b4672-762a-4296-a50a-4cdd844d8b02\",\"dataFeedName\":\"js-test-dataExplorerFeed-163468448802602614\",\"metrics\":[{\"metricId\":\"fd746dc8-551d-4f67-873d-dcc07537f79c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a77693c7-ba9a-4f13-b0a7-5b0f92a30241\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"45fa00ce-b033-4974-8520-8cf9dc68080f\",\"dataFeedName\":\"js-test-cosmosFeed-163468448802607184\",\"metrics\":[{\"metricId\":\"338962e7-54c5-403e-9d70-e175b8f93a7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3b555692-31dc-4527-8521-8b1f3c28b488\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05727945-a10a-437b-8c0b-12950119fb40\",\"dataFeedName\":\"js-test-sqlServerFeed-163468448802605163\",\"metrics\":[{\"metricId\":\"7fff1e5b-3d98-4c13-a107-f080e3ccf83b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"950011ac-4b9b-4238-8d79-5f52696d7365\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c93f1ab6-4531-41ce-a6e0-7872ca4b8a5d\",\"dataFeedName\":\"js-test-appInsightsFeed-163468448802604264\",\"metrics\":[{\"metricId\":\"11d13fb1-4564-47a8-854d-a587da8e5a9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"73f2bcca-144c-4312-82de-7f75b3aa439a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"789b90ec-9f56-4992-9c70-4b4585642f9a\",\"dataFeedName\":\"js-test-postgreSqlFeed-163459779906401227\",\"metrics\":[{\"metricId\":\"d3786551-2245-499a-83b5-e708b28cf934\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cf4dc7b-70e9-4722-9014-cfe8df958c7e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3297ae23-246f-4e3f-a599-aba18f365f81\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163459779906409787\",\"metrics\":[{\"metricId\":\"014e11b4-9fff-46bc-b54a-884cb9887cd1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d4fe1e4e-0557-4dc0-a3ab-6cd7f1ba2bca\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f106684-b7f6-49c0-859b-20304bc8d269\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163459779906400426\",\"metrics\":[{\"metricId\":\"0863c7ed-c965-432f-b5d7-7a45ed9a3876\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b66b23b1-f26d-45b3-acd4-84649ebd223b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"394b4f8b-7f2b-4658-a84d-4ff68cbd028c\",\"dataFeedName\":\"js-test-mySqlFeed-163459779906407512\",\"metrics\":[{\"metricId\":\"4f1e304f-7709-4b8b-8cf1-1fee7ce53dbc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84c02d90-39ce-42ae-b946-4d6d12de1db1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"50fabb20-d1e7-48f2-b882-48bb6840df2b\",\"dataFeedName\":\"js-test-mongoDbFeed-163459779906407287\",\"metrics\":[{\"metricId\":\"5cae238d-8846-4825-817d-e9d446758061\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c45838c0-fa6d-4fc9-8970-8807850ced82\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"00b86552-a4a1-4bdb-96f7-edac0ff17d20\",\"dataFeedName\":\"js-test-influxdbFeed-163459779906408053\",\"metrics\":[{\"metricId\":\"f6490f92-a1fc-4310-8955-2612147b397e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ab0a55ed-2cff-4ccd-8d02-4a62f764cc62\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b3e8c03-146e-4a96-9b96-33f4c025d862\",\"dataFeedName\":\"js-test-tableFeed-163459779906409818\",\"metrics\":[{\"metricId\":\"21afd45d-80cf-4532-b82b-786378e20e81\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c83eacb3-d19d-49d2-9ea5-9b58f9a81e40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f386f533-d457-4389-b73c-5ef9dd397562\",\"dataFeedName\":\"js-test-cosmosFeed-163459779906402351\",\"metrics\":[{\"metricId\":\"72c514f6-a1d2-467f-82bb-92594894e90d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a7e6ea1-d106-4373-a514-d6a5e7d3e135\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10010b05-82fe-4ebd-b634-f70ffaf80a00\",\"dataFeedName\":\"js-test-dataExplorerFeed-163459779906409880\",\"metrics\":[{\"metricId\":\"80f405c0-0ffa-463b-9988-ed69d2d5f0de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5143d701-1386-498f-8266-ede6df193b1c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"09b106a2-4185-4811-9e73-4624774d710f\",\"dataFeedName\":\"js-test-sqlServerFeed-163459779906409917\",\"metrics\":[{\"metricId\":\"48b0e726-a29b-4fed-9d05-a46c1a7e3343\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0d1f92d5-552f-4bce-a5d8-adad5ce164a9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7782cc33-bb9a-4cfc-ba00-48348a22d0e4\",\"dataFeedName\":\"js-test-appInsightsFeed-163459779906406741\",\"metrics\":[{\"metricId\":\"35a57c39-2068-4bbb-900a-38a4741b6a27\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a10526c1-4cec-4fa2-969a-3a52afbf39af\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?creator=savaity%40microsoft.com&$maxpagesize=20&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d5ff5341-c7c7-499c-8a75-5d197d6b5537", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9373d82e-0e1b-418b-b766-e9c73ecc68df" - }, - "Response" : { - "x-request-id" : "605d7de2-eff9-40bb-a729-9bcebdd5210d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "324", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "605d7de2-eff9-40bb-a729-9bcebdd5210d", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/7e673d3a-056f-4764-a311-03eb196021fa", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:26:44 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a303b79c-a546-4786-b8cc-e4a2756e3fbc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "a774e2de-7491-4a49-a5bd-cb3d7ec5ff10", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:26:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "390", + "x-ms-region": "West US 2", + "X-Request-ID": "a774e2de-7491-4a49-a5bd-cb3d7ec5ff10" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json index f98c312d3e33d..4c960e8259d04 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByGranularityType[1].json @@ -1,109 +1,400 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?granularityName=Daily", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "81828971-5047-4790-bbb0-297937910322" - }, - "Response" : { - "x-request-id" : "8467d9dd-50dc-4c4d-ba6f-3a98b8280c81", - "content-length" : "26109", - "x-envoy-upstream-service-time" : "157", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8467d9dd-50dc-4c4d-ba6f-3a98b8280c81", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"563ef427-fc26-41df-8ce3-a0573d1b928b\",\"dataFeedName\":\"java_BLOB_create_data_feed_test_sample86f7cc27-7051-496e-9e18-db375e702895\",\"metrics\":[{\"metricId\":\"efe5cf04-40f6-467a-aeab-74ec91126962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"345471af-06d0-4ace-93e2-b08d9316938a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"BLOB_CONTAINER\",\"blobTemplate\":\"BLOB_TEMPLATE_NAME\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b109beda-d37a-45a1-9637-5535bb2d364f\",\"dataFeedName\":\"java_create_data_feed_test_sample5c2ec2a6-4470-4c2c-9926-e78285fb990c\",\"metrics\":[{\"metricId\":\"dfb9e2ca-8b1b-46e7-94ba-c083b3aa3017\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84acdd93-1192-42a7-b463-3599dad27363\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4dd96148-fc46-4c4c-804e-d84d6f4c029d\",\"dataFeedName\":\"java_create_data_feed_test_sample862b3644-6b81-4170-830a-3e6421489f8b\",\"metrics\":[{\"metricId\":\"a4c46a4a-0613-4d45-a0d2-0e1514d80265\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9308310f-4add-4d17-bcd7-05dd132e6a95\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0e1df88-6cce-4f5e-9b89-4532d6e081a5\",\"dataFeedName\":\"java_create_data_feed_test_sample6c219e4d-9272-410c-bfa6-067e4180bc70\",\"metrics\":[{\"metricId\":\"9a805e98-5ab4-4212-971b-4a464c5e04f1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6fc696ec-6c76-4ccc-9bd9-9d6940550dc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"AzureSQLConnectionString\",\"credentialId\":\"1ab2e9d6-e583-4a03-8590-16f079982558\"},{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"c603d450-e526-42ba-b924-3144f1a84988\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"008d2ec9-b73f-47ab-9770-23346455f8dd\",\"dataFeedName\":\"js-test-cosmosFeed-163537526935709631\",\"metrics\":[{\"metricId\":\"e632a17f-2b62-4f5f-9833-87d88c1339be\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7d158177-ab19-430c-aa7b-f8f2a3779478\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5b81a32c-e538-4b67-8edc-a28f1d7ba182\",\"dataFeedName\":\"js-test-sqlServerFeed-163537526935703123\",\"metrics\":[{\"metricId\":\"538b8c02-95fc-4026-bb51-62812c74e1ad\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"80c6ccd3-c463-445b-ba55-7e996bb8dcf5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"897224a1-bfc6-4f03-a0a4-904c0db5c867\",\"dataFeedName\":\"js-test-appInsightsFeed-163537526935702186\",\"metrics\":[{\"metricId\":\"ec989805-ca20-44af-82a5-5b8ce3a7a2d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"247e1e48-c766-43a8-b13b-3abe53a6a68a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f4391064-0f7b-4e0e-9ad7-141663d2ae39" - }, - "Response" : { - "x-request-id" : "b0570fb4-781b-49f0-acd0-7107fe9074b2", - "content-length" : "26340", - "x-envoy-upstream-service-time" : "155", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b0570fb4-781b-49f0-acd0-7107fe9074b2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"96373c59-47c5-4a0e-8650-50502bcccc74\",\"dataFeedName\":\"js-test-mySqlFeed-163528892511107837\",\"metrics\":[{\"metricId\":\"e695fde0-4bbf-463e-98f1-10c7851efe54\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d223a971-e44b-4c83-9fd3-f1fb57985100\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "76ed0c67-97d3-4b47-a9a1-44bc07f730d0" - }, - "Response" : { - "x-request-id" : "ff345e03-87f8-4ca9-90d3-691c534bb8fa", - "content-length" : "26650", - "x-envoy-upstream-service-time" : "146", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ff345e03-87f8-4ca9-90d3-691c534bb8fa", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7817e53f-08bf-4e6e-8450-f2789ca5e327\",\"dataFeedName\":\"js-test-postgreSqlFeed-163494342171309085\",\"metrics\":[{\"metricId\":\"97ebccf3-35e7-434a-a552-8f369612adb1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d742310d-6703-429a-a542-a78e5caceed4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e1dcb1db-b4e2-4d60-9e90-04404e8d726d" - }, - "Response" : { - "x-request-id" : "63b7729e-4d79-4476-b553-b49fcd79d9e8", - "content-length" : "26528", - "x-envoy-upstream-service-time" : "164", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "63b7729e-4d79-4476-b553-b49fcd79d9e8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "833c901a-94ce-4314-afac-bdc0ed447791" - }, - "Response" : { - "x-request-id" : "d67f39bd-ee58-4b3e-a815-756184284f8c", - "content-length" : "26341", - "x-envoy-upstream-service-time" : "156", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d67f39bd-ee58-4b3e-a815-756184284f8c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"af16bd12-0ec4-4e62-aeff-99b38e03ec8a\",\"dataFeedName\":\"js-test-mySqlFeed-163468448802601066\",\"metrics\":[{\"metricId\":\"40e1f592-b85b-4309-ac3f-a0d3fe1cacbd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ffd0f6de-7b2f-430b-9e4d-b85ba70cc54b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aac795d-0745-4d05-85b7-ffb486b7f8ae\",\"dataFeedName\":\"js-test-mongoDbFeed-163468448802601042\",\"metrics\":[{\"metricId\":\"0b4111a0-561d-4c1d-b9f0-b80458623d06\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea779e95-e0f8-4a00-97f0-1712cb1f3019\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"774d2afe-fda1-4208-a2cf-30317b5af032\",\"dataFeedName\":\"js-test-influxdbFeed-163468448802607054\",\"metrics\":[{\"metricId\":\"6f29e7be-eba2-45cd-abe2-1a7ea4db22e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5a635a49-9f87-401a-9625-d52fbc9ca45c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76cd8887-9334-4333-99b9-a792b67ec57b\",\"dataFeedName\":\"js-test-tableFeed-163468448802605019\",\"metrics\":[{\"metricId\":\"7fa989ee-c0f2-477c-b5bb-8ea40922ee0c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5f6d969c-51b4-4f33-bb67-5e0d78d96576\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"775b4672-762a-4296-a50a-4cdd844d8b02\",\"dataFeedName\":\"js-test-dataExplorerFeed-163468448802602614\",\"metrics\":[{\"metricId\":\"fd746dc8-551d-4f67-873d-dcc07537f79c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a77693c7-ba9a-4f13-b0a7-5b0f92a30241\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"45fa00ce-b033-4974-8520-8cf9dc68080f\",\"dataFeedName\":\"js-test-cosmosFeed-163468448802607184\",\"metrics\":[{\"metricId\":\"338962e7-54c5-403e-9d70-e175b8f93a7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3b555692-31dc-4527-8521-8b1f3c28b488\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05727945-a10a-437b-8c0b-12950119fb40\",\"dataFeedName\":\"js-test-sqlServerFeed-163468448802605163\",\"metrics\":[{\"metricId\":\"7fff1e5b-3d98-4c13-a107-f080e3ccf83b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"950011ac-4b9b-4238-8d79-5f52696d7365\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c93f1ab6-4531-41ce-a6e0-7872ca4b8a5d\",\"dataFeedName\":\"js-test-appInsightsFeed-163468448802604264\",\"metrics\":[{\"metricId\":\"11d13fb1-4564-47a8-854d-a587da8e5a9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"73f2bcca-144c-4312-82de-7f75b3aa439a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"789b90ec-9f56-4992-9c70-4b4585642f9a\",\"dataFeedName\":\"js-test-postgreSqlFeed-163459779906401227\",\"metrics\":[{\"metricId\":\"d3786551-2245-499a-83b5-e708b28cf934\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cf4dc7b-70e9-4722-9014-cfe8df958c7e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3297ae23-246f-4e3f-a599-aba18f365f81\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163459779906409787\",\"metrics\":[{\"metricId\":\"014e11b4-9fff-46bc-b54a-884cb9887cd1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d4fe1e4e-0557-4dc0-a3ab-6cd7f1ba2bca\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f106684-b7f6-49c0-859b-20304bc8d269\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163459779906400426\",\"metrics\":[{\"metricId\":\"0863c7ed-c965-432f-b5d7-7a45ed9a3876\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b66b23b1-f26d-45b3-acd4-84649ebd223b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"394b4f8b-7f2b-4658-a84d-4ff68cbd028c\",\"dataFeedName\":\"js-test-mySqlFeed-163459779906407512\",\"metrics\":[{\"metricId\":\"4f1e304f-7709-4b8b-8cf1-1fee7ce53dbc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84c02d90-39ce-42ae-b946-4d6d12de1db1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"50fabb20-d1e7-48f2-b882-48bb6840df2b\",\"dataFeedName\":\"js-test-mongoDbFeed-163459779906407287\",\"metrics\":[{\"metricId\":\"5cae238d-8846-4825-817d-e9d446758061\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c45838c0-fa6d-4fc9-8970-8807850ced82\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"00b86552-a4a1-4bdb-96f7-edac0ff17d20\",\"dataFeedName\":\"js-test-influxdbFeed-163459779906408053\",\"metrics\":[{\"metricId\":\"f6490f92-a1fc-4310-8955-2612147b397e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ab0a55ed-2cff-4ccd-8d02-4a62f764cc62\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b3e8c03-146e-4a96-9b96-33f4c025d862\",\"dataFeedName\":\"js-test-tableFeed-163459779906409818\",\"metrics\":[{\"metricId\":\"21afd45d-80cf-4532-b82b-786378e20e81\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c83eacb3-d19d-49d2-9ea5-9b58f9a81e40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f386f533-d457-4389-b73c-5ef9dd397562\",\"dataFeedName\":\"js-test-cosmosFeed-163459779906402351\",\"metrics\":[{\"metricId\":\"72c514f6-a1d2-467f-82bb-92594894e90d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a7e6ea1-d106-4373-a514-d6a5e7d3e135\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10010b05-82fe-4ebd-b634-f70ffaf80a00\",\"dataFeedName\":\"js-test-dataExplorerFeed-163459779906409880\",\"metrics\":[{\"metricId\":\"80f405c0-0ffa-463b-9988-ed69d2d5f0de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5143d701-1386-498f-8266-ede6df193b1c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"09b106a2-4185-4811-9e73-4624774d710f\",\"dataFeedName\":\"js-test-sqlServerFeed-163459779906409917\",\"metrics\":[{\"metricId\":\"48b0e726-a29b-4fed-9d05-a46c1a7e3343\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0d1f92d5-552f-4bce-a5d8-adad5ce164a9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?granularityName=Daily&$maxpagesize=20&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?granularityName=Daily", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f6076afd-67ce-44c9-bc16-f073d0d1673b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cdee484b-30fe-4ac1-ba37-8fdf33cc4194", + "Content-Length": "8241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "166", + "x-ms-region": "West US 2", + "X-Request-ID": "cdee484b-30fe-4ac1-ba37-8fdf33cc4194" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "d2b62817-ec37-4f26-9690-a7d1189e15e5", + "dataFeedName": "java_create_data_feed_test_sample92ea7ca9-750f-436b-b75f-d25b1905cc32", + "metrics": [ + { + "metricId": "2b264b33-e8b1-4380-9628-813041b87371", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d31779a5-b369-4afd-80a5-e81385e4b9bf", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureLogAnalytics", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:28Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "clientId": "azClientId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType", + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "workspaceId": "azWorkspaceId" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "dataFeedName": "java_create_data_feed_test_sample22aa860d-bd81-4174-97b9-6c38993f13c2", + "metrics": [ + { + "metricId": "f50fc9c5-0ab3-4dd6-bbc3-7bb577d43c77", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "cdc81dad-f564-4fbc-a03d-bc83aed7c9fa", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:28Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "metrics": [ + { + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:24Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + }, + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json index 1e4934e12ad59..122e5789f1b8e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterBySourceType[1].json @@ -1,46 +1,274 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "39d17ce6-f8e5-4062-ac3f-22efab64f4b9" - }, - "Response" : { - "x-request-id" : "50abb703-04d0-48fe-98ab-dc16fbbebdbc", - "content-length" : "25454", - "x-envoy-upstream-service-time" : "160", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "50abb703-04d0-48fe-98ab-dc16fbbebdbc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b4951e5-622b-4f64-bff6-aa28608744b5\",\"dataFeedName\":\"js-test-datafeed-163459779906404628\",\"metrics\":[{\"metricId\":\"3b5f2a14-0b40-4a2b-94f8-fa09487b6566\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6892c2cc-df10-4782-86cd-f0b737a90b59\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1ff9f815-b7a6-431f-b9d7-7b380b17c07c\",\"dataFeedName\":\"js-test-datafeed-163433850942003674\",\"metrics\":[{\"metricId\":\"d35647ba-9195-4bef-a82a-0a83632e3fee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"da721189-044b-4ece-b207-d3d67d944324\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2564a746-3a1a-4bf0-baf6-ff3cc5ef2405\",\"dataFeedName\":\"js-test-datafeed-163425217090405817\",\"metrics\":[{\"metricId\":\"e49059de-d500-4e69-bd95-a8c98e86a683\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d73509b-d163-4071-aefb-3e3dfb35b7c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2a522881-7e71-46d9-afc7-472f71e2ae8e\",\"dataFeedName\":\"js-test-datafeed-163416596428205551\",\"metrics\":[{\"metricId\":\"34e7bea6-b3fd-482d-acfa-b576ca5c0231\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1a19e374-73be-45dd-822c-b58b29bc34a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c6317e5d-16a8-42e9-a739-0661ccd75ad6\",\"dataFeedName\":\"js-test-datafeed-163407956949509349\",\"metrics\":[{\"metricId\":\"cbd134ca-8b1e-4855-9040-cf326970b962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c4da88e1-f6c7-488a-a22e-7769dfc9817b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10b23d8b-b57b-4267-8fb0-d473f8fb26e0\",\"dataFeedName\":\"js-test-datafeed-163399280662702022\",\"metrics\":[{\"metricId\":\"0f7718af-a533-479d-b3f7-40e6d5302518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51aa6d7b-ee67-42d1-922f-1a7f32dafe79\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0098e19-fb7b-4f83-9f5b-2dc70e570a1a\",\"dataFeedName\":\"js-test-datafeed-163373361110606230\",\"metrics\":[{\"metricId\":\"1f2e7703-e01a-422d-83e6-ead72c6615af\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d2b084a6-2b53-45e8-adec-a6e1042b09c8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"541077f7-88a6-456c-a045-436b98b94cb7\",\"dataFeedName\":\"js-test-datafeed-163364745750607661\",\"metrics\":[{\"metricId\":\"51ed5f1f-51d7-464b-a202-5916b9fb86b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4c77f7bc-d715-4116-9b7f-1ac73817dc12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc6b708b-3d9d-430f-99b4-161381de23cd\",\"dataFeedName\":\"js-test-datafeed-163356099797006468\",\"metrics\":[{\"metricId\":\"5e76e6f8-edac-46cc-aa9d-b004dcaba541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8bd0cfb9-d401-46db-b3b1-04f75ad1189a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aef058a-41c7-4c21-a00c-fea5d0ee87f6\",\"dataFeedName\":\"js-test-datafeed-163347460219303676\",\"metrics\":[{\"metricId\":\"62d7889c-3099-4ce1-9ec0-947f9e60ddf7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0016e5d6-32df-462d-8a3e-c8c4dc0fa8a3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0c551480-0d15-4bdb-ba79-d078329f5394\",\"dataFeedName\":\"js-test-datafeed-163338814690006682\",\"metrics\":[{\"metricId\":\"01e0f623-f0a9-4030-bfc8-6b52f1032627\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcb6922b-90b8-4d80-9eb2-dca78e1be941\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7b77757c-1546-45d5-9a37-0ba95facb95b\",\"dataFeedName\":\"js-test-datafeed-163312892993208131\",\"metrics\":[{\"metricId\":\"d8252794-3eeb-43e4-ac50-9b4567a99311\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a685909-95cc-4595-b4a0-382fd58668c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob&$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob&$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9754aeec-fbbc-4ff1-af81-146a47f2d106" - }, - "Response" : { - "x-request-id" : "0395da57-3e74-49f2-b06f-e9e7f466e69c", - "content-length" : "3806", - "x-envoy-upstream-service-time" : "154", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0395da57-3e74-49f2-b06f-e9e7f466e69c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"63c04d85-7072-4f34-810a-5ed860dd24fd\",\"dataFeedName\":\"js-test-datafeed-163304256469802463\",\"metrics\":[{\"metricId\":\"0ccea564-c2d7-41c2-aec4-2b38d6991de5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8e05096b-b467-464e-815a-23af545bccc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6fede4c4-36a0-447d-a840-b649eb01e123\",\"dataFeedName\":\"js-test-datafeed-163295624935408576\",\"metrics\":[{\"metricId\":\"b99375f7-96e5-4c65-8ff9-27b6d38507f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7c3cc93f-a278-4fff-b48f-16a38bb5f89f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac974c50-7b2c-4b02-85c1-2b6623babfbb\",\"dataFeedName\":\"js-test-datafeed-163286993752003310\",\"metrics\":[{\"metricId\":\"818c34ba-50ff-4593-97d0-b42899214e53\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cec93fe-e922-4b3b-8672-d72a89d7511b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?dataSourceType=AzureBlob", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "12477645-b747-491d-bcb8-51d625e523d7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "146c392e-81d6-466e-ad34-f066a4e7c3d7", + "Content-Length": "5183", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "115", + "x-ms-region": "West US 2", + "X-Request-ID": "146c392e-81d6-466e-ad34-f066a4e7c3d7" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "0f7e172b-d0f7-4c99-accb-066b5b5a40af", + "dataFeedName": "java_BLOB_create_data_feed_test_sample6b92b342-7a98-4903-b2b7-fdc99d5f6669", + "metrics": [ + { + "metricId": "09066a52-03c7-49ee-84d4-3cc99fae6e2d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "41e0dcab-ac58-4120-a5e9-1df4a5164378", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "d7001b7e-a566-42bc-b906-8015ed5ae58f", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", + "metrics": [ + { + "metricId": "691b1e00-c454-4231-beee-c1951323c1c5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "c30f5bf2-b789-4869-b9ad-c648c0b20313", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5438398f-8a6c-449e-9b11-3b41594b8d60", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", + "metrics": [ + { + "metricId": "188e2746-02ca-44f4-b7f4-95575e4c7739", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b862d804-971d-4d0b-a904-a93fe98d0106", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:20Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json index 4396f80a435bd..c0c6cb07a19c5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedFilterByStatus[1].json @@ -1,25 +1,275 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?status=Active", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c58c4c3f-7a22-4205-aa63-910f58d140e7" - }, - "Response" : { - "x-request-id" : "700281ab-1f54-41ce-a34c-f730777281e8", - "content-length" : "8872", - "x-envoy-upstream-service-time" : "170", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "700281ab-1f54-41ce-a34c-f730777281e8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d89f21ac-3f13-4d3a-a170-8b0e12ae761c\",\"dataFeedName\":\"java_create_data_feed_test_sample9b7af246-541e-40bb-881d-4c918d636a5e\",\"metrics\":[{\"metricId\":\"73366f99-3f35-4419-9dec-027b25ad6362\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"14355e3d-91c8-406a-8948-6650169d7baf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35ce1d3a-511e-479c-ae34-7335bfe442bb\",\"dataFeedName\":\"java_data_feed_for_detectiond6efe5f7-cf0a-4fa4-94b6-5b0df3946a63\",\"metrics\":[{\"metricId\":\"7bd38aee-376e-4257-82c8-1b71cb87c954\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"89edb185-205d-43f5-b760-6723a83befdb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2ea524f2-bbd0-40c6-8af0-bfbd8e2d16ec\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163312892993200053\",\"metrics\":[{\"metricId\":\"950e1d27-4917-4482-8eea-e1993d89a26f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bbc3972-ff3b-475a-a80f-f081f3dda0f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-10-01T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-10-01T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42f91f0-5377-43ca-87d0-bb96c178ab78\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163304256469800636\",\"metrics\":[{\"metricId\":\"8c0b0be2-e8a1-48e7-97e2-65e4cdeec0fa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"472d0b78-8b0c-44de-8834-de88073d809e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-30T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"685e01d9-2d5f-4ac5-bbe5-dc239962d800\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163295624935403683\",\"metrics\":[{\"metricId\":\"ee44f79c-8f95-4428-abe9-87c289de81c6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5ab43009-b279-4234-84b9-a0633d1e915e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-29T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?status=Active", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "301765f7-814e-4657-b38a-cc1be7eaa7d2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8243bf06-bdf7-4e83-8697-4c2d7f989a7b", + "Content-Length": "5274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "136", + "x-ms-region": "West US 2", + "X-Request-ID": "8243bf06-bdf7-4e83-8697-4c2d7f989a7b" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "ec12ba72-24db-4188-89f2-b4da2b5a20cf", + "dataFeedName": "java_data_feed_for_detectionfedbbd10-7872-412c-9be1-7cdf500b1ba0", + "metrics": [ + { + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "41b644ce-0ab3-4d6f-8496-01f631882aad", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:09Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "71983cf3-e968-4ec2-a407-80363cba3647", + "dataFeedName": "java_data_feed_for_detection9c917640-15dc-400d-9d58-5a3b9517ac59", + "metrics": [ + { + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d1f9232d-a523-41ba-9518-438b7ac58713", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:09Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "metrics": [ + { + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "4535072b-7ac3-45bb-a1c8-92a7860773b6" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json index b3c1efa29d64b..f927228c7ffc8 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeedTop3[1].json @@ -1,109 +1,463 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "75cb993f-1870-4d33-b99f-f5300d709b05" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "77eef490-9b5e-44aa-b542-03d49861394b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "65f72955-1d6f-43dc-babf-5735c6da715f", + "Content-Length": "4052", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "157", + "x-ms-region": "West US 2", + "X-Request-ID": "65f72955-1d6f-43dc-babf-5735c6da715f" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "d2b62817-ec37-4f26-9690-a7d1189e15e5", + "dataFeedName": "java_create_data_feed_test_sample92ea7ca9-750f-436b-b75f-d25b1905cc32", + "metrics": [ + { + "metricId": "2b264b33-e8b1-4380-9628-813041b87371", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d31779a5-b369-4afd-80a5-e81385e4b9bf", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureLogAnalytics", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:28Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "clientId": "azClientId", + "query": "where StartTime \u003E=datetime(@StartTime) and EndTime \u003Cdatetime(@EndTime)| summarize count_per_type=count() by DataType", + "tenantId": "f850650c-1fcf-4489-b46f-71af2e30d360", + "workspaceId": "azWorkspaceId" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "9f9954c2-c767-4e22-8f0d-c22f42cef32b", + "dataFeedName": "java_create_data_feed_test_sample22aa860d-bd81-4174-97b9-6c38993f13c2", + "metrics": [ + { + "metricId": "f50fc9c5-0ab3-4dd6-bbc3-7bb577d43c77", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "cdc81dad-f564-4fbc-a03d-bc83aed7c9fa", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:28Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "metrics": [ + { + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:24Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f" + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=3" + } }, - "Response" : { - "x-request-id" : "5bd41e4f-5849-4738-b43d-cc420e1154c1", - "content-length" : "3919", - "x-envoy-upstream-service-time" : "161", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5bd41e4f-5849-4738-b43d-cc420e1154c1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"f733b791-ae71-4c4b-974a-71ddf8d2fb87\",\"dataFeedName\":\"java_create_data_feed_test_sample126316a3-c5f5-498e-b1ab-628bf4da9b14\",\"metrics\":[{\"metricId\":\"3dfab421-c544-4024-8ce8-e28e7a3ba6aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5cf0cd31-58ec-453f-b7df-c656f96b03af\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c8bb473a-0e89-4f63-b1ae-35632f2ddce0\",\"dataFeedName\":\"java_create_data_feed_test_samplef36c926b-8dfb-45d6-accc-d5bced699c78\",\"metrics\":[{\"metricId\":\"b932e910-7f06-423b-8ffa-4b6a780fdec7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51368ea8-2163-4c20-b518-a0b8a2a916d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e57f36b3-303b-44f5-9c36-f33f399171a0\",\"dataFeedName\":\"java_create_data_feed_test_samplee42342c6-f114-4cbf-9a29-445d2bdbb49f\",\"metrics\":[{\"metricId\":\"e6472dae-edda-400a-8366-b99bf71e7134\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cc59953c-e5e5-495b-bcd4-902e3d179428\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=3\"}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "cd495776-f452-475b-ad8f-6d5a0ad0a987", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "72366290-74b7-4f26-bb91-d1b440f9b5bb", + "Content-Length": "4452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "151", + "x-ms-region": "West US 2", + "X-Request-ID": "72366290-74b7-4f26-bb91-d1b440f9b5bb" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + }, + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "392d45c8-73eb-4183-b044-d9194f9d576e" - }, - "Response" : { - "x-request-id" : "b18e1586-6f48-4e2d-bb7b-0d16035a04c1", - "content-length" : "3967", - "x-envoy-upstream-service-time" : "148", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b18e1586-6f48-4e2d-bb7b-0d16035a04c1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=6\"}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fef4700c-1236-47fa-9588-09bd47ad516b" - }, - "Response" : { - "x-request-id" : "082adb31-3927-4bc3-833d-597976aa256b", - "content-length" : "4053", - "x-envoy-upstream-service-time" : "163", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "082adb31-3927-4bc3-833d-597976aa256b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=9\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d1b49f2-c0ab-489a-8753-51ff880d50bc" - }, - "Response" : { - "x-request-id" : "87f14a17-796b-408f-b364-32a52d16a544", - "content-length" : "4031", - "x-envoy-upstream-service-time" : "140", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "87f14a17-796b-408f-b364-32a52d16a544", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=12\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=12", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "02126ada-e7d9-4ef1-9d4f-9c35f4bd93a9" - }, - "Response" : { - "x-request-id" : "56942d66-a981-47ed-80a0-68452d78dc26", - "content-length" : "4000", - "x-envoy-upstream-service-time" : "151", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "56942d66-a981-47ed-80a0-68452d78dc26", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"008d2ec9-b73f-47ab-9770-23346455f8dd\",\"dataFeedName\":\"js-test-cosmosFeed-163537526935709631\",\"metrics\":[{\"metricId\":\"e632a17f-2b62-4f5f-9833-87d88c1339be\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7d158177-ab19-430c-aa7b-f8f2a3779478\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3&$skip=15\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?$maxpagesize=3\u0026$skip=6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a0ded537-50da-414b-a26d-c2b15a42db4b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ed630dc3-b22c-413a-9ec7-88ab24918896", + "Content-Length": "12", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "131", + "x-ms-region": "West US 2", + "X-Request-ID": "ed630dc3-b22c-413a-9ec7-88ab24918896" + }, + "ResponseBody": { + "value": [] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json index 18f9bfc1595f0..e1ce67399c5b7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedClientTest.testListDataFeed[1].json @@ -1,147 +1,483 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5053c91d-6e60-4e64-be63-222ab491edf3", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "483", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f8fca1a4-334f-4ac6-8ba9-df718dc4f728", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_BLOB_create_data_feed_test_sample5569fc5c-3edd-4730-b0e4-10d257d2b5d6", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost" + }, + { + "metricName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region" + }, + { + "dimensionName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "5a291615-e990-4fea-8d7f-4bec432d72e0", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0fd404a5-b9bf-49b5-abb6-e13d42719103", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "2000", + "x-ms-region": "West US 2", + "X-Request-ID": "5a291615-e990-4fea-8d7f-4bec432d72e0" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0115c36c-eafb-4e99-88db-f24bed6eb293", - "content-length" : "0", - "x-envoy-upstream-service-time" : "423", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0115c36c-eafb-4e99-88db-f24bed6eb293", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3ce82421-5f4f-4fad-9917-fd598e3688a4" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0fd404a5-b9bf-49b5-abb6-e13d42719103", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "027c77f8-4fb4-47b3-9f5f-67ab5116cbd8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6291305a-b24a-4e54-8232-0112906ae729", + "Content-Length": "1228", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "155", + "x-ms-region": "West US 2", + "X-Request-ID": "6291305a-b24a-4e54-8232-0112906ae729" + }, + "ResponseBody": { + "dataFeedId": "0fd404a5-b9bf-49b5-abb6-e13d42719103", + "dataFeedName": "java_BLOB_create_data_feed_test_sample5569fc5c-3edd-4730-b0e4-10d257d2b5d6", + "metrics": [ + { + "metricId": "67bfea03-3b96-4135-8f88-b0d8b10d1206", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "e0804703-2626-4e15-ab0f-425ee44ab753", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:31Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3ce82421-5f4f-4fad-9917-fd598e3688a4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "91a309bf-b5af-4e67-a4e3-870339c123f8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "480", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0f25af6f-8869-4b7d-84b9-40bc38241521", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_SQL_create_data_feed_test_sampled51efb00-684f-4ddd-be47-cc3ab7540742", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost" + }, + { + "metricName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region" + }, + { + "dimensionName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "ac2a7d91-9c70-4135-9a79-46aab26be30a", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0ee5b643-efbb-4d52-90ee-b04b4dbd7a31", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "941", + "x-ms-region": "West US 2", + "X-Request-ID": "ac2a7d91-9c70-4135-9a79-46aab26be30a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "a2f94b59-b1e2-4391-9c80-f1d8927ed7c3", - "content-length" : "1240", - "x-envoy-upstream-service-time" : "168", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a2f94b59-b1e2-4391-9c80-f1d8927ed7c3", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3ce82421-5f4f-4fad-9917-fd598e3688a4\",\"dataFeedName\":\"java_BLOB_create_data_feed_test_sampleb3059d62-ec00-44fe-be83-cc7a4784577e\",\"metrics\":[{\"metricId\":\"a3cda76c-b353-4b08-a54e-bc9cbd8b265e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9adc2bf-33bb-4620-87e0-977813ff4ffc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"BLOB_CONTAINER\",\"blobTemplate\":\"BLOB_TEMPLATE_NAME\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0ee5b643-efbb-4d52-90ee-b04b4dbd7a31", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "61880b2b-ee17-4ae0-91c8-880253fe5e95", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a8697119-09fb-43b3-b8fd-fba3e68150f1", + "Content-Length": "1225", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "142", + "x-ms-region": "West US 2", + "X-Request-ID": "a8697119-09fb-43b3-b8fd-fba3e68150f1" + }, + "ResponseBody": { + "dataFeedId": "0ee5b643-efbb-4d52-90ee-b04b4dbd7a31", + "dataFeedName": "java_SQL_create_data_feed_test_sampled51efb00-684f-4ddd-be47-cc3ab7540742", + "metrics": [ + { + "metricId": "a30fbe76-e5c7-4ad9-b5ea-ec06482c4355", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "90c0b7f1-b1a7-4f86-9cea-a0cf1cfacd3c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:32Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "80668589-63a1-4e2a-a1c5-15770b38a8c4", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds?dataFeedName=java_\u0026granularityName=Daily", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fb031452-ffee-4a86-b500-bdd9d5c8483a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7be17387-8496-4d92-aa93-844b0d3e7339", + "Content-Length": "2466", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "132", + "x-ms-region": "West US 2", + "X-Request-ID": "7be17387-8496-4d92-aa93-844b0d3e7339" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "0ee5b643-efbb-4d52-90ee-b04b4dbd7a31", + "dataFeedName": "java_SQL_create_data_feed_test_sampled51efb00-684f-4ddd-be47-cc3ab7540742", + "metrics": [ + { + "metricId": "a30fbe76-e5c7-4ad9-b5ea-ec06482c4355", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "90c0b7f1-b1a7-4f86-9cea-a0cf1cfacd3c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:32Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "0fd404a5-b9bf-49b5-abb6-e13d42719103", + "dataFeedName": "java_BLOB_create_data_feed_test_sample5569fc5c-3edd-4730-b0e4-10d257d2b5d6", + "metrics": [ + { + "metricId": "67bfea03-3b96-4135-8f88-b0d8b10d1206", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "e0804703-2626-4e15-ab0f-425ee44ab753", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:31Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "BLOB_CONTAINER", + "blobTemplate": "BLOB_TEMPLATE_NAME" + }, + "authenticationType": "Basic" + } + ] + } }, - "Response" : { - "x-request-id" : "43487308-80b5-4f8b-aace-12a4fdcb93bc", - "content-length" : "0", - "x-envoy-upstream-service-time" : "542", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "43487308-80b5-4f8b-aace-12a4fdcb93bc", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/831cc58a-2eac-4218-8f4c-d8802dd77268" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0fd404a5-b9bf-49b5-abb6-e13d42719103", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8c0812b5-bbb0-437b-a56a-f3e43f52772b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "7cb48b3b-ec58-467a-ad02-765dbf2983dd", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "367", + "x-ms-region": "West US 2", + "X-Request-ID": "7cb48b3b-ec58-467a-ad02-765dbf2983dd" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/831cc58a-2eac-4218-8f4c-d8802dd77268", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e3fa3a1-5b82-4a39-9ad6-8cb95214632c" - }, - "Response" : { - "x-request-id" : "e62c9b49-320b-4f70-816b-f153e8ec4712", - "content-length" : "1237", - "x-envoy-upstream-service-time" : "160", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e62c9b49-320b-4f70-816b-f153e8ec4712", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"831cc58a-2eac-4218-8f4c-d8802dd77268\",\"dataFeedName\":\"java_SQL_create_data_feed_test_sample9ada3e4e-1cbf-4ff9-8821-227bdc30767f\",\"metrics\":[{\"metricId\":\"00476d2a-042b-4984-9b98-474d36f450f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4a35fbfc-6584-47a8-b0be-662becb68cc9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds?dataFeedName=java_&granularityName=Daily", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c4e8e4cb-8cec-4fc6-aa1a-afb469df2029" - }, - "Response" : { - "x-request-id" : "5ce45260-fad3-4e86-aebd-a77d5d731034", - "content-length" : "3724", - "x-envoy-upstream-service-time" : "140", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5ce45260-fad3-4e86-aebd-a77d5d731034", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"831cc58a-2eac-4218-8f4c-d8802dd77268\",\"dataFeedName\":\"java_SQL_create_data_feed_test_sample9ada3e4e-1cbf-4ff9-8821-227bdc30767f\",\"metrics\":[{\"metricId\":\"00476d2a-042b-4984-9b98-474d36f450f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4a35fbfc-6584-47a8-b0be-662becb68cc9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3ad73c08-6123-48ac-9808-551842e20964\",\"dataFeedName\":\"java_create_data_feed_test_sample3b576a74-fcd2-4beb-96bb-2d538ef10378\",\"metrics\":[{\"metricId\":\"5327895e-8ed2-497a-ad4f-b977ca3b4bfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d983d9d-ab4a-411c-b9bc-e645311f8034\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3ce82421-5f4f-4fad-9917-fd598e3688a4\",\"dataFeedName\":\"java_BLOB_create_data_feed_test_sampleb3059d62-ec00-44fe-be83-cc7a4784577e\",\"metrics\":[{\"metricId\":\"a3cda76c-b353-4b08-a54e-bc9cbd8b265e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9adc2bf-33bb-4620-87e0-977813ff4ffc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"BLOB_CONTAINER\",\"blobTemplate\":\"BLOB_TEMPLATE_NAME\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3ce82421-5f4f-4fad-9917-fd598e3688a4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5bbcbe7c-c80c-4b95-9f60-7e9dd6b0b08b" - }, - "Response" : { - "x-request-id" : "b011ca2b-60c8-4fdb-b8d3-ca8c1cf5781a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "347", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b011ca2b-60c8-4fdb-b8d3-ca8c1cf5781a", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/831cc58a-2eac-4218-8f4c-d8802dd77268", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "78f8d324-b545-46f4-ada9-2f94d48c69ef" - }, - "Response" : { - "x-request-id" : "17db5836-cee5-47ee-a027-e9fd4b1f8ff8", - "content-length" : "0", - "x-envoy-upstream-service-time" : "329", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "17db5836-cee5-47ee-a027-e9fd4b1f8ff8", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0ee5b643-efbb-4d52-90ee-b04b4dbd7a31", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:34 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "dd172e84-08c2-4115-9cbc-64d7ab357f75", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "b07eb901-b334-4d1b-930b-1c6968a56a87", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "422", + "x-ms-region": "West US 2", + "X-Request-ID": "b07eb901-b334-4d1b-930b-1c6968a56a87" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json index 91caaff4dfe7c..83e9d14d639f1 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.getIngestionProgress[1].json @@ -1,25 +1,36 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "14756f83-914b-4d97-a663-c28a69c5de8b" - }, - "Response" : { - "x-request-id" : "c1264101-426d-45ea-9fa1-b898998009dc", - "content-length" : "96", - "x-envoy-upstream-service-time" : "251", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c1264101-426d-45ea-9fa1-b898998009dc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"latestSuccessTimestamp\":\"2022-04-07T00:00:00Z\",\"latestActiveTimestamp\":\"2022-04-07T00:00:00Z\"}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "79e22bc2-bff0-4de8-9c01-26afbb7d9b55", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5ac4aa66-da08-43ec-8a3f-480a164dce48", + "Content-Length": "96", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "233", + "x-ms-region": "West US 2", + "X-Request-ID": "5ac4aa66-da08-43ec-8a3f-480a164dce48" + }, + "ResponseBody": { + "latestSuccessTimestamp": "2023-04-16T00:00:00Z", + "latestActiveTimestamp": "2023-04-16T00:00:00Z" + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json index abcff95dc2ea9..92576a259395e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.listIngestionStatus[1].json @@ -1,26 +1,440 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionStatus/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "62512c91-3df1-4efb-b1ef-ec456ce09d44", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "4287f9cb-65b5-43ff-91ee-5960e470e9db", - "content-length" : "5697", - "x-envoy-upstream-service-time" : "257", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4287f9cb-65b5-43ff-91ee-5960e470e9db", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"timestamp\":\"2022-03-21T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-20T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-19T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-18T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-17T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-16T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-15T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-14T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-13T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-12T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-11T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-10T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-09T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-08T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-07T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-06T00:00:00Z\",\"status\":\"NotStarted\",\"message\":\"\"},{\"timestamp\":\"2022-03-05T00:00:00Z\",\"status\":\"Running\",\"message\":\"\"},{\"timestamp\":\"2022-03-04T00:00:00Z\",\"status\":\"Running\",\"message\":\"\"},{\"timestamp\":\"2022-03-03T00:00:00Z\",\"status\":\"Running\",\"message\":\"\"},{\"timestamp\":\"2022-03-02T00:00:00Z\",\"status\":\"Running\",\"message\":\"\"},{\"timestamp\":\"2022-03-01T00:00:00Z\",\"status\":\"Running\",\"message\":\"\"},{\"timestamp\":\"2022-02-28T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-27T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-26T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-25T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-24T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-23T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-22T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-21T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-20T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-19T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-18T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-17T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-16T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-15T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-14T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-13T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-12T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-11T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-10T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-09T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-08T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-07T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-06T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-05T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-04T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-03T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-02T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-01T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-31T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-30T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-29T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-28T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-27T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-26T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-25T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-24T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-23T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-22T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-21T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-20T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-19T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-18T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-17T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-16T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-15T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-14T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-13T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-12T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-11T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-10T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-09T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-08T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-07T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-06T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-05T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-04T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-03T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-02T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-01T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionStatus/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "362d149a-1b74-428d-af5e-d6557c3fe522", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "95152e8e-d49a-4dc4-9d93-928848c24c0d", + "Content-Length": "5697", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "212", + "x-ms-region": "West US 2", + "X-Request-ID": "95152e8e-d49a-4dc4-9d93-928848c24c0d" + }, + "ResponseBody": { + "value": [ + { + "timestamp": "2022-03-21T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-20T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-19T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-18T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-17T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-16T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-15T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-14T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-13T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-12T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-11T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-10T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-09T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-08T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-07T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-06T00:00:00Z", + "status": "NotStarted", + "message": "" + }, + { + "timestamp": "2022-03-05T00:00:00Z", + "status": "Running", + "message": "" + }, + { + "timestamp": "2022-03-04T00:00:00Z", + "status": "Running", + "message": "" + }, + { + "timestamp": "2022-03-03T00:00:00Z", + "status": "Running", + "message": "" + }, + { + "timestamp": "2022-03-02T00:00:00Z", + "status": "Running", + "message": "" + }, + { + "timestamp": "2022-03-01T00:00:00Z", + "status": "Running", + "message": "" + }, + { + "timestamp": "2022-02-28T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-27T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-26T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-25T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-24T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-23T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-22T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-21T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-20T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-19T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-18T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-17T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-16T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-15T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-14T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-13T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-12T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-11T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-10T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-09T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-08T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-07T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-06T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-05T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-04T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-03T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-02T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-01T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-31T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-30T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-29T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-28T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-27T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-26T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-25T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-24T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-23T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-22T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-21T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-20T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-19T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-18T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-17T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-16T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-15T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-14T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-13T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-12T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-11T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-10T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-09T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-08T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-07T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-06T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-05T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-04T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-03T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-02T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-01T00:00:00Z", + "status": "Succeeded", + "message": "" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json index 349ae02f51848..8b2343b59b4a7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationAsyncTest.refreshIngestion[1].json @@ -1,24 +1,36 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress/reset", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b4dc99e-bc46-498e-98d2-22c5304b55bf", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "9fcdd371-5e11-4f71-a3cc-8b0058d64c15", - "content-length" : "0", - "x-envoy-upstream-service-time" : "297", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9fcdd371-5e11-4f71-a3cc-8b0058d64c15", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress/reset", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "089ec4c0-ba70-495c-9074-71be68a7cf66", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "74ebecc4-27f5-4531-9386-691dd063ca99", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "317", + "x-ms-region": "West US 2", + "X-Request-ID": "74ebecc4-27f5-4531-9386-691dd063ca99" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json index 22fdfaa3e80e8..ad52143dac38d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.getIngestionProgress[1].json @@ -1,25 +1,36 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "187abb3c-30d9-4279-8457-0fff93d03742" - }, - "Response" : { - "x-request-id" : "1df93cbf-5fc2-420f-89f8-9e5b43529dc2", - "content-length" : "96", - "x-envoy-upstream-service-time" : "261", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1df93cbf-5fc2-420f-89f8-9e5b43529dc2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"latestSuccessTimestamp\":\"2022-04-07T00:00:00Z\",\"latestActiveTimestamp\":\"2022-04-07T00:00:00Z\"}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "67391b7c-43a0-4f82-871e-63d07ebdbef8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "387e14cc-cdb3-4cd9-a447-845e88b085f5", + "Content-Length": "96", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "207", + "x-ms-region": "West US 2", + "X-Request-ID": "387e14cc-cdb3-4cd9-a447-845e88b085f5" + }, + "ResponseBody": { + "latestSuccessTimestamp": "2023-04-16T00:00:00Z", + "latestActiveTimestamp": "2023-04-16T00:00:00Z" + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json index 10f462f945022..ad32b70d781ff 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.listIngestionStatus[1].json @@ -1,26 +1,440 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionStatus/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "766cb0e2-1cd5-4280-b277-4a3718079452", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d1d611f0-3d89-417a-b9a0-c6cf84d85c51", - "content-length" : "5691", - "x-envoy-upstream-service-time" : "605", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d1d611f0-3d89-417a-b9a0-c6cf84d85c51", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"timestamp\":\"2022-03-21T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-20T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-19T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-18T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-17T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-16T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-15T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-14T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-13T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-12T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-11T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-10T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-09T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-08T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-07T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-06T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-05T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-04T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-03T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-02T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-03-01T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-28T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-27T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-26T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-25T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-24T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-23T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-22T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-21T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-20T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-19T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-18T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-17T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-16T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-15T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-14T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-13T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-12T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-11T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-10T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-09T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-08T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-07T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-06T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-05T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-04T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-03T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-02T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-02-01T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-31T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-30T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-29T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-28T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-27T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-26T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-25T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-24T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-23T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-22T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-21T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-20T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-19T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-18T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-17T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-16T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-15T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-14T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-13T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-12T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-11T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-10T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-09T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-08T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-07T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-06T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-05T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-04T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-03T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-02T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"},{\"timestamp\":\"2022-01-01T00:00:00Z\",\"status\":\"Succeeded\",\"message\":\"\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:05 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionStatus/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7ac07900-20d3-4973-a978-72ff368c35e1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b6cd4c00-41b2-4e71-8ee1-409191e91448", + "Content-Length": "5691", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "293", + "x-ms-region": "West US 2", + "X-Request-ID": "b6cd4c00-41b2-4e71-8ee1-409191e91448" + }, + "ResponseBody": { + "value": [ + { + "timestamp": "2022-03-21T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-20T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-19T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-18T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-17T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-16T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-15T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-14T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-13T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-12T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-11T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-10T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-09T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-08T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-07T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-06T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-05T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-04T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-03T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-02T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-03-01T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-28T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-27T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-26T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-25T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-24T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-23T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-22T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-21T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-20T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-19T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-18T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-17T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-16T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-15T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-14T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-13T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-12T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-11T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-10T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-09T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-08T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-07T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-06T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-05T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-04T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-03T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-02T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-02-01T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-31T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-30T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-29T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-28T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-27T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-26T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-25T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-24T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-23T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-22T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-21T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-20T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-19T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-18T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-17T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-16T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-15T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-14T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-13T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-12T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-11T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-10T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-09T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-08T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-07T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-06T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-05T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-04T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-03T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-02T00:00:00Z", + "status": "Succeeded", + "message": "" + }, + { + "timestamp": "2022-01-01T00:00:00Z", + "status": "Succeeded", + "message": "" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json index bdf6a212cd1a5..5c0e5a2f2f613 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedIngestionOperationTest.refreshIngestion[1].json @@ -1,24 +1,36 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress/reset", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ab28811c-11c0-4938-923d-5de5324a14eb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "f15dac0f-be69-433d-ad0c-3555b5d7c312", - "content-length" : "0", - "x-envoy-upstream-service-time" : "526", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f15dac0f-be69-433d-ad0c-3555b5d7c312", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/6e48e476-33e6-4113-a299-a5740bc0db47/ingestionProgress/reset", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a79cc3b5-9820-45cf-b102-3c9e5aa8e6e0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-03-22T00:00:00Z" + }, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "1515ec34-8147-4595-8804-21a135944c33", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "307", + "x-ms-region": "West US 2", + "X-Request-ID": "1515ec34-8147-4595-8804-21a135944c33" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json index df1bad6a416bb..07b184bb4632c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testBlobStorage[1].json @@ -1,108 +1,372 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d8db785-b596-42d0-8da3-8e156ae32c64", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "606", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ac0c9a7a-fc2e-4884-9ca8-bffc302af7aa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "20290c3b-31db-42fe-8c71-258ecab35a66", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d7001b7e-a566-42bc-b906-8015ed5ae58f", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1174", + "x-ms-region": "West US 2", + "X-Request-ID": "20290c3b-31db-42fe-8c71-258ecab35a66" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "824214fe-d930-4b7f-b77e-2ed09da2ee47", - "content-length" : "0", - "x-envoy-upstream-service-time" : "568", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "824214fe-d930-4b7f-b77e-2ed09da2ee47", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c98cc63c-03a8-4064-ae90-48290f5b95a3" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d7001b7e-a566-42bc-b906-8015ed5ae58f", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ef8f2408-528d-4178-bbea-2e6305e8e6b8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "69940149-e77f-48b3-a86a-508938c23a11", + "Content-Length": "1228", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "210", + "x-ms-region": "West US 2", + "X-Request-ID": "69940149-e77f-48b3-a86a-508938c23a11" + }, + "ResponseBody": { + "dataFeedId": "d7001b7e-a566-42bc-b906-8015ed5ae58f", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", + "metrics": [ + { + "metricId": "691b1e00-c454-4231-beee-c1951323c1c5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "c30f5bf2-b789-4869-b9ad-c648c0b20313", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c98cc63c-03a8-4064-ae90-48290f5b95a3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2f93f8b3-aa68-4856-bf33-eb560664528b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d7001b7e-a566-42bc-b906-8015ed5ae58f", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "666", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ecbd8159-4df7-4384-94db-48e60523cb02", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d4343bec-58e3-4889-a492-ea19921788a1", + "Content-Length": "1238", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "473", + "x-ms-region": "West US 2", + "X-Request-ID": "d4343bec-58e3-4889-a492-ea19921788a1" + }, + "ResponseBody": { + "dataFeedId": "d7001b7e-a566-42bc-b906-8015ed5ae58f", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", + "metrics": [ + { + "metricId": "691b1e00-c454-4231-beee-c1951323c1c5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "c30f5bf2-b789-4869-b9ad-c648c0b20313", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "f4312eef-dac0-46e8-b2b1-86ed336421bc", - "content-length" : "1240", - "x-envoy-upstream-service-time" : "250", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f4312eef-dac0-46e8-b2b1-86ed336421bc", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"c98cc63c-03a8-4064-ae90-48290f5b95a3\",\"dataFeedName\":\"java_create_data_feed_test_sample730974bc-5999-40b0-b90d-6c1dabf21e8f\",\"metrics\":[{\"metricId\":\"5c9b0b45-b2db-4cb2-9917-5916a8ce90ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d57ef088-3a04-4a17-b723-9002b0506a10\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d7001b7e-a566-42bc-b906-8015ed5ae58f", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ae53433d-d6e3-4cc1-8efa-2982fa95d983", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c7e44ef8-31b1-4d35-a5c2-71d068513aa6", + "Content-Length": "1238", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144", + "x-ms-region": "West US 2", + "X-Request-ID": "c7e44ef8-31b1-4d35-a5c2-71d068513aa6" + }, + "ResponseBody": { + "dataFeedId": "d7001b7e-a566-42bc-b906-8015ed5ae58f", + "dataFeedName": "java_create_data_feed_test_sample577da072-6750-41bd-8c4b-a871652c42ad", + "metrics": [ + { + "metricId": "691b1e00-c454-4231-beee-c1951323c1c5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "c30f5bf2-b789-4869-b9ad-c648c0b20313", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:21Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c98cc63c-03a8-4064-ae90-48290f5b95a3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "61bc12e3-8880-4c5f-bd4f-65c800508cd4", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "649ef062-97c9-4f7a-947b-18c31d64fd41", - "content-length" : "1250", - "x-envoy-upstream-service-time" : "580", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "649ef062-97c9-4f7a-947b-18c31d64fd41", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"c98cc63c-03a8-4064-ae90-48290f5b95a3\",\"dataFeedName\":\"java_create_data_feed_test_sample730974bc-5999-40b0-b90d-6c1dabf21e8f\",\"metrics\":[{\"metricId\":\"5c9b0b45-b2db-4cb2-9917-5916a8ce90ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d57ef088-3a04-4a17-b723-9002b0506a10\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c98cc63c-03a8-4064-ae90-48290f5b95a3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "40126f4e-fd0c-4d1e-b459-2a9bedd1328b" - }, - "Response" : { - "x-request-id" : "1b58a4f8-f8b9-4a85-938e-24c37c503751", - "content-length" : "1250", - "x-envoy-upstream-service-time" : "177", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1b58a4f8-f8b9-4a85-938e-24c37c503751", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"c98cc63c-03a8-4064-ae90-48290f5b95a3\",\"dataFeedName\":\"java_create_data_feed_test_sample730974bc-5999-40b0-b90d-6c1dabf21e8f\",\"metrics\":[{\"metricId\":\"5c9b0b45-b2db-4cb2-9917-5916a8ce90ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d57ef088-3a04-4a17-b723-9002b0506a10\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c98cc63c-03a8-4064-ae90-48290f5b95a3", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "83b841d8-182a-4a07-8ea5-24ce634b08fd" - }, - "Response" : { - "x-request-id" : "7933a484-a16f-4aa4-9752-ab26e51affdd", - "content-length" : "0", - "x-envoy-upstream-service-time" : "310", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7933a484-a16f-4aa4-9752-ab26e51affdd", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/d7001b7e-a566-42bc-b906-8015ed5ae58f", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "172185ea-4beb-4d2b-b9eb-6e0203ee2f6e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "c853dd8e-1c81-4046-8a7e-a449db37603f", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "320", + "x-ms-region": "West US 2", + "X-Request-ID": "c853dd8e-1c81-4046-8a7e-a449db37603f" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json index 34073988fb601..3c08c6f657e99 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataExplorer[1].json @@ -1,316 +1,965 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ce4dce4f-4904-4fef-9f1a-77030c2c3f0f", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "703", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "69264c5d-2b16-4c2c-8b48-4477aedb8326", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "4f0cee30-d1ec-4c16-b95c-f5bf26c2666b", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1292", + "x-ms-region": "West US 2", + "X-Request-ID": "4f0cee30-d1ec-4c16-b95c-f5bf26c2666b" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "55e4e0bb-12e8-46c0-b6c5-e0f1f0883f4a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "456", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "55e4e0bb-12e8-46c0-b6c5-e0f1f0883f4a", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f5b26ba9-24a6-4bd6-a5af-a607574a2fd4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "445186d8-80ab-4c66-b43a-f6ee9192f807", + "Content-Length": "1325", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "135", + "x-ms-region": "West US 2", + "X-Request-ID": "445186d8-80ab-4c66-b43a-f6ee9192f807" + }, + "ResponseBody": { + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", + "metrics": [ + { + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:15Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "07db46da-3337-4631-b392-f977a2140965" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "763", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2a83bd0a-f91c-428e-96d2-42edf7efe412", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f34f2e41-2639-4895-99c7-39e38b56fdea", + "Content-Length": "1335", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "492", + "x-ms-region": "West US 2", + "X-Request-ID": "f34f2e41-2639-4895-99c7-39e38b56fdea" + }, + "ResponseBody": { + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", + "metrics": [ + { + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:15Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "b151abe7-a20b-43f9-93b0-6770a5cd1055", - "content-length" : "1337", - "x-envoy-upstream-service-time" : "186", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b151abe7-a20b-43f9-93b0-6770a5cd1055", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "388daecd-f1b9-4852-925f-98aa96977c73", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "04709691-fc56-4689-a11a-dbee047989fb", + "Content-Length": "1335", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "131", + "x-ms-region": "West US 2", + "X-Request-ID": "04709691-fc56-4689-a11a-dbee047989fb" + }, + "ResponseBody": { + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", + "metrics": [ + { + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:15Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c5c94030-0a99-41c8-8ef0-3715258bca55", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f589c822-e5e3-4eb7-8f3c-11b5ee1d26e6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_spc2b5855c-8bf4-4e3b-b517-976dd8a04884", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "e4f2366e-8ae0-4780-b5ae-517dd415241d", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/cbb99367-ffe0-4f5d-ba4c-805466bb13a7", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "308", + "x-ms-region": "West US 2", + "X-Request-ID": "e4f2366e-8ae0-4780-b5ae-517dd415241d" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "4d5a5d8f-35d2-4f36-8a55-9f9b7a6f8d60", - "content-length" : "1347", - "x-envoy-upstream-service-time" : "693", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4d5a5d8f-35d2-4f36-8a55-9f9b7a6f8d60", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/cbb99367-ffe0-4f5d-ba4c-805466bb13a7", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8cdb77b2-81b4-41ea-88e8-e327e469ea65", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9fd476ad-2d2b-439c-8abb-51f13fb6807a", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "102", + "x-ms-region": "West US 2", + "X-Request-ID": "9fd476ad-2d2b-439c-8abb-51f13fb6807a" + }, + "ResponseBody": { + "dataSourceCredentialId": "cbb99367-ffe0-4f5d-ba4c-805466bb13a7", + "dataSourceCredentialName": "java_create_data_source_cred_spc2b5855c-8bf4-4e3b-b517-976dd8a04884", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "420d15aa-c1c3-4bf3-8c59-5c4e28e1bb9f" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "818", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3e7feee2-127e-4e80-90f3-0a2abb823ae5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "cbb99367-ffe0-4f5d-ba4c-805466bb13a7", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "79614271-3747-41be-b840-b95b88d3fafa", + "Content-Length": "1390", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "578", + "x-ms-region": "West US 2", + "X-Request-ID": "79614271-3747-41be-b840-b95b88d3fafa" + }, + "ResponseBody": { + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", + "metrics": [ + { + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:15Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "cbb99367-ffe0-4f5d-ba4c-805466bb13a7" + } }, - "Response" : { - "x-request-id" : "514a8d25-e970-424e-868e-7c2618512ffb", - "content-length" : "1347", - "x-envoy-upstream-service-time" : "260", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "514a8d25-e970-424e-868e-7c2618512ffb", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f9a1605e-d625-4848-92ac-eb1796b617a0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "33aec752-562d-4764-8d41-37206bfe60ea", + "Content-Length": "1390", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "152", + "x-ms-region": "West US 2", + "X-Request-ID": "33aec752-562d-4764-8d41-37206bfe60ea" + }, + "ResponseBody": { + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", + "metrics": [ + { + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:15Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "cbb99367-ffe0-4f5d-ba4c-805466bb13a7" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5aed37d6-2e0c-4d3c-8914-8c6295fbd2c9", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f6a05453-caa4-4177-9d87-1d7b82ab5910", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkv96cd17ce-5020-430d-8115-0b198aaa08a2", + "parameters": { + "keyVaultEndpoint": "https://b1a9c603-8521-4fa7-add1-dbe53901faf4.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "ea2880dd-7d9b-4ee5-9d9d-ef18f00b0d03", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/20e081f0-b1c9-4086-b67a-a96100987f9f", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "326", + "x-ms-region": "West US 2", + "X-Request-ID": "ea2880dd-7d9b-4ee5-9d9d-ef18f00b0d03" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9b82da46-d654-4d25-97ec-278fc16ea67a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "213", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9b82da46-d654-4d25-97ec-278fc16ea67a", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/0b9d3a46-9932-4002-b0cb-ca88e0a49076" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/20e081f0-b1c9-4086-b67a-a96100987f9f", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fd49988f-e81f-41e0-8a88-930615ccd10c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "10e63d53-f86a-44ee-81ea-9904f3488216", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144", + "x-ms-region": "West US 2", + "X-Request-ID": "10e63d53-f86a-44ee-81ea-9904f3488216" + }, + "ResponseBody": { + "dataSourceCredentialId": "20e081f0-b1c9-4086-b67a-a96100987f9f", + "dataSourceCredentialName": "java_create_data_source_cred_spkv96cd17ce-5020-430d-8115-0b198aaa08a2", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://b1a9c603-8521-4fa7-add1-dbe53901faf4.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/0b9d3a46-9932-4002-b0cb-ca88e0a49076", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "436b6cf8-7419-4b94-806f-1575f92f1879" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "822", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e8bb820b-41b6-466e-8f5d-b6fa7b020406", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "20e081f0-b1c9-4086-b67a-a96100987f9f", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a491cca6-4ea0-4d37-8dd5-9a371fb827fb", + "Content-Length": "1394", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "683", + "x-ms-region": "West US 2", + "X-Request-ID": "a491cca6-4ea0-4d37-8dd5-9a371fb827fb" + }, + "ResponseBody": { + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", + "metrics": [ + { + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:15Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "20e081f0-b1c9-4086-b67a-a96100987f9f" + } }, - "Response" : { - "x-request-id" : "bdd6f7e7-606e-40a3-ab67-4a7b4c61d025", - "content-length" : "360", - "x-envoy-upstream-service-time" : "125", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bdd6f7e7-606e-40a3-ab67-4a7b4c61d025", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"0b9d3a46-9932-4002-b0cb-ca88e0a49076\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp7cbe4972-94a8-4daa-a445-071b84596db9\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "33236bf3-66c6-404c-96a1-19865d1d88c0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d658ea3a-4200-47db-8c64-3bf431e2f6ff", + "Content-Length": "1394", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "199", + "x-ms-region": "West US 2", + "X-Request-ID": "d658ea3a-4200-47db-8c64-3bf431e2f6ff" + }, + "ResponseBody": { + "dataFeedId": "190535ae-1d93-4736-afda-99b3faf8a2af", + "dataFeedName": "java_create_data_feed_test_sampleddf72c7a-d42c-45ff-afc8-cd45ed501763", + "metrics": [ + { + "metricId": "0d846e3d-b764-45eb-807e-b512eecb3a8d", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "8510c666-88d9-4500-8e4a-7ffd7d9ba98e", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:15Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "20e081f0-b1c9-4086-b67a-a96100987f9f" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f8d40bc9-66e8-4d02-bbe7-ec4f4e6d49af", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/190535ae-1d93-4736-afda-99b3faf8a2af", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "708b6893-57ad-4cf5-b17e-6ecb90779a22", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "5501717e-7fce-4315-b4f0-9124ed3af5a2", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "357", + "x-ms-region": "West US 2", + "X-Request-ID": "5501717e-7fce-4315-b4f0-9124ed3af5a2" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0be3b230-61cb-4a10-9835-3d2a359039a8", - "content-length" : "1402", - "x-envoy-upstream-service-time" : "653", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0be3b230-61cb-4a10-9835-3d2a359039a8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"0b9d3a46-9932-4002-b0cb-ca88e0a49076\"}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/cbb99367-ffe0-4f5d-ba4c-805466bb13a7", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6e1b6a61-b5ca-4c2d-b106-c0f1ffc5427f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "6533cce4-2554-497e-adbf-8181ece0c438", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "147", + "x-ms-region": "West US 2", + "X-Request-ID": "6533cce4-2554-497e-adbf-8181ece0c438" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5bb2ed09-ac53-456d-85cb-ec08507ae036" - }, - "Response" : { - "x-request-id" : "94315588-f305-4744-b2d4-864e64866668", - "content-length" : "1402", - "x-envoy-upstream-service-time" : "171", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "94315588-f305-4744-b2d4-864e64866668", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"0b9d3a46-9932-4002-b0cb-ca88e0a49076\"}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7453e42c-834e-4f44-aa96-9e061cb94783", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "5a1943de-7166-42ac-9062-0f7288158572", - "content-length" : "0", - "x-envoy-upstream-service-time" : "190", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5a1943de-7166-42ac-9062-0f7288158572", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a71c5dce-f7f0-42f3-9d59-971fd89a2919" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a71c5dce-f7f0-42f3-9d59-971fd89a2919", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ea5d5b28-c2f2-4b5b-9410-94f95383d1ca" - }, - "Response" : { - "x-request-id" : "13e444eb-f854-4d53-9381-561f96cecce6", - "content-length" : "549", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "13e444eb-f854-4d53-9381-561f96cecce6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"a71c5dce-f7f0-42f3-9d59-971fd89a2919\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv31ecef8b-41fe-4845-8f38-63f9a7bfe13d\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://f0d10bd1-c7f1-49cf-b4a5-6de92931f172.vault.azure.net\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2c04243f-e60b-46e6-90cc-df9ee1979d91", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "6e2bba50-edbc-493b-9978-b50b26f91f98", - "content-length" : "1406", - "x-envoy-upstream-service-time" : "666", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6e2bba50-edbc-493b-9978-b50b26f91f98", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"a71c5dce-f7f0-42f3-9d59-971fd89a2919\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d876060e-6033-47bc-9c56-64c6ae1da5e3" - }, - "Response" : { - "x-request-id" : "16abb6d1-1a0a-4352-a04c-9eb2b1422af0", - "content-length" : "1406", - "x-envoy-upstream-service-time" : "191", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "16abb6d1-1a0a-4352-a04c-9eb2b1422af0", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4\",\"dataFeedName\":\"java_create_data_feed_test_samplefbc0940c-2b8c-4559-a8cf-783d08492f2c\",\"metrics\":[{\"metricId\":\"00ba5b71-3de4-4346-b2c0-ee9fc97360e7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fbc9eaa6-40fa-413d-b7fa-dfa2d40163b0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"a71c5dce-f7f0-42f3-9d59-971fd89a2919\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3f48e1d9-2fc4-4819-926f-bb4e9f9a3dd4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "39a7099d-137b-44b3-b61c-ec8c16f41444" - }, - "Response" : { - "x-request-id" : "2ee50957-6285-4ca8-a894-ea313df2d3b0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "354", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2ee50957-6285-4ca8-a894-ea313df2d3b0", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/0b9d3a46-9932-4002-b0cb-ca88e0a49076", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0608952a-477a-456d-9f39-05d85fe7e1a6" - }, - "Response" : { - "x-request-id" : "aed6a541-e874-43ad-a9ab-684257558a58", - "content-length" : "0", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "aed6a541-e874-43ad-a9ab-684257558a58", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a71c5dce-f7f0-42f3-9d59-971fd89a2919", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b246271b-4745-4e3a-a7d6-ba9ecec59e93" - }, - "Response" : { - "x-request-id" : "6f29e0d3-72d6-4836-9db4-e7f568cd41d4", - "content-length" : "0", - "x-envoy-upstream-service-time" : "145", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6f29e0d3-72d6-4836-9db4-e7f568cd41d4", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/20e081f0-b1c9-4086-b67a-a96100987f9f", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e6a40430-ebf5-4276-9bef-12632a854c4e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "a1777142-14b4-4882-9eda-6fbb71cd9087", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "114", + "x-ms-region": "West US 2", + "X-Request-ID": "a1777142-14b4-4882-9eda-6fbb71cd9087" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json index 749f01689fb34..1946319be1372 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testDataLakeGen2[1].json @@ -1,377 +1,1094 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f9af64b-a22b-4e3c-be9a-92e27c1b0989", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "660", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d6cb8073-4fb9-4878-bd10-fa5498960e67", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "accountName": "REDACTED", + "accountKey": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "275064dc-765f-4203-be6d-63c4b61ff2a4", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "881", + "x-ms-region": "West US 2", + "X-Request-ID": "275064dc-765f-4203-be6d-63c4b61ff2a4" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "1c374f9a-fa3b-45c6-8d73-f5a1c5e99e31", - "content-length" : "0", - "x-envoy-upstream-service-time" : "516", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1c374f9a-fa3b-45c6-8d73-f5a1c5e99e31", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e946e124-2093-41ec-b404-51523ec816d8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "30c247f7-7e98-4534-a8c6-66b15997906b", + "Content-Length": "1288", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "175", + "x-ms-region": "West US 2", + "X-Request-ID": "30c247f7-7e98-4534-a8c6-66b15997906b" + }, + "ResponseBody": { + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "metrics": [ + { + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "569784d1-3ab8-481f-b2d2-95a903eec3c7" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "debffffc-b8be-4210-b73d-f2612a516f23", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3937a40f-c3e4-4dc8-971c-e883e934a449", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "bbc00897-35a7-4236-854b-a9b8adf976a5", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/307262ea-1be6-4b60-b079-a4f06c174664", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "341", + "x-ms-region": "West US 2", + "X-Request-ID": "bbc00897-35a7-4236-854b-a9b8adf976a5" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "5e0277ca-15f6-43db-abfe-7a625924db71", - "content-length" : "1312", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5e0277ca-15f6-43db-abfe-7a625924db71", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/307262ea-1be6-4b60-b079-a4f06c174664", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "33260bc2-e3be-4e3e-b186-b2e4034ccee8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8ecadca5-c27e-4155-b61a-83bfe128983c", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "128", + "x-ms-region": "West US 2", + "X-Request-ID": "8ecadca5-c27e-4155-b61a-83bfe128983c" + }, + "ResponseBody": { + "dataSourceCredentialId": "307262ea-1be6-4b60-b079-a4f06c174664", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3937a40f-c3e4-4dc8-971c-e883e934a449", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f0ebcf5-ab8a-4ccd-b973-1bc7c7a72175", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "756", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a82af0bf-3206-4c48-9432-6891eee79a85", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "307262ea-1be6-4b60-b079-a4f06c174664", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cab11b8f-e0b8-4466-8a97-58a0b6744499", + "Content-Length": "1358", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "891", + "x-ms-region": "West US 2", + "X-Request-ID": "cab11b8f-e0b8-4466-8a97-58a0b6744499" + }, + "ResponseBody": { + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "metrics": [ + { + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "307262ea-1be6-4b60-b079-a4f06c174664" + } }, - "Response" : { - "x-request-id" : "e2e2927b-17a8-4ab9-862e-ff6eed556d24", - "content-length" : "0", - "x-envoy-upstream-service-time" : "206", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e2e2927b-17a8-4ab9-862e-ff6eed556d24", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b52b46ff-69ea-429c-8412-44bc131a8d95" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "80d360b6-3a01-4eb6-bc87-b51e782e42c1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5d48839f-f9ff-4ebc-9527-fb6571d5ac7c", + "Content-Length": "1358", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "163", + "x-ms-region": "West US 2", + "X-Request-ID": "5d48839f-f9ff-4ebc-9527-fb6571d5ac7c" + }, + "ResponseBody": { + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "metrics": [ + { + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "307262ea-1be6-4b60-b079-a4f06c174664" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b52b46ff-69ea-429c-8412-44bc131a8d95", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac8101fb-80ac-474c-80d5-96988503b120" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2ba08fd2-e620-4949-85a9-e41459609f69", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_sp3a195ff5-bdeb-4d1c-8daf-79b792024656", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "88448e9d-41c8-4834-86c3-69f3aa9858a9", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/4535072b-7ac3-45bb-a1c8-92a7860773b6", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "629", + "x-ms-region": "West US 2", + "X-Request-ID": "88448e9d-41c8-4834-86c3-69f3aa9858a9" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "69c9a9e9-e1cd-4f0f-82ba-d58ecbd69fdf", - "content-length" : "273", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "69c9a9e9-e1cd-4f0f-82ba-d58ecbd69fdf", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"b52b46ff-69ea-429c-8412-44bc131a8d95\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gene7134649-fb22-4c2c-9adb-bcd53ba9aa73\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/4535072b-7ac3-45bb-a1c8-92a7860773b6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "eba7be01-3913-485f-a160-a4d7d019cdd9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1251e315-7091-4400-bcb9-c6785fea51e6", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "113", + "x-ms-region": "West US 2", + "X-Request-ID": "1251e315-7091-4400-bcb9-c6785fea51e6" + }, + "ResponseBody": { + "dataSourceCredentialId": "4535072b-7ac3-45bb-a1c8-92a7860773b6", + "dataSourceCredentialName": "java_create_data_source_cred_sp3a195ff5-bdeb-4d1c-8daf-79b792024656", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9ab554bd-d972-4774-ae61-35a0e09bd84d", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "751", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "06c1a545-87f2-4b11-9466-4ac3b300ff73", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "4535072b-7ac3-45bb-a1c8-92a7860773b6", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "937a46d8-f039-49d6-bb99-75210ad454d8", + "Content-Length": "1353", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "641", + "x-ms-region": "West US 2", + "X-Request-ID": "937a46d8-f039-49d6-bb99-75210ad454d8" + }, + "ResponseBody": { + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "metrics": [ + { + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "4535072b-7ac3-45bb-a1c8-92a7860773b6" + } }, - "Response" : { - "x-request-id" : "ebc45f46-7583-4a0e-a11e-3a29a2eb9d45", - "content-length" : "1382", - "x-envoy-upstream-service-time" : "712", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ebc45f46-7583-4a0e-a11e-3a29a2eb9d45", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"b52b46ff-69ea-429c-8412-44bc131a8d95\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "350e8af1-9c26-47fe-8b54-3e16f6d0f8a6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "afedc555-c1c8-46ab-9829-d45af4d1f5c3", + "Content-Length": "1353", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "159", + "x-ms-region": "West US 2", + "X-Request-ID": "afedc555-c1c8-46ab-9829-d45af4d1f5c3" + }, + "ResponseBody": { + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "metrics": [ + { + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "4535072b-7ac3-45bb-a1c8-92a7860773b6" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6f1ca541-916f-4175-9f1e-3dee0700d6d6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fb43592c-1683-459f-a8d4-c39f582f7af3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkv062bafa4-9053-410d-956a-b3c827b082a6", + "parameters": { + "keyVaultEndpoint": "https://2d3fc599-c21f-44e5-8689-fce9433c3b1b.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "21b95036-6dae-483e-8766-9ba31b1d821a", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/d3f0f6cd-f16e-425d-b410-f238acd8981e", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "407", + "x-ms-region": "West US 2", + "X-Request-ID": "21b95036-6dae-483e-8766-9ba31b1d821a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "6e843745-e722-4d18-86bf-e340dcfcf912", - "content-length" : "1382", - "x-envoy-upstream-service-time" : "193", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6e843745-e722-4d18-86bf-e340dcfcf912", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"b52b46ff-69ea-429c-8412-44bc131a8d95\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d3f0f6cd-f16e-425d-b410-f238acd8981e", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3e9bde70-b164-4e46-a023-2f34d9e48825", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "38c13c4c-99fb-4daf-8078-f3a400fef2c2", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "89", + "x-ms-region": "West US 2", + "X-Request-ID": "38c13c4c-99fb-4daf-8078-f3a400fef2c2" + }, + "ResponseBody": { + "dataSourceCredentialId": "d3f0f6cd-f16e-425d-b410-f238acd8981e", + "dataSourceCredentialName": "java_create_data_source_cred_spkv062bafa4-9053-410d-956a-b3c827b082a6", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://2d3fc599-c21f-44e5-8689-fce9433c3b1b.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9ba058fb-1b0f-4f9b-9106-5fd53daefd03", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "755", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "88fc9c87-9368-48c3-8c6f-a08f27a0b27c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "d3f0f6cd-f16e-425d-b410-f238acd8981e", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3aad24fd-1b68-449b-8af5-c3d9f7cda2b0", + "Content-Length": "1357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "756", + "x-ms-region": "West US 2", + "X-Request-ID": "3aad24fd-1b68-449b-8af5-c3d9f7cda2b0" + }, + "ResponseBody": { + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "metrics": [ + { + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "d3f0f6cd-f16e-425d-b410-f238acd8981e" + } }, - "Response" : { - "x-request-id" : "4db51689-11e7-47b1-86b5-deedb21acf73", - "content-length" : "0", - "x-envoy-upstream-service-time" : "249", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4db51689-11e7-47b1-86b5-deedb21acf73", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dc87a781-e3dc-4450-b980-1f5c990ca4fd" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b9eb38d5-0fd2-4f85-bc65-4fd0e938ee8a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e1e3eac9-7350-4ce2-8e0e-bd1942a099ce", + "Content-Length": "1357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "139", + "x-ms-region": "West US 2", + "X-Request-ID": "e1e3eac9-7350-4ce2-8e0e-bd1942a099ce" + }, + "ResponseBody": { + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "metrics": [ + { + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "d3f0f6cd-f16e-425d-b410-f238acd8981e" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dc87a781-e3dc-4450-b980-1f5c990ca4fd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c557781f-cef9-4f9c-b73b-4ca03ecfb9d7" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f1562936-347b-4574-9c58-20bf2d4ac30b", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ff6f6e48-c044-46e2-9c1a-421c8d41cb35", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "aad97c47-93f1-4e46-a386-00b5e64d2805", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "643", + "x-ms-region": "West US 2", + "X-Request-ID": "aad97c47-93f1-4e46-a386-00b5e64d2805" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "eff5dd14-767e-46c5-903d-3b01a95e3318", - "content-length" : "360", - "x-envoy-upstream-service-time" : "189", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "eff5dd14-767e-46c5-903d-3b01a95e3318", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"dc87a781-e3dc-4450-b980-1f5c990ca4fd\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp2efe3c29-e1d5-43f9-b9fb-b0645b8b7b75\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/307262ea-1be6-4b60-b079-a4f06c174664", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "44c02ba2-be16-4322-8c5a-be08e33ca625", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "87a60e8d-3638-4e36-826d-b2c1da5da8cf", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "115", + "x-ms-region": "West US 2", + "X-Request-ID": "87a60e8d-3638-4e36-826d-b2c1da5da8cf" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc0ba805-3a6b-4015-93b8-0fcb80176663", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/4535072b-7ac3-45bb-a1c8-92a7860773b6", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ada5dff9-af90-46bf-b18c-917641134089", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "a4a7a023-0d2f-4d12-a5b6-93065c90f717", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "193", + "x-ms-region": "West US 2", + "X-Request-ID": "a4a7a023-0d2f-4d12-a5b6-93065c90f717" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "8593a013-b87e-4055-9416-283a13bfd82a", - "content-length" : "1377", - "x-envoy-upstream-service-time" : "720", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8593a013-b87e-4055-9416-283a13bfd82a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"dc87a781-e3dc-4450-b980-1f5c990ca4fd\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "641d0131-3383-485d-813a-3d068c47caa7" - }, - "Response" : { - "x-request-id" : "377bdcf0-cb4e-42ad-908b-971bf1883e68", - "content-length" : "1377", - "x-envoy-upstream-service-time" : "196", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "377bdcf0-cb4e-42ad-908b-971bf1883e68", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"dc87a781-e3dc-4450-b980-1f5c990ca4fd\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "65838549-322a-4320-bd70-c18ee098f7ad", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "207b9402-d08a-4a6f-a01b-2524557f1300", - "content-length" : "0", - "x-envoy-upstream-service-time" : "311", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "207b9402-d08a-4a6f-a01b-2524557f1300", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dec52ab7-5e0a-410d-aeba-69bb221ce1b4" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dec52ab7-5e0a-410d-aeba-69bb221ce1b4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4e5d56ea-e265-4adc-a545-3d76a7ee6d16" - }, - "Response" : { - "x-request-id" : "2051a6dc-71f7-412e-8d74-d23512e5fc5d", - "content-length" : "549", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2051a6dc-71f7-412e-8d74-d23512e5fc5d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"dec52ab7-5e0a-410d-aeba-69bb221ce1b4\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv24a35659-0c82-4c9b-bfcd-0de9a9f78974\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://5e07ccee-2009-476f-ae6e-2a3f8fdb48df.vault.azure.net\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a0a2e0e-c6fd-4f95-81e9-889da0ad7027", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "65ba6aaa-fcef-43bd-87d7-c7a947fa0401", - "content-length" : "1381", - "x-envoy-upstream-service-time" : "641", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "65ba6aaa-fcef-43bd-87d7-c7a947fa0401", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"dec52ab7-5e0a-410d-aeba-69bb221ce1b4\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "51c892e6-8771-427b-b5ab-736f09917964" - }, - "Response" : { - "x-request-id" : "df2c3559-4c7b-43ba-b750-d7d9e01454db", - "content-length" : "1381", - "x-envoy-upstream-service-time" : "233", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "df2c3559-4c7b-43ba-b750-d7d9e01454db", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"dec52ab7-5e0a-410d-aeba-69bb221ce1b4\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/272d4977-0bc6-41e1-803c-f96c1da1b552", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f17cce7-3f48-4312-bd13-b7b436e198ae" - }, - "Response" : { - "x-request-id" : "79cacde3-be25-4247-ba71-37db89b15b38", - "content-length" : "0", - "x-envoy-upstream-service-time" : "355", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "79cacde3-be25-4247-ba71-37db89b15b38", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b52b46ff-69ea-429c-8412-44bc131a8d95", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5a99fd3b-a71e-488a-9682-60846b551a69" - }, - "Response" : { - "x-request-id" : "10261392-3fd3-4111-825a-b1993c9c8e51", - "content-length" : "0", - "x-envoy-upstream-service-time" : "127", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "10261392-3fd3-4111-825a-b1993c9c8e51", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dc87a781-e3dc-4450-b980-1f5c990ca4fd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "85a32e35-560d-47e8-bf29-8166d1d0455f" - }, - "Response" : { - "x-request-id" : "8d147cbb-303f-47a8-a43d-0707ec382aba", - "content-length" : "0", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8d147cbb-303f-47a8-a43d-0707ec382aba", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/dec52ab7-5e0a-410d-aeba-69bb221ce1b4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4c207ccc-736f-4fc9-8771-2971e6ca00ef" - }, - "Response" : { - "x-request-id" : "6e0e6689-3848-43e5-bcab-25f0c2fbdadf", - "content-length" : "0", - "x-envoy-upstream-service-time" : "117", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6e0e6689-3848-43e5-bcab-25f0c2fbdadf", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d3f0f6cd-f16e-425d-b410-f238acd8981e", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "97f4c1e0-af8a-4fc5-8f82-0b50a5231c86", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "ca3b9a82-2a2f-4730-a6c4-ad4d8e8ba719", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144", + "x-ms-region": "West US 2", + "X-Request-ID": "ca3b9a82-2a2f-4730-a6c4-ad4d8e8ba719" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json index 2d88339fe2767..1f40b61d3f129 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsAsyncTest.testSqlServer[1].json @@ -1,420 +1,1255 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f130658-173f-4f6a-bd57-d5415b3108c1", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "599", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "83fd059c-7c72-41cb-8114-a79f0b2b7ff0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "3bfaf8ed-3287-406a-8a78-5761d0e51a71", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1811", + "x-ms-region": "West US 2", + "X-Request-ID": "3bfaf8ed-3287-406a-8a78-5761d0e51a71" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "952cf963-3678-410b-849d-7ba1ac11c899", - "content-length" : "0", - "x-envoy-upstream-service-time" : "522", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "952cf963-3678-410b-849d-7ba1ac11c899", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f8a16425-78bb-4c2c-b675-ad05907d9ed0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ea958edc-4298-4808-97c0-f12f77871b53", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "264", + "x-ms-region": "West US 2", + "X-Request-ID": "ea958edc-4298-4808-97c0-f12f77871b53" + }, + "ResponseBody": { + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "metrics": [ + { + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:24Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9b0bebc2-0905-4ada-9250-bffd8d679d3b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "659", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5553a42d-06ad-44e4-bf9d-b742a8c63a53", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cc97ab3f-3a54-4b86-8ed8-c7a09f096b02", + "Content-Length": "1231", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "660", + "x-ms-region": "West US 2", + "X-Request-ID": "cc97ab3f-3a54-4b86-8ed8-c7a09f096b02" + }, + "ResponseBody": { + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "metrics": [ + { + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:24Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "db17dfa5-1451-491b-821c-2c79a18b469d", - "content-length" : "1233", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "db17dfa5-1451-491b-821c-2c79a18b469d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "76d30e32-58c9-4bd3-a460-0a783b999d35", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "125799c9-a589-47c4-92ac-56a7260b3859", + "Content-Length": "1231", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "216", + "x-ms-region": "West US 2", + "X-Request-ID": "125799c9-a589-47c4-92ac-56a7260b3859" + }, + "ResponseBody": { + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "metrics": [ + { + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:24Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c182c141-d7dc-42e6-ad06-332632a468a8", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "07b32b09-fe75-416e-a1c1-18e402a009cf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con31082976-bf9f-4997-9df7-23fbf3023b62", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "2b6ef124-8bfd-48ea-904d-e7faaf9e9fc0", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/e4a8d59f-ff3b-425d-a94a-50d34aa4531f", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "852", + "x-ms-region": "West US 2", + "X-Request-ID": "2b6ef124-8bfd-48ea-904d-e7faaf9e9fc0" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9a7ad4d3-8727-437b-aba8-2f8b651c0f4b", - "content-length" : "1243", - "x-envoy-upstream-service-time" : "733", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9a7ad4d3-8727-437b-aba8-2f8b651c0f4b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/e4a8d59f-ff3b-425d-a94a-50d34aa4531f", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0c6a8ce6-db79-4637-8c85-5185de1f6022", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5237fedd-3397-4338-9d1c-70406d4fc0e9", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "112", + "x-ms-region": "West US 2", + "X-Request-ID": "5237fedd-3397-4338-9d1c-70406d4fc0e9" + }, + "ResponseBody": { + "dataSourceCredentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con31082976-bf9f-4997-9df7-23fbf3023b62", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c098db40-e12b-4cca-8f5d-5f46662d03af" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "692", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d9261a16-5f37-455c-910f-fbab6f547307", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "AzureSQLConnectionString", + "credentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "44cf8bb9-70ca-4409-aaf5-696300a3610f", + "Content-Length": "1294", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "766", + "x-ms-region": "West US 2", + "X-Request-ID": "44cf8bb9-70ca-4409-aaf5-696300a3610f" + }, + "ResponseBody": { + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "metrics": [ + { + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:24Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f" + } }, - "Response" : { - "x-request-id" : "896db7b6-5ca7-406f-90ed-75398d977db9", - "content-length" : "1243", - "x-envoy-upstream-service-time" : "172", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "896db7b6-5ca7-406f-90ed-75398d977db9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Fri, 08 Apr 2022 23:50:27 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "197d7a88-a04b-4e8d-bdfe-45e4b0778874", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "dfafd170-abac-4eab-95c2-9a85dd244ec0", + "Content-Length": "1294", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "179", + "x-ms-region": "West US 2", + "X-Request-ID": "dfafd170-abac-4eab-95c2-9a85dd244ec0" + }, + "ResponseBody": { + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "metrics": [ + { + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:24Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "e4a8d59f-ff3b-425d-a94a-50d34aa4531f" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ecdd8492-4cb5-49b6-8b79-69773b61ddd9", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "44da4be6-fcf2-4e2c-bd47-e772462a89f7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_spf9d4ed61-2452-4680-9056-3a59ceed698e", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "19f46790-cbb3-4f72-bee8-961741be1f9b", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/54c27ae6-9e87-417e-b24b-01c22b29de01", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "511", + "x-ms-region": "West US 2", + "X-Request-ID": "19f46790-cbb3-4f72-bee8-961741be1f9b" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "ed7c1baa-6216-4ad0-8609-4f6b9dcdd2b5", - "content-length" : "0", - "x-envoy-upstream-service-time" : "286", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ed7c1baa-6216-4ad0-8609-4f6b9dcdd2b5", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a36d9288-1edf-4212-9d87-a7391bf54f3f" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/54c27ae6-9e87-417e-b24b-01c22b29de01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f4f8804d-fae8-4c09-8335-e5ab0c3878eb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a151d565-76e5-4a6a-9fe7-ba433f8e6a1c", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "136", + "x-ms-region": "West US 2", + "X-Request-ID": "a151d565-76e5-4a6a-9fe7-ba433f8e6a1c" + }, + "ResponseBody": { + "dataSourceCredentialId": "54c27ae6-9e87-417e-b24b-01c22b29de01", + "dataSourceCredentialName": "java_create_data_source_cred_spf9d4ed61-2452-4680-9056-3a59ceed698e", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a36d9288-1edf-4212-9d87-a7391bf54f3f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b4e26870-a2ef-4b2a-85a1-eefeb7abeb46" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "714", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "12369335-bddb-41df-990c-496cbc052fd6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "54c27ae6-9e87-417e-b24b-01c22b29de01", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d5cb9780-7464-4f7f-9dfe-0139361abfe4", + "Content-Length": "1286", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1133", + "x-ms-region": "West US 2", + "X-Request-ID": "d5cb9780-7464-4f7f-9dfe-0139361abfe4" + }, + "ResponseBody": { + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "metrics": [ + { + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:24Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "54c27ae6-9e87-417e-b24b-01c22b29de01" + } }, - "Response" : { - "x-request-id" : "4382bfc8-d734-4768-b52d-1834d9f735ce", - "content-length" : "274", - "x-envoy-upstream-service-time" : "112", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4382bfc8-d734-4768-b52d-1834d9f735ce", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"a36d9288-1edf-4212-9d87-a7391bf54f3f\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con0b954587-053b-43d4-ad12-dd01b780c5ea\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3ac1a4dd-4ec4-42ce-8571-3afa6c5a084f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3063300f-6543-4da8-971b-70951ca3328b", + "Content-Length": "1286", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "304", + "x-ms-region": "West US 2", + "X-Request-ID": "3063300f-6543-4da8-971b-70951ca3328b" + }, + "ResponseBody": { + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "metrics": [ + { + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:24Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "54c27ae6-9e87-417e-b24b-01c22b29de01" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d0eaaf0b-ee74-460e-a0e4-44c5978378ec", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7095af3c-8e39-47f6-96eb-13a9865cadb6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkv62ed7d87-c2dc-4df9-926d-dce97c82b1c1", + "parameters": { + "keyVaultEndpoint": "https://0d7e609a-e8d6-457b-a974-46e8fd9fda7f.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "ed244d8f-9f94-47df-af79-d581d43fa33d", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/c31919c9-84e9-4c39-ae35-a7dd7c9023b1", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "457", + "x-ms-region": "West US 2", + "X-Request-ID": "ed244d8f-9f94-47df-af79-d581d43fa33d" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "27d233b1-cc64-465e-a482-9c04fe533047", - "content-length" : "1306", - "x-envoy-upstream-service-time" : "667", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "27d233b1-cc64-465e-a482-9c04fe533047", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"AzureSQLConnectionString\",\"credentialId\":\"a36d9288-1edf-4212-9d87-a7391bf54f3f\"}", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/c31919c9-84e9-4c39-ae35-a7dd7c9023b1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f9d30edb-26af-4c65-855e-6b3dd4e56e7d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fd656288-f060-401a-912b-2494b0fdf0bd", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "96", + "x-ms-region": "West US 2", + "X-Request-ID": "fd656288-f060-401a-912b-2494b0fdf0bd" + }, + "ResponseBody": { + "dataSourceCredentialId": "c31919c9-84e9-4c39-ae35-a7dd7c9023b1", + "dataSourceCredentialName": "java_create_data_source_cred_spkv62ed7d87-c2dc-4df9-926d-dce97c82b1c1", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://0d7e609a-e8d6-457b-a974-46e8fd9fda7f.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ce0ea6ef-ef6f-4a72-bd44-f19f2d658d8b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "718", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "61809681-3f04-4dd3-b63f-beca15d21d4f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "c31919c9-84e9-4c39-ae35-a7dd7c9023b1", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e469e2c2-2054-4566-a91e-b8cf71ee7353", + "Content-Length": "1290", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "707", + "x-ms-region": "West US 2", + "X-Request-ID": "e469e2c2-2054-4566-a91e-b8cf71ee7353" + }, + "ResponseBody": { + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "metrics": [ + { + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:24Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "c31919c9-84e9-4c39-ae35-a7dd7c9023b1" + } }, - "Response" : { - "x-request-id" : "cfdab470-78ca-49e8-a580-994a5800fc6c", - "content-length" : "1306", - "x-envoy-upstream-service-time" : "164", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cfdab470-78ca-49e8-a580-994a5800fc6c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"AzureSQLConnectionString\",\"credentialId\":\"a36d9288-1edf-4212-9d87-a7391bf54f3f\"}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "be120c5b-1e93-49ba-bd2b-c2fb6c0b0c06", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d2adf9ee-0873-4307-b886-2a841443dff0", + "Content-Length": "1290", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "132", + "x-ms-region": "West US 2", + "X-Request-ID": "d2adf9ee-0873-4307-b886-2a841443dff0" + }, + "ResponseBody": { + "dataFeedId": "cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "dataFeedName": "java_create_data_feed_test_sample6136ecf8-70a9-4de4-a018-ab368bbe1012", + "metrics": [ + { + "metricId": "acd15088-4650-4b8c-b85f-3cf307f18bdd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a00fa989-6ac2-48e6-a74d-be3f44800422", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:24Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "c31919c9-84e9-4c39-ae35-a7dd7c9023b1" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "bbeb43c5-55b9-4853-bdc9-095d82cab12a", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/cb03f1f0-405b-4ed8-a19b-082750e2ab4a", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:32 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "83e61ae5-0d9a-46b8-b222-ecfa513a8406", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "6186c385-d02d-4d5b-8ad4-e7daac18083c", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "362", + "x-ms-region": "West US 2", + "X-Request-ID": "6186c385-d02d-4d5b-8ad4-e7daac18083c" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "62709957-2a52-43ad-9006-f29f2e9388b4", - "content-length" : "0", - "x-envoy-upstream-service-time" : "246", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "62709957-2a52-43ad-9006-f29f2e9388b4", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/c603d450-e526-42ba-b924-3144f1a84988" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/e4a8d59f-ff3b-425d-a94a-50d34aa4531f", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "370ae297-cfe1-41ef-b367-9983dd39d6d7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "1255c188-2e4a-43ed-8fe4-d243e949683c", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "109", + "x-ms-region": "West US 2", + "X-Request-ID": "1255c188-2e4a-43ed-8fe4-d243e949683c" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/c603d450-e526-42ba-b924-3144f1a84988", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b3f38623-b303-46f3-9ba9-b4157af9068c" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/54c27ae6-9e87-417e-b24b-01c22b29de01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "27f7ff44-e1d8-4306-baa2-47035c59a3ec", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "71adb774-917a-4b3e-9360-6860ed4199cf", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "134", + "x-ms-region": "West US 2", + "X-Request-ID": "71adb774-917a-4b3e-9360-6860ed4199cf" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "d0b758b1-198b-4a31-9fed-cd4500b2c2d7", - "content-length" : "360", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d0b758b1-198b-4a31-9fed-cd4500b2c2d7", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"c603d450-e526-42ba-b924-3144f1a84988\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp929fba8a-70e8-41d9-8763-136eb0c5146f\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "411c3b6c-53ec-4b54-b6da-d901c80c890a", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "2aa1022e-d24f-4d60-a7b1-9b47733f3763", - "content-length" : "1298", - "x-envoy-upstream-service-time" : "634", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2aa1022e-d24f-4d60-a7b1-9b47733f3763", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"c603d450-e526-42ba-b924-3144f1a84988\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e68f1769-b52d-4b30-a8b7-161837b94196" - }, - "Response" : { - "x-request-id" : "36918649-4709-49f0-bcec-f82a68136ef5", - "content-length" : "1298", - "x-envoy-upstream-service-time" : "172", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "36918649-4709-49f0-bcec-f82a68136ef5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"c603d450-e526-42ba-b924-3144f1a84988\"}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3a543286-6cfa-497c-bdae-42d45d89824f", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "6df0a7ac-27f4-4e31-adae-d69bba79e0bf", - "content-length" : "0", - "x-envoy-upstream-service-time" : "197", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6df0a7ac-27f4-4e31-adae-d69bba79e0bf", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/eeb0866c-524a-4fd5-bba3-9a617425a99a" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/eeb0866c-524a-4fd5-bba3-9a617425a99a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "015b9be8-08e4-4614-976a-a22dd2a3aa31" - }, - "Response" : { - "x-request-id" : "18a086c7-150f-438d-a491-cd5cca317ae9", - "content-length" : "549", - "x-envoy-upstream-service-time" : "114", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "18a086c7-150f-438d-a491-cd5cca317ae9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"eeb0866c-524a-4fd5-bba3-9a617425a99a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv69f77b90-16e9-4316-94c2-2ed0bd910972\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://09af4580-c1ab-48bc-bdf9-04a1bfdfe7c8.vault.azure.net\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "37670fc1-cae7-4f7d-b9d9-a33efd99af4f", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "79bebaa7-8ddb-4ca4-b56c-92353e35f7e5", - "content-length" : "1302", - "x-envoy-upstream-service-time" : "669", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "79bebaa7-8ddb-4ca4-b56c-92353e35f7e5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"eeb0866c-524a-4fd5-bba3-9a617425a99a\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1c58f20c-5ef6-46c9-81ac-f8784b98c845" - }, - "Response" : { - "x-request-id" : "02bc7eee-b686-4b06-bcec-8c92b1eb7a67", - "content-length" : "1302", - "x-envoy-upstream-service-time" : "165", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "02bc7eee-b686-4b06-bcec-8c92b1eb7a67", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"79c91b77-5672-45c3-9a83-fcd6ad5e38b8\",\"dataFeedName\":\"java_create_data_feed_test_samplef2630942-30c7-4211-a007-bddb119d20cf\",\"metrics\":[{\"metricId\":\"e3ec1b48-f01f-4548-b2b8-3e3162ef4426\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f9324353-e0be-4d52-a240-cfd66516f99c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"eeb0866c-524a-4fd5-bba3-9a617425a99a\"}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/79c91b77-5672-45c3-9a83-fcd6ad5e38b8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "198dc2b0-d1a4-4333-8f28-198bbcd40d88" - }, - "Response" : { - "x-request-id" : "64637249-70dc-4244-b62e-d6411ef64a86", - "content-length" : "0", - "x-envoy-upstream-service-time" : "344", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "64637249-70dc-4244-b62e-d6411ef64a86", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/a36d9288-1edf-4212-9d87-a7391bf54f3f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "59d7d76f-30fc-4417-b9a8-22dd0b89eab2" - }, - "Response" : { - "x-request-id" : "45640f3e-0deb-4f31-8862-19e237141662", - "content-length" : "0", - "x-envoy-upstream-service-time" : "114", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "45640f3e-0deb-4f31-8862-19e237141662", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/c603d450-e526-42ba-b924-3144f1a84988", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0d97d355-5840-4540-8abf-738ce2adf567" - }, - "Response" : { - "x-request-id" : "c784fdc9-ba1f-417c-9b2e-875d7bb005f2", - "content-length" : "0", - "x-envoy-upstream-service-time" : "128", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c784fdc9-ba1f-417c-9b2e-875d7bb005f2", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/eeb0866c-524a-4fd5-bba3-9a617425a99a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7595ef2b-5ce5-4ec7-a82c-0f98a7ba6c42" - }, - "Response" : { - "x-request-id" : "de217017-b76a-4463-8d48-94591ce88439", - "content-length" : "0", - "x-envoy-upstream-service-time" : "115", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "de217017-b76a-4463-8d48-94591ce88439", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/c31919c9-84e9-4c39-ae35-a7dd7c9023b1", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c7578f7f-0fef-4d2f-9fa9-7536267038fb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "7f9d2008-0a5d-47c9-8351-06d820ef46ba", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "148", + "x-ms-region": "West US 2", + "X-Request-ID": "7f9d2008-0a5d-47c9-8351-06d820ef46ba" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json index 8467a4d3dec11..eb500b0707ea5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testBlobStorage[1].json @@ -1,113 +1,372 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "003a1971-e066-4ac7-8c72-068cd64765ee", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "606", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "05d81a71-d6bd-49d5-a113-79b9f2e82569", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "f8dec558-df15-4f44-8706-ec12f3e3dfd8", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5438398f-8a6c-449e-9b11-3b41594b8d60", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1087", + "x-ms-region": "West US 2", + "X-Request-ID": "f8dec558-df15-4f44-8706-ec12f3e3dfd8" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "8745c2d0-9ccc-42d3-a7c0-186cd9372851", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "892", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8745c2d0-9ccc-42d3-a7c0-186cd9372851", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:36 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/45d50f9c-14e0-4d9b-8a1e-730d43936cd8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5438398f-8a6c-449e-9b11-3b41594b8d60", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e7bc2fea-5e50-463a-b8d7-2ac7de3632ae", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "27d24cd5-72b6-48b6-ac4b-4e38c5807db6", + "Content-Length": "1228", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "201", + "x-ms-region": "West US 2", + "X-Request-ID": "27d24cd5-72b6-48b6-ac4b-4e38c5807db6" + }, + "ResponseBody": { + "dataFeedId": "5438398f-8a6c-449e-9b11-3b41594b8d60", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", + "metrics": [ + { + "metricId": "188e2746-02ca-44f4-b7f4-95575e4c7739", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b862d804-971d-4d0b-a904-a93fe98d0106", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:20Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/45d50f9c-14e0-4d9b-8a1e-730d43936cd8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0528b202-b1e3-4679-a929-415244748804" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5438398f-8a6c-449e-9b11-3b41594b8d60", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "666", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "681fadd0-158d-4bcb-9c70-9aadf3b21436", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureBlob", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "de80260a-b02c-4ec2-a665-59095c0d9c12", + "Content-Length": "1238", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1274", + "x-ms-region": "West US 2", + "X-Request-ID": "de80260a-b02c-4ec2-a665-59095c0d9c12" + }, + "ResponseBody": { + "dataFeedId": "5438398f-8a6c-449e-9b11-3b41594b8d60", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", + "metrics": [ + { + "metricId": "188e2746-02ca-44f4-b7f4-95575e4c7739", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b862d804-971d-4d0b-a904-a93fe98d0106", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:20Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "86f4da0d-e092-4041-accd-a323648b47be", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "301", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "86f4da0d-e092-4041-accd-a323648b47be", - "retry-after" : "0", - "Content-Length" : "1242", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"45d50f9c-14e0-4d9b-8a1e-730d43936cd8\",\"dataFeedName\":\"java_create_data_feed_test_sampleb7ee415d-7dc5-4d1f-a5fa-a0999b29ee19\",\"metrics\":[{\"metricId\":\"d6fe86cd-816c-4b69-9c4f-fb0498d4dedc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"accccdd2-5e40-4626-a8e2-a48a0cac5b60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}", - "Date" : "Tue, 21 Mar 2023 22:16:36 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5438398f-8a6c-449e-9b11-3b41594b8d60", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d870408a-0009-497f-9616-9d288ec8a1f3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9a80ceb8-50d4-4b93-8f71-c810b00055e7", + "Content-Length": "1238", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "168", + "x-ms-region": "West US 2", + "X-Request-ID": "9a80ceb8-50d4-4b93-8f71-c810b00055e7" + }, + "ResponseBody": { + "dataFeedId": "5438398f-8a6c-449e-9b11-3b41594b8d60", + "dataFeedName": "java_create_data_feed_test_sample88e152a0-9eaf-4e4c-986d-b0700ae75c4d", + "metrics": [ + { + "metricId": "188e2746-02ca-44f4-b7f4-95575e4c7739", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "b862d804-971d-4d0b-a904-a93fe98d0106", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:20Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "%Y/%m/%d/%h/JsonFormatV2.json" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/45d50f9c-14e0-4d9b-8a1e-730d43936cd8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ef4afe85-c0a5-439e-8a37-c59ec62ab130", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "be4bd22c-55c3-45cd-a8f9-736f22170fd6", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "634", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "be4bd22c-55c3-45cd-a8f9-736f22170fd6", - "retry-after" : "0", - "Content-Length" : "1252", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"45d50f9c-14e0-4d9b-8a1e-730d43936cd8\",\"dataFeedName\":\"java_create_data_feed_test_sampleb7ee415d-7dc5-4d1f-a5fa-a0999b29ee19\",\"metrics\":[{\"metricId\":\"d6fe86cd-816c-4b69-9c4f-fb0498d4dedc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"accccdd2-5e40-4626-a8e2-a48a0cac5b60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/45d50f9c-14e0-4d9b-8a1e-730d43936cd8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4f96c836-e045-43b0-911c-4c2951fd955b" - }, - "Response" : { - "x-request-id" : "c3e0838f-20ab-43fa-bcfe-1bc16c18a93f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c3e0838f-20ab-43fa-bcfe-1bc16c18a93f", - "retry-after" : "0", - "Content-Length" : "1252", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"45d50f9c-14e0-4d9b-8a1e-730d43936cd8\",\"dataFeedName\":\"java_create_data_feed_test_sampleb7ee415d-7dc5-4d1f-a5fa-a0999b29ee19\",\"metrics\":[{\"metricId\":\"d6fe86cd-816c-4b69-9c4f-fb0498d4dedc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"accccdd2-5e40-4626-a8e2-a48a0cac5b60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/45d50f9c-14e0-4d9b-8a1e-730d43936cd8", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7999fff2-5bf9-4697-8aa3-6a398cf31532" - }, - "Response" : { - "x-request-id" : "2fc9f86a-17f2-4d55-b3b0-82721bfb6a7a", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "335", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2fc9f86a-17f2-4d55-b3b0-82721bfb6a7a", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/5438398f-8a6c-449e-9b11-3b41594b8d60", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f604dc07-30ec-47ad-a4cc-4b99a109b88a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "b77fdf9c-f758-41f9-8148-bb8566e37a0d", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "268", + "x-ms-region": "West US 2", + "X-Request-ID": "b77fdf9c-f758-41f9-8148-bb8566e37a0d" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json index 64431df1e1af1..7429d5e8c9a85 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataExplorer[1].json @@ -1,331 +1,965 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8316f20f-1d20-4594-854f-76296745d735", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "703", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ead9c84e-559f-4778-aa6b-d391377930f3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "7cf5cef0-22ad-4779-8a17-ff55263b0759", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1101", + "x-ms-region": "West US 2", + "X-Request-ID": "7cf5cef0-22ad-4779-8a17-ff55263b0759" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "6627212d-bd35-4ce7-bc3c-8d5d9d964378", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "900", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6627212d-bd35-4ce7-bc3c-8d5d9d964378", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:36 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "adae0a7d-8cb3-403b-9d71-af2bdf77c449", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f7ea8aa3-c7e2-47ad-9a5e-f79c0a40bb3d", + "Content-Length": "1325", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "207", + "x-ms-region": "West US 2", + "X-Request-ID": "f7ea8aa3-c7e2-47ad-9a5e-f79c0a40bb3d" + }, + "ResponseBody": { + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "metrics": [ + { + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:19Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "aa2b141f-c3f5-412a-a91e-6caca64a9790" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "763", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3bc48f0a-5fac-43a0-9a1b-fbab0add3cfa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9fd076e0-4c1a-4c76-b82d-464c94dc02e2", + "Content-Length": "1335", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "563", + "x-ms-region": "West US 2", + "X-Request-ID": "9fd076e0-4c1a-4c76-b82d-464c94dc02e2" + }, + "ResponseBody": { + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "metrics": [ + { + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:19Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "3019c2ff-338b-4408-b55c-800519e0a183", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "223", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3019c2ff-338b-4408-b55c-800519e0a183", - "retry-after" : "0", - "Content-Length" : "1339", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Tue, 21 Mar 2023 22:16:37 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "143325fe-66a5-4642-9ab0-de65a578aed8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c4940ef7-0a76-4f14-b6b4-fe4da8112cfe", + "Content-Length": "1335", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "166", + "x-ms-region": "West US 2", + "X-Request-ID": "c4940ef7-0a76-4f14-b6b4-fe4da8112cfe" + }, + "ResponseBody": { + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "metrics": [ + { + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:19Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d92a1078-fd0a-42bb-9bf0-3841de9dc523", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d673ad0d-0260-426d-bb5e-0edcd7b27372", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_spd1898970-57d0-41d7-8de4-a9856fcbe636", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "b3412a49-4ac2-462d-9631-edd8f0ef9a16", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/8651e3a2-fe0a-4310-9c5a-5c5e6b726129", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "618", + "x-ms-region": "West US 2", + "X-Request-ID": "b3412a49-4ac2-462d-9631-edd8f0ef9a16" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "4aa39805-c23f-45e5-9b0f-f694dbddb7ce", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "627", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4aa39805-c23f-45e5-9b0f-f694dbddb7ce", - "retry-after" : "0", - "Content-Length" : "1349", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8651e3a2-fe0a-4310-9c5a-5c5e6b726129", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fd00cefc-9577-43d0-95d4-65a525fd6fff", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0937058f-6810-4e92-ac8e-764d8a0b0c8c", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "620", + "x-ms-region": "West US 2", + "X-Request-ID": "0937058f-6810-4e92-ac8e-764d8a0b0c8c" + }, + "ResponseBody": { + "dataSourceCredentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129", + "dataSourceCredentialName": "java_create_data_source_cred_spd1898970-57d0-41d7-8de4-a9856fcbe636", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fc916550-ff7e-4ca7-856c-ae45cd486e86" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "818", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0581e33a-7eba-4fde-af97-244f81c63446", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fe4f6e62-64eb-4464-925f-4e076d04ae48", + "Content-Length": "1390", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "471", + "x-ms-region": "West US 2", + "X-Request-ID": "fe4f6e62-64eb-4464-925f-4e076d04ae48" + }, + "ResponseBody": { + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "metrics": [ + { + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:19Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129" + } }, - "Response" : { - "x-request-id" : "c3687b4a-3650-49e5-aee0-35b3ba4fac45", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "278", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c3687b4a-3650-49e5-aee0-35b3ba4fac45", - "retry-after" : "0", - "Content-Length" : "1349", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "09135416-965f-4724-a86f-171d909f7050", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6a95e48e-5886-4067-a16c-28778fbcddc3", + "Content-Length": "1390", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "142", + "x-ms-region": "West US 2", + "X-Request-ID": "6a95e48e-5886-4067-a16c-28778fbcddc3" + }, + "ResponseBody": { + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "metrics": [ + { + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:19Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "8651e3a2-fe0a-4310-9c5a-5c5e6b726129" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "915eda93-fcef-41f0-8a68-8530b6fa8d9a", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "becfcb98-24ba-4491-ad9e-4eb98d929db8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkvbdf8b09f-279b-4c36-a7bb-8fb7f7363c68", + "parameters": { + "keyVaultEndpoint": "https://1f6eebc7-8233-4e2e-b668-4a2429a990c6.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "c06651c5-52bc-4aef-ba2c-3912532388d3", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/eabc48cb-9f9c-4a75-ac01-54d3522e6bae", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "266", + "x-ms-region": "West US 2", + "X-Request-ID": "c06651c5-52bc-4aef-ba2c-3912532388d3" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "62e1b6e4-6c65-4d54-935b-c52bc67b41a9", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "287", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "62e1b6e4-6c65-4d54-935b-c52bc67b41a9", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/58dd48d5-917e-47c1-87e7-be830f9aed36" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/eabc48cb-9f9c-4a75-ac01-54d3522e6bae", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "de827fc5-110e-4872-8430-f3520e86c429", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "956dac26-82f7-47c3-816f-e3764158c51b", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "98", + "x-ms-region": "West US 2", + "X-Request-ID": "956dac26-82f7-47c3-816f-e3764158c51b" + }, + "ResponseBody": { + "dataSourceCredentialId": "eabc48cb-9f9c-4a75-ac01-54d3522e6bae", + "dataSourceCredentialName": "java_create_data_source_cred_spkvbdf8b09f-279b-4c36-a7bb-8fb7f7363c68", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://1f6eebc7-8233-4e2e-b668-4a2429a990c6.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/58dd48d5-917e-47c1-87e7-be830f9aed36", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc32c6af-a8c7-424f-984e-79372afc4db7" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "822", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "12010c4d-1384-4679-8924-625ed8a072c7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataExplorer", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "eabc48cb-9f9c-4a75-ac01-54d3522e6bae", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c20fea99-6262-4e8e-a968-4d24df9d55cb", + "Content-Length": "1394", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "874", + "x-ms-region": "West US 2", + "X-Request-ID": "c20fea99-6262-4e8e-a968-4d24df9d55cb" + }, + "ResponseBody": { + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "metrics": [ + { + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:19Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "eabc48cb-9f9c-4a75-ac01-54d3522e6bae" + } }, - "Response" : { - "x-request-id" : "a189d5a0-d762-45ca-af24-2df303d9ad9c", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "184", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a189d5a0-d762-45ca-af24-2df303d9ad9c", - "retry-after" : "0", - "Content-Length" : "360", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"58dd48d5-917e-47c1-87e7-be830f9aed36\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spc8c50bd9-9dbd-4df4-bd74-97d3f3768298\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9c69e13b-56a9-44e5-871e-45434049b5a9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "52f473af-4eba-44bf-a414-0bcc4fef151e", + "Content-Length": "1394", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "293", + "x-ms-region": "West US 2", + "X-Request-ID": "52f473af-4eba-44bf-a414-0bcc4fef151e" + }, + "ResponseBody": { + "dataFeedId": "48a8ba18-6093-4c7e-b98c-5060c199b26b", + "dataFeedName": "java_create_data_feed_test_samplecf95c52e-e964-4279-b276-f508fbca2dfa", + "metrics": [ + { + "metricId": "1d664d0d-6016-48a8-a309-618eec266450", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "bd8b677f-c7a5-4c95-ac2f-9779c47f1b2c", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataExplorer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:19Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime \u002B 1d;adsample| where Timestamp \u003E= StartDateTime and Timestamp \u003C EndDateTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "eabc48cb-9f9c-4a75-ac01-54d3522e6bae" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "288d866d-f13d-411b-a640-4510e1f93b87", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/48a8ba18-6093-4c7e-b98c-5060c199b26b", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "75cccf9e-5e84-49dd-b72d-5b14702d0564", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "14b82086-3f3e-4dde-a2a0-dc7a256d0424", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "929", + "x-ms-region": "West US 2", + "X-Request-ID": "14b82086-3f3e-4dde-a2a0-dc7a256d0424" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0f9f00fd-bce2-4f6d-abfe-910e16dfb97e", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "619", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0f9f00fd-bce2-4f6d-abfe-910e16dfb97e", - "retry-after" : "0", - "Content-Length" : "1404", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"58dd48d5-917e-47c1-87e7-be830f9aed36\"}", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/8651e3a2-fe0a-4310-9c5a-5c5e6b726129", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "666d864b-5cc3-4043-809e-b9bcf3e32465", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "d81c8df4-4928-4664-a8e9-f6950aa889ac", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "155", + "x-ms-region": "West US 2", + "X-Request-ID": "d81c8df4-4928-4664-a8e9-f6950aa889ac" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "73ab9f92-e25b-4103-9531-a90d997a89f8" - }, - "Response" : { - "x-request-id" : "2078be56-4a62-4169-984e-cfc9e43f916b", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "206", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2078be56-4a62-4169-984e-cfc9e43f916b", - "retry-after" : "0", - "Content-Length" : "1404", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"58dd48d5-917e-47c1-87e7-be830f9aed36\"}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9bb6bc38-ad79-4166-a96c-6b79b0cc64a5", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "07fd3441-d71f-4289-bc27-b0a3bc263a25", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "321", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "07fd3441-d71f-4289-bc27-b0a3bc263a25", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/63d4b56f-c18d-423a-90d3-a789df300613" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/63d4b56f-c18d-423a-90d3-a789df300613", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "329929b0-1e4d-411a-ad21-40b26ce25a0d" - }, - "Response" : { - "x-request-id" : "3955a813-addd-4212-be52-cc1195fa1750", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "136", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3955a813-addd-4212-be52-cc1195fa1750", - "retry-after" : "0", - "Content-Length" : "549", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"63d4b56f-c18d-423a-90d3-a789df300613\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkva2a189fb-cc2a-4d62-84ea-45266f57f864\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://3641d70a-7aa1-47e2-9e75-f61b95197240.vault.azure.net\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ce701cc2-ad6c-45d1-aca4-80779e5fbe58", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "2a481528-998e-453e-95cb-4574aaec3faf", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "607", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2a481528-998e-453e-95cb-4574aaec3faf", - "retry-after" : "0", - "Content-Length" : "1408", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"63d4b56f-c18d-423a-90d3-a789df300613\"}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e09a8073-097c-4812-a360-c8752f938b46" - }, - "Response" : { - "x-request-id" : "673e777b-490f-4f15-852a-4fd4f074fcfb", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "215", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "673e777b-490f-4f15-852a-4fd4f074fcfb", - "retry-after" : "0", - "Content-Length" : "1408", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"19760097-f905-4863-af00-5f6265131fd6\",\"dataFeedName\":\"java_create_data_feed_test_sampleed965555-2947-4e10-a89e-515615175cf2\",\"metrics\":[{\"metricId\":\"bd77c20d-3aef-4ea0-b9e9-558297d474aa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cf655843-ad8d-4cfb-9be3-7c72b249cfcf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let StartDateTime = datetime(@StartTime);let EndDateTime = StartDateTime + 1d;adsample| where Timestamp >= StartDateTime and Timestamp < EndDateTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"63d4b56f-c18d-423a-90d3-a789df300613\"}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/19760097-f905-4863-af00-5f6265131fd6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f8fb540-5fd2-4441-bcaf-335198b5f703" - }, - "Response" : { - "x-request-id" : "823459ac-2a33-4f1d-a688-949403daabdb", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "417", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "823459ac-2a33-4f1d-a688-949403daabdb", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/58dd48d5-917e-47c1-87e7-be830f9aed36", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e9496937-fe39-40da-beaf-95f67f00c331" - }, - "Response" : { - "x-request-id" : "7b3fc149-4f66-44af-8b42-915b0f974321", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "196", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7b3fc149-4f66-44af-8b42-915b0f974321", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/63d4b56f-c18d-423a-90d3-a789df300613", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0a31f891-98fd-43a0-b96b-c4dcda955fea" - }, - "Response" : { - "x-request-id" : "ba4c8063-71c4-496c-a22b-6c82900b46e9", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "150", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ba4c8063-71c4-496c-a22b-6c82900b46e9", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/eabc48cb-9f9c-4a75-ac01-54d3522e6bae", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:26 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "577c0a6b-6569-49ad-b678-fdc91954ad53", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "8742e7c1-5829-43c3-9af2-43bb7af0d018", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "203", + "x-ms-region": "West US 2", + "X-Request-ID": "8742e7c1-5829-43c3-9af2-43bb7af0d018" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json index 2bef572f7e6ce..9fb8e70f18798 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testDataLakeGen2[1].json @@ -1,395 +1,1094 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "65f6412d-857a-4b42-a1f3-6e2769ad1a93", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "660", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b731b077-f395-4941-8cfa-03d93cf30bbf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "accountName": "REDACTED", + "accountKey": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "2b0b6fa3-0524-42fa-8b43-33e991bbc6c3", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "844", + "x-ms-region": "West US 2", + "X-Request-ID": "2b0b6fa3-0524-42fa-8b43-33e991bbc6c3" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "332be0d9-edf0-4474-8313-4c2c3787c8c2", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "907", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "332be0d9-edf0-4474-8313-4c2c3787c8c2", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:36 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ff14db30-1140-4477-8131-9308d9aff6d1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fd5417a6-8f9a-45c1-948c-d0ed63d9b14a", + "Content-Length": "1288", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "153", + "x-ms-region": "West US 2", + "X-Request-ID": "fd5417a6-8f9a-45c1-948c-d0ed63d9b14a" + }, + "ResponseBody": { + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", + "metrics": [ + { + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:12Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f9398aca-b0cd-4a42-b9b7-e67307d16131" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "78bc00cd-0115-4567-a84c-7533e47fba96", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gena6472962-3ea3-4ea7-bf06-83b010c87f00", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "b04dfd78-85ec-4e0d-a647-d08a1ab88f28", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/c3d2d1d4-ae9a-4086-b4e5-91a229740a0e", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "457", + "x-ms-region": "West US 2", + "X-Request-ID": "b04dfd78-85ec-4e0d-a647-d08a1ab88f28" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "edb36a0c-abee-42ed-b7f8-28546314cf67", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "199", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "edb36a0c-abee-42ed-b7f8-28546314cf67", - "retry-after" : "0", - "Content-Length" : "1314", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"Basic\"}", - "Date" : "Tue, 21 Mar 2023 22:16:37 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/c3d2d1d4-ae9a-4086-b4e5-91a229740a0e", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2d29fd13-d202-41ec-ae31-3aefbecb8240", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "57052818-5a50-44b1-bf00-c98325e28fb6", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "234", + "x-ms-region": "West US 2", + "X-Request-ID": "57052818-5a50-44b1-bf00-c98325e28fb6" + }, + "ResponseBody": { + "dataSourceCredentialId": "c3d2d1d4-ae9a-4086-b4e5-91a229740a0e", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gena6472962-3ea3-4ea7-bf06-83b010c87f00", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7814506a-2542-4970-be9d-eefb5b5d3ccc", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "756", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f817532b-04ac-49b1-94cc-72944e6183da", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "c3d2d1d4-ae9a-4086-b4e5-91a229740a0e", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c70a594a-3ea3-4171-a0a2-c09dc5a02be9", + "Content-Length": "1358", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "798", + "x-ms-region": "West US 2", + "X-Request-ID": "c70a594a-3ea3-4171-a0a2-c09dc5a02be9" + }, + "ResponseBody": { + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", + "metrics": [ + { + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:12Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "c3d2d1d4-ae9a-4086-b4e5-91a229740a0e" + } }, - "Response" : { - "x-request-id" : "53af4855-b9d1-4334-b1d6-4609ecce4e63", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "310", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "53af4855-b9d1-4334-b1d6-4609ecce4e63", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:37 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/cf360619-912c-47eb-83ce-e721e26373b4" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a31e9dcf-d294-4663-bcb1-427d611125de", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8db9d6d3-95bd-4d6f-9814-b9ff8ab12ba5", + "Content-Length": "1358", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "201", + "x-ms-region": "West US 2", + "X-Request-ID": "8db9d6d3-95bd-4d6f-9814-b9ff8ab12ba5" + }, + "ResponseBody": { + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", + "metrics": [ + { + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:12Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "DataLakeGen2SharedKey", + "credentialId": "c3d2d1d4-ae9a-4086-b4e5-91a229740a0e" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/cf360619-912c-47eb-83ce-e721e26373b4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "75baae85-dabe-4731-824e-90172f2d65b8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "dd97685b-8de5-489e-a30f-c849ed918951", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_sp6d3dc73f-e499-4dac-8a05-e9f7d57bd717", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "94c6f3fd-48a2-41d2-8c12-f36ddc2b686f", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/59bce019-8217-4fcc-b0b2-3bc86d496d68", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "458", + "x-ms-region": "West US 2", + "X-Request-ID": "94c6f3fd-48a2-41d2-8c12-f36ddc2b686f" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9c1a1b34-a204-4b3e-be97-3e29609ebcc2", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "225", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9c1a1b34-a204-4b3e-be97-3e29609ebcc2", - "retry-after" : "0", - "Content-Length" : "273", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"cf360619-912c-47eb-83ce-e721e26373b4\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gene7bebc51-4c81-425c-88d5-eeb99c1e1ce3\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:16:37 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/59bce019-8217-4fcc-b0b2-3bc86d496d68", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b957a6d6-da63-4935-b1a4-f964b38262fb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8b36d02d-233c-4472-863f-0084c2869768", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "124", + "x-ms-region": "West US 2", + "X-Request-ID": "8b36d02d-233c-4472-863f-0084c2869768" + }, + "ResponseBody": { + "dataSourceCredentialId": "59bce019-8217-4fcc-b0b2-3bc86d496d68", + "dataSourceCredentialName": "java_create_data_source_cred_sp6d3dc73f-e499-4dac-8a05-e9f7d57bd717", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d24c68b4-dd82-4768-8bd8-075b873805ef", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "751", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "daffe655-5796-476c-8736-1992204a07e5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "59bce019-8217-4fcc-b0b2-3bc86d496d68", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ed5b23f8-a266-4293-9c11-7aa35e8f39de", + "Content-Length": "1353", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "622", + "x-ms-region": "West US 2", + "X-Request-ID": "ed5b23f8-a266-4293-9c11-7aa35e8f39de" + }, + "ResponseBody": { + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", + "metrics": [ + { + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:12Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "59bce019-8217-4fcc-b0b2-3bc86d496d68" + } }, - "Response" : { - "x-request-id" : "b9ef4456-d458-481a-b626-03a56a424bf0", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "738", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b9ef4456-d458-481a-b626-03a56a424bf0", - "retry-after" : "0", - "Content-Length" : "1384", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"cf360619-912c-47eb-83ce-e721e26373b4\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c85c89dd-7598-4b37-83cb-ed0d2e322244", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "83474993-3c79-4657-b782-0605fec03367", + "Content-Length": "1353", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "141", + "x-ms-region": "West US 2", + "X-Request-ID": "83474993-3c79-4657-b782-0605fec03367" + }, + "ResponseBody": { + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", + "metrics": [ + { + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:12Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "59bce019-8217-4fcc-b0b2-3bc86d496d68" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "668fec28-2dc3-4909-b074-30285f95be4d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "87ea8209-bc8b-4846-8110-1afa14b05b62", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkvfc60d3b7-3766-4939-918a-0749baf4e453", + "parameters": { + "keyVaultEndpoint": "https://072b98ac-9e58-478a-9ae6-3411bd614dc0.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "664fd8f7-c30e-4d5c-add3-8dd50d190f52", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/59e556c5-b906-4974-9253-82b8a296c5a7", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "231", + "x-ms-region": "West US 2", + "X-Request-ID": "664fd8f7-c30e-4d5c-add3-8dd50d190f52" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "67b96ded-8e4e-4744-8a4b-a7c3d8a208d9", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "67b96ded-8e4e-4744-8a4b-a7c3d8a208d9", - "retry-after" : "0", - "Content-Length" : "1384", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"cf360619-912c-47eb-83ce-e721e26373b4\"}", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/59e556c5-b906-4974-9253-82b8a296c5a7", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "30986aed-b992-4f7c-8a06-147ac6c8c040", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f7452ef0-228e-48cb-875e-a6dd6f250241", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "90", + "x-ms-region": "West US 2", + "X-Request-ID": "f7452ef0-228e-48cb-875e-a6dd6f250241" + }, + "ResponseBody": { + "dataSourceCredentialId": "59e556c5-b906-4974-9253-82b8a296c5a7", + "dataSourceCredentialName": "java_create_data_source_cred_spkvfc60d3b7-3766-4939-918a-0749baf4e453", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://072b98ac-9e58-478a-9ae6-3411bd614dc0.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5b27afa0-bfa5-460e-a167-9c473dd3e539", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "755", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d733d2d9-2d26-4738-9bce-9783e8f48f8d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "AzureDataLakeStorageGen2", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "59e556c5-b906-4974-9253-82b8a296c5a7", + "dataSourceParameter": { + "accountName": "REDACTED", + "fileSystemName": "adsample", + "directoryTemplate": "%Y/%m/%d", + "fileTemplate": "adsample.json" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e96907d4-3d68-4427-b716-790fa182d997", + "Content-Length": "1357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "528", + "x-ms-region": "West US 2", + "X-Request-ID": "e96907d4-3d68-4427-b716-790fa182d997" + }, + "ResponseBody": { + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", + "metrics": [ + { + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:12Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "59e556c5-b906-4974-9253-82b8a296c5a7" + } }, - "Response" : { - "x-request-id" : "5c94eb25-91aa-494d-9935-6b468dbed235", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "328", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5c94eb25-91aa-494d-9935-6b468dbed235", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/57774f5f-dc28-4a77-bda0-a4a32240f97a" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a59e0f60-b256-4bcb-bf4e-ff66ac610087", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2d21f98a-ca2f-4392-b9ff-3291e23a8a58", + "Content-Length": "1357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "143", + "x-ms-region": "West US 2", + "X-Request-ID": "2d21f98a-ca2f-4392-b9ff-3291e23a8a58" + }, + "ResponseBody": { + "dataFeedId": "4bc7df60-797c-4bc3-a168-f134d5640f15", + "dataFeedName": "java_create_data_feed_test_sample38182d2d-2a14-4e5a-9725-c8feb1f79a36", + "metrics": [ + { + "metricId": "995259c8-b173-496b-8178-6148ab492ca5", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "34130b56-e7da-4cee-9a85-f5d7d8579f28", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:12Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "59e556c5-b906-4974-9253-82b8a296c5a7" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/57774f5f-dc28-4a77-bda0-a4a32240f97a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3a0d6085-d3ab-4869-9d8e-7a5df6efd2ed" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4bc7df60-797c-4bc3-a168-f134d5640f15", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f01669d5-f891-41f8-b588-4b1c83c7fbc5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "4f39db2f-fb15-4aa3-91ac-f7fffe45cde8", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "320", + "x-ms-region": "West US 2", + "X-Request-ID": "4f39db2f-fb15-4aa3-91ac-f7fffe45cde8" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "32a554c0-b285-4064-949a-f78ab75588c6", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "160", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "32a554c0-b285-4064-949a-f78ab75588c6", - "retry-after" : "0", - "Content-Length" : "360", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"57774f5f-dc28-4a77-bda0-a4a32240f97a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp1ad9772c-ea46-4945-a672-3a2f4d54803e\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/c3d2d1d4-ae9a-4086-b4e5-91a229740a0e", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "80b16de8-a4ff-4e58-84d4-5f4881d51f8d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "7ba35958-0017-4e65-be52-29fc79e45c7b", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "187", + "x-ms-region": "West US 2", + "X-Request-ID": "7ba35958-0017-4e65-be52-29fc79e45c7b" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ee4f0a63-6f07-490c-a1ea-a40153fcd711", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/59bce019-8217-4fcc-b0b2-3bc86d496d68", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "88e2a2bd-578c-4d03-8b4d-39728a967f99", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "4bee27bf-c32d-4af8-b9a9-0672e2c2f6d3", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "158", + "x-ms-region": "West US 2", + "X-Request-ID": "4bee27bf-c32d-4af8-b9a9-0672e2c2f6d3" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9e47b83c-2524-4213-a582-f215956d9708", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "571", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9e47b83c-2524-4213-a582-f215956d9708", - "retry-after" : "0", - "Content-Length" : "1379", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"57774f5f-dc28-4a77-bda0-a4a32240f97a\"}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5caa3654-407a-409d-a3ec-a5f7ac519962" - }, - "Response" : { - "x-request-id" : "1a57c701-3162-41fc-bc55-fcc1fcb17fd9", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "227", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1a57c701-3162-41fc-bc55-fcc1fcb17fd9", - "retry-after" : "0", - "Content-Length" : "1379", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"57774f5f-dc28-4a77-bda0-a4a32240f97a\"}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7fa06704-467a-49fb-9359-e5763a9a088b", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "9049f2ad-30a1-41a3-90d9-723a3743689f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "219", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9049f2ad-30a1-41a3-90d9-723a3743689f", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b7339881-bfde-419e-a95d-aca7ad12e9bb" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b7339881-bfde-419e-a95d-aca7ad12e9bb", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7925ec3c-ca78-426a-a82e-40071b476917" - }, - "Response" : { - "x-request-id" : "bfd20a79-9429-494f-abe8-f1420c64a86c", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "164", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bfd20a79-9429-494f-abe8-f1420c64a86c", - "retry-after" : "0", - "Content-Length" : "549", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"b7339881-bfde-419e-a95d-aca7ad12e9bb\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv70f1dad4-2a18-464c-a463-cff23896e607\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://80bd7a31-4b21-472d-9693-19ec373b1815.vault.azure.net\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "71a7fb5e-52e1-46c1-90b9-ba3ad96777dd", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "78f412c1-ae8b-4a4a-b2fd-c7fd69723a8f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "614", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "78f412c1-ae8b-4a4a-b2fd-c7fd69723a8f", - "retry-after" : "0", - "Content-Length" : "1383", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"b7339881-bfde-419e-a95d-aca7ad12e9bb\"}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "519adc08-8f09-44b6-9c7e-d02bdd02af9e" - }, - "Response" : { - "x-request-id" : "b3a4b93a-0267-48ca-b3ae-3ef91a38e13b", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "184", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b3a4b93a-0267-48ca-b3ae-3ef91a38e13b", - "retry-after" : "0", - "Content-Length" : "1383", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"192002d9-c74e-4484-9646-1e40702bcf74\",\"dataFeedName\":\"java_create_data_feed_test_samplef913c6f7-95e5-499c-82ca-14168d3014e1\",\"metrics\":[{\"metricId\":\"fb99cde1-a74d-4cb9-9511-db5ca07cfb79\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01d9e934-4380-438d-b002-4790c376b436\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"b7339881-bfde-419e-a95d-aca7ad12e9bb\"}", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/192002d9-c74e-4484-9646-1e40702bcf74", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0e306751-4929-455d-be7e-0aa9be32cb43" - }, - "Response" : { - "x-request-id" : "7225279b-8448-4d00-8d9c-0df32532321b", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "331", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7225279b-8448-4d00-8d9c-0df32532321b", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/cf360619-912c-47eb-83ce-e721e26373b4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4d28e6a2-639a-46c6-8c54-9d521ba3be40" - }, - "Response" : { - "x-request-id" : "86fdeaca-2baf-4c6a-994c-a2720aebe7ac", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "197", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "86fdeaca-2baf-4c6a-994c-a2720aebe7ac", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/57774f5f-dc28-4a77-bda0-a4a32240f97a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b51bf144-8f42-42c9-99a8-e3e6c8b47fae" - }, - "Response" : { - "x-request-id" : "e9113efa-3423-46c2-a354-a7541e50b12d", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "136", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e9113efa-3423-46c2-a354-a7541e50b12d", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:43 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b7339881-bfde-419e-a95d-aca7ad12e9bb", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ff305b64-e59f-44e3-adc7-7a1c7c57b0ab" - }, - "Response" : { - "x-request-id" : "d632f8ab-e391-4411-b113-0c8aa26462d1", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "201", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d632f8ab-e391-4411-b113-0c8aa26462d1", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/59e556c5-b906-4974-9253-82b8a296c5a7", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1e38a6b7-36cb-4432-a9e0-25440ee86ad8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "7bea7a21-2be0-4517-afa4-b3ee636ca693", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "130", + "x-ms-region": "West US 2", + "X-Request-ID": "7bea7a21-2be0-4517-afa4-b3ee636ca693" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json index 831f081d0ed7f..f07728c9166a7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DataFeedWithCredentialsTest.testSqlServer[1].json @@ -1,440 +1,1255 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "535e58cc-2651-4e9b-ae74-a90e8297725e", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "599", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:18 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f70d4cf4-23e2-4c7d-9f48-579ae0947c1d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "66473b4a-04dc-4fdf-ac83-886d55077f34", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1023", + "x-ms-region": "West US 2", + "X-Request-ID": "66473b4a-04dc-4fdf-ac83-886d55077f34" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "b9f50ee6-7e58-4ed6-864c-672588f50570", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "839", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b9f50ee6-7e58-4ed6-864c-672588f50570", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:36 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "572a98fd-fd74-4161-8646-b9488e2fd2f3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6feb46f9-4f4c-47d4-a741-b9e5dbac60a5", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "185", + "x-ms-region": "West US 2", + "X-Request-ID": "6feb46f9-4f4c-47d4-a741-b9e5dbac60a5" + }, + "ResponseBody": { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6b8b87f3-0a9d-430c-b9d3-1cbf6bb329b6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "659", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a23c07e2-021b-49b2-a04b-1416ab8acbd7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ManagedIdentity", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6ae3770c-4a59-497a-8600-fa3991880914", + "Content-Length": "1231", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "666", + "x-ms-region": "West US 2", + "X-Request-ID": "6ae3770c-4a59-497a-8600-fa3991880914" + }, + "ResponseBody": { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Response" : { - "x-request-id" : "64151110-fb37-48b0-bf98-ea4d0291bda5", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "324", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "64151110-fb37-48b0-bf98-ea4d0291bda5", - "retry-after" : "0", - "Content-Length" : "1235", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Tue, 21 Mar 2023 22:16:37 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "968cd4b4-3651-4e40-9981-51b269482a6e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a00cb57f-d001-4b0a-86ae-8d1bdfc29959", + "Content-Length": "1231", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "147", + "x-ms-region": "West US 2", + "X-Request-ID": "a00cb57f-d001-4b0a-86ae-8d1bdfc29959" + }, + "ResponseBody": { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ManagedIdentity" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a869a4f-bece-4b4d-a630-0136da505718", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c86734fb-4bcc-49ba-ba1e-7d7b9cc8efa5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_confd7adafe-a2e5-4313-b204-4aa9bbe1f169", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "bb56da88-e989-4e29-b48b-5523ddeb27f5", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/614f38b9-7a84-4915-a300-1cb18a66f552", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "366", + "x-ms-region": "West US 2", + "X-Request-ID": "bb56da88-e989-4e29-b48b-5523ddeb27f5" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0c20cd6d-61d1-4311-b5d6-8c2008613ee1", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "638", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0c20cd6d-61d1-4311-b5d6-8c2008613ee1", - "retry-after" : "0", - "Content-Length" : "1245", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/614f38b9-7a84-4915-a300-1cb18a66f552", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "abe45de4-165e-435a-8bcb-42eef30ac5f4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9deffa16-5f2f-44e2-9561-84b0ebf481bc", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "143", + "x-ms-region": "West US 2", + "X-Request-ID": "9deffa16-5f2f-44e2-9561-84b0ebf481bc" + }, + "ResponseBody": { + "dataSourceCredentialId": "614f38b9-7a84-4915-a300-1cb18a66f552", + "dataSourceCredentialName": "java_create_data_source_cred_sql_confd7adafe-a2e5-4313-b204-4aa9bbe1f169", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3a23f958-52d7-4860-8554-ac779b973884" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "692", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:21 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f4c5e8e6-5d86-44d2-87a5-20516ca35f1e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "AzureSQLConnectionString", + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2f8393b9-03ba-4e1a-9074-178654c05677", + "Content-Length": "1294", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1478", + "x-ms-region": "West US 2", + "X-Request-ID": "2f8393b9-03ba-4e1a-9074-178654c05677" + }, + "ResponseBody": { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552" + } }, - "Response" : { - "x-request-id" : "2abce010-b2f0-4821-a2ec-81fdd4a29436", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "257", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2abce010-b2f0-4821-a2ec-81fdd4a29436", - "retry-after" : "0", - "Content-Length" : "1245", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ManagedIdentity\"}", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "dd3c76f5-3898-46fd-8b75-4da49505ee4a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cce74759-82a3-419a-ae28-a96d2d4896e1", + "Content-Length": "1294", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "158", + "x-ms-region": "West US 2", + "X-Request-ID": "cce74759-82a3-419a-ae28-a96d2d4896e1" + }, + "ResponseBody": { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "AzureSQLConnectionString", + "credentialId": "614f38b9-7a84-4915-a300-1cb18a66f552" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "da26588d-36f6-476d-a73f-337437858be7", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2895f024-be64-470c-912b-4bd76ff61f67", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_spfbff34db-7a47-488f-a3b0-e37928a7f063", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "9812e021-ec2a-4870-9216-b89750dc68f2", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/d60d1b43-f7ac-411b-b206-022190797990", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "282", + "x-ms-region": "West US 2", + "X-Request-ID": "9812e021-ec2a-4870-9216-b89750dc68f2" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "942fb19f-fcc0-4940-8ddf-eb1c3e5807f2", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "374", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "942fb19f-fcc0-4940-8ddf-eb1c3e5807f2", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:38 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d60d1b43-f7ac-411b-b206-022190797990", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "790e14c0-670b-4a06-b301-468ed8f14e67", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2e61ca93-a134-438e-8b5a-85a988b6a356", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "118", + "x-ms-region": "West US 2", + "X-Request-ID": "2e61ca93-a134-438e-8b5a-85a988b6a356" + }, + "ResponseBody": { + "dataSourceCredentialId": "d60d1b43-f7ac-411b-b206-022190797990", + "dataSourceCredentialName": "java_create_data_source_cred_spfbff34db-7a47-488f-a3b0-e37928a7f063", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ee387936-5057-495d-a584-2add6e2650d5" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "714", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "add3202e-8ea4-4168-a687-09f1f50f226d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipal", + "credentialId": "d60d1b43-f7ac-411b-b206-022190797990", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "673ddd8c-6edc-4cca-ae22-d6f4ac329ab2", + "Content-Length": "1286", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "863", + "x-ms-region": "West US 2", + "X-Request-ID": "673ddd8c-6edc-4cca-ae22-d6f4ac329ab2" + }, + "ResponseBody": { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "d60d1b43-f7ac-411b-b206-022190797990" + } }, - "Response" : { - "x-request-id" : "ecfda7e0-9043-403a-8d9a-c5672f264418", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "130", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ecfda7e0-9043-403a-8d9a-c5672f264418", - "retry-after" : "0", - "Content-Length" : "274", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con5692e3eb-e557-41f1-a903-3e0d19160b70\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c350b819-2e5e-46cb-98a2-966e834d331c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0ac134c9-b5f1-4da2-a138-c926e86e1c6c", + "Content-Length": "1286", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "393", + "x-ms-region": "West US 2", + "X-Request-ID": "0ac134c9-b5f1-4da2-a138-c926e86e1c6c" + }, + "ResponseBody": { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "d60d1b43-f7ac-411b-b206-022190797990" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4aec542b-160d-47dc-b4fe-ff587f8669db", - "Content-Type" : "application/merge-patch+json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e5013b05-e6bc-449f-81b8-2c524a50ee37", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkv085ff3db-6de3-461c-bfdf-da6a926e00b0", + "parameters": { + "keyVaultEndpoint": "https://64337005-46e3-4dd4-8c9e-4e90e70749f7.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "a14c0c11-dcd1-40b5-b2e6-a83628117151", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/ebd343a9-c794-427b-a5ff-bb54bd2a9e48", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "673", + "x-ms-region": "West US 2", + "X-Request-ID": "a14c0c11-dcd1-40b5-b2e6-a83628117151" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "9c2ddacc-5872-41c2-b56c-c7a17e011a75", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "734", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9c2ddacc-5872-41c2-b56c-c7a17e011a75", - "retry-after" : "0", - "Content-Length" : "1308", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"AzureSQLConnectionString\",\"credentialId\":\"85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd\"}", - "Date" : "Tue, 21 Mar 2023 22:16:39 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/ebd343a9-c794-427b-a5ff-bb54bd2a9e48", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4053aa50-c46a-4cfc-8392-6c564c25f56a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "56350ebf-84b4-4fc9-9316-2213e9466e72", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "123", + "x-ms-region": "West US 2", + "X-Request-ID": "56350ebf-84b4-4fc9-9316-2213e9466e72" + }, + "ResponseBody": { + "dataSourceCredentialId": "ebd343a9-c794-427b-a5ff-bb54bd2a9e48", + "dataSourceCredentialName": "java_create_data_source_cred_spkv085ff3db-6de3-461c-bfdf-da6a926e00b0", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://64337005-46e3-4dd4-8c9e-4e90e70749f7.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7108e56f-5626-4629-b661-5b1f70966783" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "718", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "824241e2-2352-4703-a62f-8d1a4070c044", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "dataFeedDescription": "", + "timestampColumn": "", + "dataStartFrom": "2019-10-01T00:00:00Z", + "startOffsetInSeconds": 0, + "maxConcurrency": 0, + "minRetryIntervalInSeconds": -1, + "stopRetryAfterInSeconds": -1, + "needRollup": "NoRollup", + "rollUpMethod": "None", + "fillMissingPointType": "PreviousValue", + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "status": "Active", + "actionLinkTemplate": "", + "authenticationType": "ServicePrincipalInKV", + "credentialId": "ebd343a9-c794-427b-a5ff-bb54bd2a9e48", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f11cfd0a-6e72-4aa5-a4f7-53c43e0de49c", + "Content-Length": "1290", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1008", + "x-ms-region": "West US 2", + "X-Request-ID": "f11cfd0a-6e72-4aa5-a4f7-53c43e0de49c" + }, + "ResponseBody": { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "ebd343a9-c794-427b-a5ff-bb54bd2a9e48" + } }, - "Response" : { - "x-request-id" : "cc46fb96-c6a1-4389-9071-126a78741e52", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "194", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cc46fb96-c6a1-4389-9071-126a78741e52", - "retry-after" : "0", - "Content-Length" : "1308", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"AzureSQLConnectionString\",\"credentialId\":\"85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd\"}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ef6d9001-5bb3-4afa-ab54-1e3446fc90cb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "61126527-e815-46b4-9684-874cb20cd6f1", + "Content-Length": "1290", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "207", + "x-ms-region": "West US 2", + "X-Request-ID": "61126527-e815-46b4-9684-874cb20cd6f1" + }, + "ResponseBody": { + "dataFeedId": "72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "dataFeedName": "java_create_data_feed_test_sample865f575d-98b7-4245-b2e2-3184523b763c", + "metrics": [ + { + "metricId": "2a5a5e60-93b1-46f6-898c-b6c68bcca52b", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "1f3c6e7b-eabf-447b-b4d8-18baff395b9b", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:18Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "ServicePrincipalInKV", + "credentialId": "ebd343a9-c794-427b-a5ff-bb54bd2a9e48" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e678f81-12ef-4711-a3a4-7c0b3fea13a5", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/72503f89-bb59-4cb5-a2fb-4f7e89c923d9", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "65e9128a-3ffd-4d7f-8990-26f9dcd7d393", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "cbac4bff-64ff-4c45-a864-a1a83c014b2e", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "576", + "x-ms-region": "West US 2", + "X-Request-ID": "cbac4bff-64ff-4c45-a864-a1a83c014b2e" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "70ad7174-2ef9-42a3-bdd5-c11c48f114cb", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "255", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "70ad7174-2ef9-42a3-bdd5-c11c48f114cb", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/443a3283-7d43-49fe-b74d-4be7902dde7d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/614f38b9-7a84-4915-a300-1cb18a66f552", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "acd52c11-3b4f-4c00-9cf6-22aa77307d19", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "53e1a3de-c7c6-4a0b-a5f2-9b33d14cde9d", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "230", + "x-ms-region": "West US 2", + "X-Request-ID": "53e1a3de-c7c6-4a0b-a5f2-9b33d14cde9d" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/443a3283-7d43-49fe-b74d-4be7902dde7d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4452d3d8-16de-43a9-b27d-1debfd9d2dc8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/d60d1b43-f7ac-411b-b206-022190797990", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7f6257c6-84c0-4a18-9b04-01dff7dc0c79", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "5a2da078-bbf3-4c79-b5a0-eee520833012", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "221", + "x-ms-region": "West US 2", + "X-Request-ID": "5a2da078-bbf3-4c79-b5a0-eee520833012" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "09bc6930-98b2-4355-b742-5946b347b1c4", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "104", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "09bc6930-98b2-4355-b742-5946b347b1c4", - "retry-after" : "0", - "Content-Length" : "360", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"443a3283-7d43-49fe-b74d-4be7902dde7d\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp34ff19a8-1bcb-467b-9e33-9707f97bd58e\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:40 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "89dc5f05-b081-4b2a-89fd-1ee46ce10beb", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "56f0fd3d-a63a-4b2f-8cd1-6da6c154bfd6", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "630", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "56f0fd3d-a63a-4b2f-8cd1-6da6c154bfd6", - "retry-after" : "0", - "Content-Length" : "1300", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"443a3283-7d43-49fe-b74d-4be7902dde7d\"}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f662099b-d2a7-43a9-9faf-3e56ef7edb1c" - }, - "Response" : { - "x-request-id" : "21e58ede-9dee-4be3-b46f-6cd18488935f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "159", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "21e58ede-9dee-4be3-b46f-6cd18488935f", - "retry-after" : "0", - "Content-Length" : "1300", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"443a3283-7d43-49fe-b74d-4be7902dde7d\"}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cb3e2005-08ce-4588-8c8f-a594937f4488", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "065200fc-ee8d-45b2-bfee-9ea3639d7606", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "260", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "065200fc-ee8d-45b2-bfee-9ea3639d7606", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d419264f-0614-4b19-b0d8-7db1df42c77d" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d419264f-0614-4b19-b0d8-7db1df42c77d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b914000-b10b-46d3-8bf6-0f3b727b2c2e" - }, - "Response" : { - "x-request-id" : "b4d37806-ab85-43ab-89fd-ceee6ce8054f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "144", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b4d37806-ab85-43ab-89fd-ceee6ce8054f", - "retry-after" : "0", - "Content-Length" : "549", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"d419264f-0614-4b19-b0d8-7db1df42c77d\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkvb6f8e64e-584c-4c3f-a36a-a5c6ab06497e\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://8c7a2129-da34-40ff-8c27-5da4dc05400c.vault.azure.net\"}}", - "Date" : "Tue, 21 Mar 2023 22:16:41 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6ff2df2a-b231-4410-bc5a-e96218e49b08", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "35550439-f896-4dea-be79-822946d546e4", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "778", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "35550439-f896-4dea-be79-822946d546e4", - "retry-after" : "0", - "Content-Length" : "1304", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"d419264f-0614-4b19-b0d8-7db1df42c77d\"}", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0fbde9fb-439b-434d-b0f4-de6d837a5f8e" - }, - "Response" : { - "x-request-id" : "bc32686e-ed4b-47fa-a8a6-2e0b0c5bea6a", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "195", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bc32686e-ed4b-47fa-a8a6-2e0b0c5bea6a", - "retry-after" : "0", - "Content-Length" : "1304", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d\",\"dataFeedName\":\"java_create_data_feed_test_sample9a2672b7-aaf5-44a0-9074-8317ea766686\",\"metrics\":[{\"metricId\":\"eba6aefb-9d23-4602-94f2-f8e25c486b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4122fe7d-2f5f-48f0-83de-4b17079902da\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"xiangyan@microsoft.com\"],\"viewers\":[],\"creator\":\"xiangyan@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2023-03-21T22:16:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"ServicePrincipalInKV\",\"credentialId\":\"d419264f-0614-4b19-b0d8-7db1df42c77d\"}", - "Date" : "Tue, 21 Mar 2023 22:16:42 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/a05a0b6a-9b32-4cd2-aac9-b0d1bace6a6d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7343cfe1-0d29-465e-b991-da45438f99cf" - }, - "Response" : { - "x-request-id" : "c14eac45-13b1-4e0b-9d9e-8a358ef042a3", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "501", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c14eac45-13b1-4e0b-9d9e-8a358ef042a3", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:43 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/85d9c8dd-9c5e-4c75-a8ab-b369e47e27cd", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "21a2ec4c-9690-4352-8cf7-85ae1caa934e" - }, - "Response" : { - "x-request-id" : "adce703b-848b-409a-825a-e90a0ae380d4", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "128", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "adce703b-848b-409a-825a-e90a0ae380d4", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:44 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/443a3283-7d43-49fe-b74d-4be7902dde7d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1e848581-fec5-4767-8630-4912c76cbc36" - }, - "Response" : { - "x-request-id" : "27cd5c2f-eb88-4bb7-89f7-c11405d960f8", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "180", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "27cd5c2f-eb88-4bb7-89f7-c11405d960f8", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:43 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d419264f-0614-4b19-b0d8-7db1df42c77d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "bc748819-9d55-434e-903e-eede78effc5a" - }, - "Response" : { - "x-request-id" : "8f4c932a-5555-441a-acc6-6af116fa5ef0", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "186", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8f4c932a-5555-441a-acc6-6af116fa5ef0", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:16:44 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/ebd343a9-c794-427b-a5ff-bb54bd2a9e48", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:28 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "61b6f8cc-e0a0-4087-a0f8-cece00741175", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "3d0e2776-d6be-49f6-81be-6e136217fa5c", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "268", + "x-ms-region": "West US 2", + "X-Request-ID": "3d0e2776-d6be-49f6-81be-6e136217fa5c" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json index 6d97c829789bf..c739737cb92ec 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createDataLakeGen2SharedKey[1].json @@ -1,65 +1,101 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a4b53430-1dae-4caa-b97e-ade69898e70f", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "165486c0-98f2-41ec-b10c-3ce3c0c6fa3d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen1a5f64ac-322f-43ed-941a-0f5805bcb82e", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "13056b1e-c5c5-4735-8f27-583e31b79a42", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/6bb7bb43-b002-491a-a5eb-552d8dc69be1", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "437", + "x-ms-region": "West US 2", + "X-Request-ID": "13056b1e-c5c5-4735-8f27-583e31b79a42" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0d88ff0b-2acc-4815-a735-a093daa49663", - "content-length" : "0", - "x-envoy-upstream-service-time" : "269", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0d88ff0b-2acc-4815-a735-a093daa49663", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/5fa2f4e8-eea4-4384-9763-15af07923a90" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6bb7bb43-b002-491a-a5eb-552d8dc69be1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ba3b1841-20b7-4915-afc6-024aaa08b3fa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b4496387-66b3-44bb-a51a-aa30840de18f", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "108", + "x-ms-region": "West US 2", + "X-Request-ID": "b4496387-66b3-44bb-a51a-aa30840de18f" + }, + "ResponseBody": { + "dataSourceCredentialId": "6bb7bb43-b002-491a-a5eb-552d8dc69be1", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen1a5f64ac-322f-43ed-941a-0f5805bcb82e", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/5fa2f4e8-eea4-4384-9763-15af07923a90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7ab858af-195d-41bc-88e5-a4aa901e48a0" - }, - "Response" : { - "x-request-id" : "5f5f95e6-0a9f-4d2a-95f9-2dc0799a10a1", - "content-length" : "273", - "x-envoy-upstream-service-time" : "138", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5f5f95e6-0a9f-4d2a-95f9-2dc0799a10a1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"5fa2f4e8-eea4-4384-9763-15af07923a90\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen9c16f190-8c70-49c4-9a85-c6795fe9279e\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/5fa2f4e8-eea4-4384-9763-15af07923a90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b29e1348-027e-410c-9b78-dc7f3d91341e" - }, - "Response" : { - "x-request-id" : "88b06014-bf22-44ae-9e49-91a24227590f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "143", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "88b06014-bf22-44ae-9e49-91a24227590f", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6bb7bb43-b002-491a-a5eb-552d8dc69be1", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "cb1c911e-d483-4125-8133-b3b6424b4863", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "b49c507a-1b8c-4e66-810e-9a5fb34b21cb", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "146", + "x-ms-region": "West US 2", + "X-Request-ID": "b49c507a-1b8c-4e66-810e-9a5fb34b21cb" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json index e00900a12e77d..5de518fda3562 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipalInKV[1].json @@ -1,65 +1,112 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "39f42171-3e62-4286-a85f-259b4502366e", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "510", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c8669ac3-b6d0-4d4a-9839-f3a4aa55f3a3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipalInKV", + "dataSourceCredentialName": "java_create_data_source_cred_spkvcd40369d-8d36-46b6-884b-50a956621eeb", + "parameters": { + "keyVaultEndpoint": "https://bdce118a-3f7b-4431-b7c2-80b3a4d86e36.vault.azure.net", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultClientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "servicePrincipalIdNameInKV": "DSClientID_1", + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "11116ef5-3cfd-42cb-9aae-d99c21cc44b8", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/4443f44c-f4a7-4b76-b504-e377936f6a41", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "277", + "x-ms-region": "West US 2", + "X-Request-ID": "11116ef5-3cfd-42cb-9aae-d99c21cc44b8" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "7ea5d2d0-2b00-4793-9bcb-620b3f04732b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "230", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7ea5d2d0-2b00-4793-9bcb-620b3f04732b", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/6dd2e4a3-bd1b-47d2-ac51-c80c7dba0e52" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/4443f44c-f4a7-4b76-b504-e377936f6a41", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6fb817fe-e29c-404c-ab5e-bb68968189cf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "48c93c07-b4eb-4964-9c8a-40096675ded8", + "Content-Length": "549", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "108", + "x-ms-region": "West US 2", + "X-Request-ID": "48c93c07-b4eb-4964-9c8a-40096675ded8" + }, + "ResponseBody": { + "dataSourceCredentialId": "4443f44c-f4a7-4b76-b504-e377936f6a41", + "dataSourceCredentialName": "java_create_data_source_cred_spkvcd40369d-8d36-46b6-884b-50a956621eeb", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipalInKV", + "parameters": { + "servicePrincipalSecretNameInKV": "DSClientSer_1", + "servicePrincipalIdNameInKV": "DSClientID_1", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "keyVaultClientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "keyVaultEndpoint": "https://bdce118a-3f7b-4431-b7c2-80b3a4d86e36.vault.azure.net" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/6dd2e4a3-bd1b-47d2-ac51-c80c7dba0e52", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "088c1678-2c69-4d11-9fa3-9741c4e1e68c" - }, - "Response" : { - "x-request-id" : "7b78bec7-e532-470b-9d2d-6e05c44e7b58", - "content-length" : "549", - "x-envoy-upstream-service-time" : "109", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7b78bec7-e532-470b-9d2d-6e05c44e7b58", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"6dd2e4a3-bd1b-47d2-ac51-c80c7dba0e52\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv963dbddd-b647-4639-a558-219a5e6daaf2\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://fafd87f9-5cb4-4bd4-ad3c-72345baf35d1.vault.azure.net\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/6dd2e4a3-bd1b-47d2-ac51-c80c7dba0e52", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8206350d-759b-43a1-8f04-4320eeedab50" - }, - "Response" : { - "x-request-id" : "1c86a7e2-2873-4cc7-bcf8-13a2ecfdecaf", - "content-length" : "0", - "x-envoy-upstream-service-time" : "124", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1c86a7e2-2873-4cc7-bcf8-13a2ecfdecaf", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/4443f44c-f4a7-4b76-b504-e377936f6a41", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e4a22e3d-995e-4949-9990-d8e7b407305e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "841e10cc-a152-4728-800c-b3f7dacf6ec7", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "160", + "x-ms-region": "West US 2", + "X-Request-ID": "841e10cc-a152-4728-800c-b3f7dacf6ec7" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json index 88984b5768ff4..44fc2dbdcf1a2 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createServicePrincipal[1].json @@ -1,65 +1,106 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "eb1baa49-71ca-409e-a45d-2d8fc1e9d864", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6f35dc9c-e293-4cb6-b84b-99dd7a818190", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_sp7f00435f-ad1b-4468-8dbd-589219d359df", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "09c132ea-44bd-432f-bdd9-4ecb2e72127a", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/3faf6d5a-b1d9-4b2b-a4e0-d0522b12b82f", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "335", + "x-ms-region": "West US 2", + "X-Request-ID": "09c132ea-44bd-432f-bdd9-4ecb2e72127a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "749c1acd-9511-4d4f-adc9-fbf5ed444b06", - "content-length" : "0", - "x-envoy-upstream-service-time" : "344", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "749c1acd-9511-4d4f-adc9-fbf5ed444b06", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/fd240172-33c9-4615-9bad-c25499dc2c0a" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/3faf6d5a-b1d9-4b2b-a4e0-d0522b12b82f", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6a44368d-ff6f-4220-9213-34c39b47cd4e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "407a28fa-67d2-4b45-be37-3d6533fc59b2", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "119", + "x-ms-region": "West US 2", + "X-Request-ID": "407a28fa-67d2-4b45-be37-3d6533fc59b2" + }, + "ResponseBody": { + "dataSourceCredentialId": "3faf6d5a-b1d9-4b2b-a4e0-d0522b12b82f", + "dataSourceCredentialName": "java_create_data_source_cred_sp7f00435f-ad1b-4468-8dbd-589219d359df", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/fd240172-33c9-4615-9bad-c25499dc2c0a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cf2861e5-33bd-4ce9-9e6f-1c03291f63ab" - }, - "Response" : { - "x-request-id" : "e1a21b2e-a884-4ced-82d2-eb8b60bb7eb6", - "content-length" : "360", - "x-envoy-upstream-service-time" : "104", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e1a21b2e-a884-4ced-82d2-eb8b60bb7eb6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"fd240172-33c9-4615-9bad-c25499dc2c0a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp985c25a3-e0a9-4d29-a24f-d4ea2d7252cc\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/fd240172-33c9-4615-9bad-c25499dc2c0a", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9bd65a4b-f27c-43c2-af6c-65e9d58f6c61" - }, - "Response" : { - "x-request-id" : "db4599d2-a7ec-45f8-aa54-cffbdc3cdd0a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "141", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "db4599d2-a7ec-45f8-aa54-cffbdc3cdd0a", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/3faf6d5a-b1d9-4b2b-a4e0-d0522b12b82f", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "467c6702-0af6-47d2-84af-be2cd879cb94", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "1b080eb3-ad0c-4d8d-aa49-4e894846f380", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "113", + "x-ms-region": "West US 2", + "X-Request-ID": "1b080eb3-ad0c-4d8d-aa49-4e894846f380" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json index 202a0694636bf..c3d58f45e4e5e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.createSqlConnectionString[1].json @@ -1,65 +1,101 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d9cd42e4-2748-4c61-b05b-4736efdf2f92", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4376aeb0-2bee-4eb5-8509-63775db32c1f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_conedae603b-ca1d-44f2-9da9-40121aa23adf", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "f83ec584-d0eb-4167-9286-d7d0f77e6339", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/6e47061a-de0a-4a16-883b-479e4bdbf76a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "306", + "x-ms-region": "West US 2", + "X-Request-ID": "f83ec584-d0eb-4167-9286-d7d0f77e6339" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "68fb905a-0f2f-4262-aa02-d21ac499c648", - "content-length" : "0", - "x-envoy-upstream-service-time" : "240", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "68fb905a-0f2f-4262-aa02-d21ac499c648", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/71878b1e-7020-4a8d-b56c-2da2a3b2377d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6e47061a-de0a-4a16-883b-479e4bdbf76a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7acb745f-f386-447c-83fe-c720d35b1e74", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "292b8155-e8a8-46ea-8a9d-c750e9fdbe4e", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "113", + "x-ms-region": "West US 2", + "X-Request-ID": "292b8155-e8a8-46ea-8a9d-c750e9fdbe4e" + }, + "ResponseBody": { + "dataSourceCredentialId": "6e47061a-de0a-4a16-883b-479e4bdbf76a", + "dataSourceCredentialName": "java_create_data_source_cred_sql_conedae603b-ca1d-44f2-9da9-40121aa23adf", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/71878b1e-7020-4a8d-b56c-2da2a3b2377d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f5e08a6b-2c4a-48c9-9a33-170696a42d9c" - }, - "Response" : { - "x-request-id" : "6c973ee9-efe0-41de-af99-8cd34bed518e", - "content-length" : "274", - "x-envoy-upstream-service-time" : "116", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6c973ee9-efe0-41de-af99-8cd34bed518e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"71878b1e-7020-4a8d-b56c-2da2a3b2377d\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con14c11183-3599-4b29-b5cf-a97b478f04a9\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/71878b1e-7020-4a8d-b56c-2da2a3b2377d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "71fa3217-8558-41d6-b550-8d4a71ebe277" - }, - "Response" : { - "x-request-id" : "9fb3e595-68ed-4762-b33a-56f727411b42", - "content-length" : "0", - "x-envoy-upstream-service-time" : "149", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9fb3e595-68ed-4762-b33a-56f727411b42", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6e47061a-de0a-4a16-883b-479e4bdbf76a", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8ae3d5d3-ee69-49f7-9616-ad1365f0f36a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "ce38c6cc-95c8-41a3-b057-662af84b19cf", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "126", + "x-ms-region": "West US 2", + "X-Request-ID": "ce38c6cc-95c8-41a3-b057-662af84b19cf" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json index a56bb49f6be36..205ab84d5a20d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialAsyncTest.testListDataSourceCredentials[1].json @@ -1,147 +1,266 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2440659a-ac4c-4408-8584-23c215bc4975", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "44eb0c60-c27e-4e56-b7c6-fcd50dd9c917", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con5b6a15cf-2e44-47dc-9e49-60e0856e5b3f", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "fa0b2ff8-473f-4a94-b04d-31f647518057", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/75fcd7ed-ed49-4004-b710-c82c5d3d2152", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "539", + "x-ms-region": "West US 2", + "X-Request-ID": "fa0b2ff8-473f-4a94-b04d-31f647518057" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "5148f6af-fc1c-4113-92da-01f04942907b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "594", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5148f6af-fc1c-4113-92da-01f04942907b", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:05 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d33eab4a-061e-422f-9583-536bf63f9ff4" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/75fcd7ed-ed49-4004-b710-c82c5d3d2152", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c6846fc3-18bb-4c6d-a878-b31dc6400f6f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d3b8d3e1-8d50-48b0-b7e8-19d23d2e23a0", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "119", + "x-ms-region": "West US 2", + "X-Request-ID": "d3b8d3e1-8d50-48b0-b7e8-19d23d2e23a0" + }, + "ResponseBody": { + "dataSourceCredentialId": "75fcd7ed-ed49-4004-b710-c82c5d3d2152", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con5b6a15cf-2e44-47dc-9e49-60e0856e5b3f", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d33eab4a-061e-422f-9583-536bf63f9ff4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "821742e8-32ee-45e1-9334-2d01921fed61" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e99db0e0-4bc5-49c3-8c14-78c5f7de42a2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gencb37f354-417e-42d5-b2c9-892e64083c9f", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "11630c55-c19b-4f8d-bc6b-b880f97ed8cd", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/b884cbfd-3854-483b-8091-8c435b238f42", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "399", + "x-ms-region": "West US 2", + "X-Request-ID": "11630c55-c19b-4f8d-bc6b-b880f97ed8cd" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "ab70e3a2-617f-44e9-84ac-0f846f119fe1", - "content-length" : "274", - "x-envoy-upstream-service-time" : "314", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ab70e3a2-617f-44e9-84ac-0f846f119fe1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"d33eab4a-061e-422f-9583-536bf63f9ff4\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con50289f8b-f9ea-48aa-a10d-d904e7dcffcb\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/b884cbfd-3854-483b-8091-8c435b238f42", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "47872ef5-3127-4bea-8c50-d71899d58aa8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "dec7828a-1dfb-4798-a4e3-1959cde2a294", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "110", + "x-ms-region": "West US 2", + "X-Request-ID": "dec7828a-1dfb-4798-a4e3-1959cde2a294" + }, + "ResponseBody": { + "dataSourceCredentialId": "b884cbfd-3854-483b-8091-8c435b238f42", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gencb37f354-417e-42d5-b2c9-892e64083c9f", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5b776a62-2d1e-4244-ac1a-2b4ffccee417", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d60a2dc9-a714-4bbe-b798-17d1ae13b80d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "71d3ab27-7b90-4079-8b5b-f2504133f7ac", + "Content-Length": "1379", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "526", + "x-ms-region": "West US 2", + "X-Request-ID": "71d3ab27-7b90-4079-8b5b-f2504133f7ac" + }, + "ResponseBody": { + "value": [ + { + "dataSourceCredentialId": "b884cbfd-3854-483b-8091-8c435b238f42", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gencb37f354-417e-42d5-b2c9-892e64083c9f", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + }, + { + "dataSourceCredentialId": "6e37cb48-f3c4-485d-89bf-643da443bba9", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3b36ae10-54cf-4963-9136-accbcf224177", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + }, + { + "dataSourceCredentialId": "fe731985-5e24-46b0-8e75-6ab2ec76385a", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con76a2f565-c8d1-4808-b9bb-72bea3b73d23", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + }, + { + "dataSourceCredentialId": "75fcd7ed-ed49-4004-b710-c82c5d3d2152", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con5b6a15cf-2e44-47dc-9e49-60e0856e5b3f", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + }, + { + "dataSourceCredentialId": "9388a986-5430-4666-a758-7461c2a48774", + "dataSourceCredentialName": "sample_credential", + "dataSourceCredentialDescription": "my credential", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "client_id", + "tenantId": "tenant_id" + } + } + ] + } }, - "Response" : { - "x-request-id" : "33084e53-c5ae-4784-9bf3-e4ee2ea9708e", - "content-length" : "0", - "x-envoy-upstream-service-time" : "409", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "33084e53-c5ae-4784-9bf3-e4ee2ea9708e", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e97eab59-f8ab-4bb3-bf8b-361241c0b76e" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/75fcd7ed-ed49-4004-b710-c82c5d3d2152", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4769990d-5074-4855-8aac-8f0dd86a8429", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "d86c8139-a31a-4316-8c19-f132d2ef0ade", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "187", + "x-ms-region": "West US 2", + "X-Request-ID": "d86c8139-a31a-4316-8c19-f132d2ef0ade" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e97eab59-f8ab-4bb3-bf8b-361241c0b76e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8330b521-8ccb-43d4-abf0-5341b8463b12" - }, - "Response" : { - "x-request-id" : "10f6ef06-59cd-4e0c-bcc9-546e131722ff", - "content-length" : "273", - "x-envoy-upstream-service-time" : "124", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "10f6ef06-59cd-4e0c-bcc9-546e131722ff", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"e97eab59-f8ab-4bb3-bf8b-361241c0b76e\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen1730dcc9-d5f4-4e82-9a17-c9bccf1b4fd0\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1ef648d5-08ba-453f-b282-56535bd0620e" - }, - "Response" : { - "x-request-id" : "0120c0d8-55ec-480b-804d-feacc01c90bd", - "content-length" : "6803", - "x-envoy-upstream-service-time" : "102", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0120c0d8-55ec-480b-804d-feacc01c90bd", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataSourceCredentialId\":\"e97eab59-f8ab-4bb3-bf8b-361241c0b76e\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen1730dcc9-d5f4-4e82-9a17-c9bccf1b4fd0\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"bf61bf8f-cced-4002-91d7-3cde7971ff0c\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gene473f19a-8810-4cf1-81af-9c78f846db3c\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"24de18de-29b6-44bb-b320-804b564d7c36\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_condcbd4355-716c-4b67-96f3-32381ac25c42\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"d33eab4a-061e-422f-9583-536bf63f9ff4\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con50289f8b-f9ea-48aa-a10d-d904e7dcffcb\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"bd8efb03-f896-47e2-a190-9a2236747685\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen932b8ba9-640d-4244-8cdb-3b3f1f643004\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"26d33b0e-4ee7-4c04-8197-b416e145767d\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_conb8050b60-ada1-44e1-9cab-f626df35c709\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"87028c8d-68f8-406c-8be6-5d734f89e85e\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gena761548c-6237-4d9b-95bd-fb8f936db184\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"2323af4c-7ba5-4d1b-96d4-553507357a2a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con660e66dc-12f3-4fa1-9a3c-b1b8a546b72f\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"d4e7c8ec-6f73-4326-a747-00f091f0a435\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spff0f9695-55d5-4f00-baf1-2bc84d8f342b\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}},{\"dataSourceCredentialId\":\"e5899900-be84-41be-a505-137ad292102a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkvad3fc993-9a23-4c41-a57c-986393834024\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://e9ed3b05-32e2-49a5-9d5f-5f3d7938d040.vault.azure.net\"}},{\"dataSourceCredentialId\":\"015ec99d-99c0-4818-912e-23bd8d6ae05a\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp312e324d-5bfd-4517-bf5e-e9ce51e2f5cb\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}},{\"dataSourceCredentialId\":\"364a8194-6dc3-4dea-be87-993199d7251c\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen66df73a4-0f49-487d-b0a2-361ef544fb71\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"ae3609ba-4e2b-4342-945b-34f7befc03e8\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkv7972c8e7-987d-48ef-9add-c8daee566e49\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://80ad7a59-e21e-4370-b236-e6aa39e58825.vault.azure.net\"}},{\"dataSourceCredentialId\":\"3dd810ae-cb71-4056-b4bc-d988e278af67\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp4d4b4ba8-326c-4d1a-8fef-161a5fa9c111\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}},{\"dataSourceCredentialId\":\"f728170a-cd4e-4a72-a06c-9c1adee9ca0f\",\"dataSourceCredentialName\":\"java_create_data_source_cred_spkva0d52f12-0893-408b-a960-74963bf764a9\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipalInKV\",\"parameters\":{\"servicePrincipalSecretNameInKV\":\"DSClientSer_1\",\"servicePrincipalIdNameInKV\":\"DSClientID_1\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\",\"keyVaultClientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"keyVaultEndpoint\":\"https://7ff0ba76-39f1-4b98-b4a4-1b3a9a354ba3.vault.azure.net\"}},{\"dataSourceCredentialId\":\"d8597169-af7d-4f4f-a59f-ece184eee962\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp71e373d1-bcc9-4ffa-8b6b-031a4812527d\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}},{\"dataSourceCredentialId\":\"87293ca3-ac3a-4142-b533-245656a0fa44\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con81ba4caa-73ad-4b12-a8d8-e7da5d8a9c84\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"72f2d603-c4a7-4808-af99-5bf69c88aae7\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen3ae57a51-8719-413c-906b-b40245409ec1\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"990062be-75c6-4bd3-9f7a-29c49b8c52ae\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_condc1e9ef9-fbb7-4e42-b9da-ed1b13ecfa9d\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"eafca70f-8a22-48c9-83cf-6b378952c83f\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen1190f838-5ddd-4b60-97c2-63561eb6ebcb\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/credentials?$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/d33eab4a-061e-422f-9583-536bf63f9ff4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "aac3b9e9-859e-4759-90b1-8f867b0d0dd4" - }, - "Response" : { - "x-request-id" : "9ed75c2e-6309-4f88-9e3b-37cb922997fd", - "content-length" : "0", - "x-envoy-upstream-service-time" : "121", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9ed75c2e-6309-4f88-9e3b-37cb922997fd", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e97eab59-f8ab-4bb3-bf8b-361241c0b76e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "57499028-2500-40f8-be0e-4a1d22b9fd20" - }, - "Response" : { - "x-request-id" : "e63e287e-ed22-426d-8e71-9ba7bb23ac93", - "content-length" : "0", - "x-envoy-upstream-service-time" : "140", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e63e287e-ed22-426d-8e71-9ba7bb23ac93", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/b884cbfd-3854-483b-8091-8c435b238f42", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d106efb5-158a-4802-8818-cf80463d362c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "a0ae7bd7-8bfd-4cbd-bb64-8f71e78035a4", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "226", + "x-ms-region": "West US 2", + "X-Request-ID": "a0ae7bd7-8bfd-4cbd-bb64-8f71e78035a4" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json index dd13d3c453b57..2aeaed9bb6e3f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createDataLakeGen2SharedKey[1].json @@ -1,68 +1,101 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1dd3024f-08d3-405e-886b-c7dea9f522d2", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "69a5cc94-b0e0-4443-814d-1a606379d2f0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen775684e3-bb60-432b-8cc5-47bb3370251a", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "87663bd2-6a39-4317-9c66-6a1f55f08a34", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/79988c71-e1ce-4dfd-8ac5-dc067cdf2ae0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "419", + "x-ms-region": "West US 2", + "X-Request-ID": "87663bd2-6a39-4317-9c66-6a1f55f08a34" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "3109761b-d933-4eaf-ac0e-1338cd806715", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "245", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3109761b-d933-4eaf-ac0e-1338cd806715", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:11:26 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e72aee87-f3a0-4cd4-8dde-007197061547" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/79988c71-e1ce-4dfd-8ac5-dc067cdf2ae0", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e4d8757b-dbac-4422-973d-e3d1b7427860", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "24a4e0e1-97dc-494b-bde8-b821cfbd0fd5", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "114", + "x-ms-region": "West US 2", + "X-Request-ID": "24a4e0e1-97dc-494b-bde8-b821cfbd0fd5" + }, + "ResponseBody": { + "dataSourceCredentialId": "79988c71-e1ce-4dfd-8ac5-dc067cdf2ae0", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen775684e3-bb60-432b-8cc5-47bb3370251a", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e72aee87-f3a0-4cd4-8dde-007197061547", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "81142c54-4a9b-45d8-8b18-37cb3ce7aac2" - }, - "Response" : { - "x-request-id" : "821d9b3c-e5a4-4958-8c60-79ee6965d6ff", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "139", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "821d9b3c-e5a4-4958-8c60-79ee6965d6ff", - "retry-after" : "0", - "Content-Length" : "273", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"e72aee87-f3a0-4cd4-8dde-007197061547\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gen6bb57c2c-d1c6-4017-a93e-0e2c856b8d71\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/e72aee87-f3a0-4cd4-8dde-007197061547", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "087dfa65-a284-41b0-a330-8c88b4692506" - }, - "Response" : { - "x-request-id" : "a1d58cb1-478d-4575-8e7a-7174f9c27b78", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "125", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a1d58cb1-478d-4575-8e7a-7174f9c27b78", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/79988c71-e1ce-4dfd-8ac5-dc067cdf2ae0", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "98a02aaf-b9d7-4520-aabe-2251c030db9e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "148f04f7-5f47-4d8a-a5bb-a5a81cf30500", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "181", + "x-ms-region": "West US 2", + "X-Request-ID": "148f04f7-5f47-4d8a-a5bb-a5a81cf30500" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json index 1204d199f1cf0..d66bb238d1b40 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createServicePrincipal[1].json @@ -1,68 +1,106 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4a081bba-1784-4cfa-805a-109f6b931223", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "313", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4f59f42a-b078-4028-ae76-9df4e36efe73", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "ServicePrincipal", + "dataSourceCredentialName": "java_create_data_source_cred_sp912d1505-290c-4355-8ddf-eb72d4afc76c", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "clientSecret": "45389ded-5e07-4e52-b225-4ae8f905afb5", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "eff688be-0182-4276-a2f9-47f3242fff15", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/340279b5-3932-4389-a2aa-671f49f79148", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "353", + "x-ms-region": "West US 2", + "X-Request-ID": "eff688be-0182-4276-a2f9-47f3242fff15" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "5b178ea2-c366-4ff0-b93d-b6d9c007a9ef", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "370", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5b178ea2-c366-4ff0-b93d-b6d9c007a9ef", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:11:26 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/31ca9bfa-60c3-4ebb-9801-6d36c9f7f975" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/340279b5-3932-4389-a2aa-671f49f79148", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "11fb04c6-7bb2-4b01-b9ee-7b468749afa8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d87b5e14-e2e0-47cc-b117-12c9d1307b69", + "Content-Length": "360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "150", + "x-ms-region": "West US 2", + "X-Request-ID": "d87b5e14-e2e0-47cc-b117-12c9d1307b69" + }, + "ResponseBody": { + "dataSourceCredentialId": "340279b5-3932-4389-a2aa-671f49f79148", + "dataSourceCredentialName": "java_create_data_source_cred_sp912d1505-290c-4355-8ddf-eb72d4afc76c", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "e70248b2-bffa-11eb-8529-0242ac130003", + "tenantId": "45389ded-5e07-4e52-b225-4ae8f905afb5" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/31ca9bfa-60c3-4ebb-9801-6d36c9f7f975", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "648828a1-ed64-4cd4-92a0-eae4594c6649" - }, - "Response" : { - "x-request-id" : "e343282c-3cc8-4322-a049-a5e468aa115f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e343282c-3cc8-4322-a049-a5e468aa115f", - "retry-after" : "0", - "Content-Length" : "360", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"31ca9bfa-60c3-4ebb-9801-6d36c9f7f975\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sp908c801d-3909-422c-b982-7e36a4104f6b\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"e70248b2-bffa-11eb-8529-0242ac130003\",\"tenantId\":\"45389ded-5e07-4e52-b225-4ae8f905afb5\"}}", - "Date" : "Tue, 21 Mar 2023 22:11:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/31ca9bfa-60c3-4ebb-9801-6d36c9f7f975", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f13a2a88-6078-4284-a877-c0bd393fcdf9" - }, - "Response" : { - "x-request-id" : "d5fe3e06-e992-4d4d-a21d-aa388cd32ad7", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "130", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d5fe3e06-e992-4d4d-a21d-aa388cd32ad7", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/340279b5-3932-4389-a2aa-671f49f79148", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0bd2bb0f-488b-4857-8466-b345544cf25a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "7f88f82b-e3fe-4586-9f7d-51ed909be6c1", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "148", + "x-ms-region": "West US 2", + "X-Request-ID": "7f88f82b-e3fe-4586-9f7d-51ed909be6c1" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json index 74caa5f382b38..6dc11b5a16075 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.createSqlConnectionString[1].json @@ -1,68 +1,101 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "59a072b8-c722-43b1-8a84-1f8083bf77e8", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7bbd303d-e515-4527-ad27-21f8ded6666d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con24abb247-e5b6-4ce1-a497-a76b945a680b", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "8a7f6570-8ce5-487a-a9a9-79a9d570b0b6", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/74152732-5c68-44de-ab51-8c09e48254c9", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "279", + "x-ms-region": "West US 2", + "X-Request-ID": "8a7f6570-8ce5-487a-a9a9-79a9d570b0b6" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "44e4b09d-7eda-4771-93a8-c1b256f84912", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "261", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "44e4b09d-7eda-4771-93a8-c1b256f84912", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/55761657-6044-4511-a12b-70df9373d7a4" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/74152732-5c68-44de-ab51-8c09e48254c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e9a40f30-8134-48d5-98e2-375254593adc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "97fc72f4-9054-446e-a3bf-1a3522223939", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "111", + "x-ms-region": "West US 2", + "X-Request-ID": "97fc72f4-9054-446e-a3bf-1a3522223939" + }, + "ResponseBody": { + "dataSourceCredentialId": "74152732-5c68-44de-ab51-8c09e48254c9", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con24abb247-e5b6-4ce1-a497-a76b945a680b", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/55761657-6044-4511-a12b-70df9373d7a4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "245e1849-769c-4535-a02e-643d83b9ba77" - }, - "Response" : { - "x-request-id" : "298f0463-c021-4ef8-8324-eadf231c0a60", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "174", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "298f0463-c021-4ef8-8324-eadf231c0a60", - "retry-after" : "0", - "Content-Length" : "274", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"55761657-6044-4511-a12b-70df9373d7a4\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_con2b958760-0a0b-42b3-9bdd-5e9bd30eb4c5\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/55761657-6044-4511-a12b-70df9373d7a4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c2e81497-02b7-4c2f-9ecf-bdeef2fdce8b" - }, - "Response" : { - "x-request-id" : "8793fbe7-0f81-4e21-89c8-f800000d7c12", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "127", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8793fbe7-0f81-4e21-89c8-f800000d7c12", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/74152732-5c68-44de-ab51-8c09e48254c9", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "008b49e7-9949-4ee2-8685-1893ceaeab0a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "8b9a32f4-45bb-4d52-b729-1c92b4df6d87", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "100", + "x-ms-region": "West US 2", + "X-Request-ID": "8b9a32f4-45bb-4d52-b729-1c92b4df6d87" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json index cdd7d86076097..10b4726212e18 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DatasourceCredentialTest.testListDataSourceCredentials[1].json @@ -1,154 +1,266 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "df7e4e4d-a702-4a22-94ff-0753e5b2aa39", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "202", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "40b5dcea-ad14-4ae8-8f1d-0ae5d0f9371e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "AzureSQLConnectionString", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con76a2f565-c8d1-4808-b9bb-72bea3b73d23", + "parameters": { + "connectionString": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "80982ddd-a156-4d78-b162-cf02a8ca6615", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/fe731985-5e24-46b0-8e75-6ab2ec76385a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "555", + "x-ms-region": "West US 2", + "X-Request-ID": "80982ddd-a156-4d78-b162-cf02a8ca6615" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0f1a61de-227c-4bc5-8907-5d82f3ff36c1", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "374", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0f1a61de-227c-4bc5-8907-5d82f3ff36c1", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/96b69b9e-3ede-480a-b998-613aa0107977" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/fe731985-5e24-46b0-8e75-6ab2ec76385a", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0ff03a8e-0503-4a57-8068-5caab6222b70", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3e20d07a-a2ec-4fc6-a734-8c9322ca9b90", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "202", + "x-ms-region": "West US 2", + "X-Request-ID": "3e20d07a-a2ec-4fc6-a734-8c9322ca9b90" + }, + "ResponseBody": { + "dataSourceCredentialId": "fe731985-5e24-46b0-8e75-6ab2ec76385a", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con76a2f565-c8d1-4808-b9bb-72bea3b73d23", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/96b69b9e-3ede-480a-b998-613aa0107977", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5a9956c0-f859-48ae-ad09-622b9b7ac206" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "195", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "71f491fe-4380-498b-9e91-51f21cef5c26", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3b36ae10-54cf-4963-9136-accbcf224177", + "parameters": { + "accountKey": "REDACTED" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "5175572f-4c0b-4ca5-9f74-844fe03f4c45", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/credentials/6e37cb48-f3c4-485d-89bf-643da443bba9", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "337", + "x-ms-region": "West US 2", + "X-Request-ID": "5175572f-4c0b-4ca5-9f74-844fe03f4c45" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "214e470f-701d-44d8-bb03-bacf42950485", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "144", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "214e470f-701d-44d8-bb03-bacf42950485", - "retry-after" : "0", - "Content-Length" : "274", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"96b69b9e-3ede-480a-b998-613aa0107977\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_coneed4ea4e-fff6-48c8-a1be-0d5846d2b922\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:11:27 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6e37cb48-f3c4-485d-89bf-643da443bba9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b1aad718-b1ff-4cc4-b4f6-25d8e322df93", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9420fe47-6c93-4473-b269-6850d5e29663", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "157", + "x-ms-region": "West US 2", + "X-Request-ID": "9420fe47-6c93-4473-b269-6850d5e29663" + }, + "ResponseBody": { + "dataSourceCredentialId": "6e37cb48-f3c4-485d-89bf-643da443bba9", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3b36ae10-54cf-4963-9136-accbcf224177", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6f97539b-3b5d-45d3-b760-6228459fa301", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "23bb317f-2a74-4d48-b5b3-6336a3be2514", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6b2c41cf-e037-44d6-9235-4caed7bc4ee5", + "Content-Length": "1379", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "565", + "x-ms-region": "West US 2", + "X-Request-ID": "6b2c41cf-e037-44d6-9235-4caed7bc4ee5" + }, + "ResponseBody": { + "value": [ + { + "dataSourceCredentialId": "b884cbfd-3854-483b-8091-8c435b238f42", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gencb37f354-417e-42d5-b2c9-892e64083c9f", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + }, + { + "dataSourceCredentialId": "6e37cb48-f3c4-485d-89bf-643da443bba9", + "dataSourceCredentialName": "java_create_data_source_cred_dlake_gen3b36ae10-54cf-4963-9136-accbcf224177", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "DataLakeGen2SharedKey", + "parameters": {} + }, + { + "dataSourceCredentialId": "fe731985-5e24-46b0-8e75-6ab2ec76385a", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con76a2f565-c8d1-4808-b9bb-72bea3b73d23", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + }, + { + "dataSourceCredentialId": "75fcd7ed-ed49-4004-b710-c82c5d3d2152", + "dataSourceCredentialName": "java_create_data_source_cred_sql_con5b6a15cf-2e44-47dc-9e49-60e0856e5b3f", + "dataSourceCredentialDescription": "", + "dataSourceCredentialType": "AzureSQLConnectionString", + "parameters": {} + }, + { + "dataSourceCredentialId": "9388a986-5430-4666-a758-7461c2a48774", + "dataSourceCredentialName": "sample_credential", + "dataSourceCredentialDescription": "my credential", + "dataSourceCredentialType": "ServicePrincipal", + "parameters": { + "clientId": "client_id", + "tenantId": "tenant_id" + } + } + ] + } }, - "Response" : { - "x-request-id" : "4563da42-f91d-4adb-ae19-a07db10ddd6f", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "235", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4563da42-f91d-4adb-ae19-a07db10ddd6f", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b81952e9-690b-4e84-a614-0c9fc39ce868" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/fe731985-5e24-46b0-8e75-6ab2ec76385a", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d9f641af-2c1a-443a-85ea-994953dfabc4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "aff6a792-3ea6-4518-8b1c-38342f8500d8", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "189", + "x-ms-region": "West US 2", + "X-Request-ID": "aff6a792-3ea6-4518-8b1c-38342f8500d8" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b81952e9-690b-4e84-a614-0c9fc39ce868", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4655b463-0bef-4554-871a-ce90fbe13f01" - }, - "Response" : { - "x-request-id" : "e98ce732-5d8b-48cb-8bb8-55d006118dd2", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "124", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e98ce732-5d8b-48cb-8bb8-55d006118dd2", - "retry-after" : "0", - "Content-Length" : "273", - "StatusCode" : "200", - "Body" : "{\"dataSourceCredentialId\":\"b81952e9-690b-4e84-a614-0c9fc39ce868\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gend8f92192-aea5-4dd5-a81d-05164e6f7432\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}}", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "945f584a-c93a-41db-b69e-1931c37f6d07" - }, - "Response" : { - "x-request-id" : "256dde52-e847-40b7-a5c0-824eb093f91e", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "223", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "256dde52-e847-40b7-a5c0-824eb093f91e", - "retry-after" : "0", - "Content-Length" : "830", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataSourceCredentialId\":\"b81952e9-690b-4e84-a614-0c9fc39ce868\",\"dataSourceCredentialName\":\"java_create_data_source_cred_dlake_gend8f92192-aea5-4dd5-a81d-05164e6f7432\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"DataLakeGen2SharedKey\",\"parameters\":{}},{\"dataSourceCredentialId\":\"96b69b9e-3ede-480a-b998-613aa0107977\",\"dataSourceCredentialName\":\"java_create_data_source_cred_sql_coneed4ea4e-fff6-48c8-a1be-0d5846d2b922\",\"dataSourceCredentialDescription\":\"\",\"dataSourceCredentialType\":\"AzureSQLConnectionString\",\"parameters\":{}},{\"dataSourceCredentialId\":\"9388a986-5430-4666-a758-7461c2a48774\",\"dataSourceCredentialName\":\"sample_credential\",\"dataSourceCredentialDescription\":\"my credential\",\"dataSourceCredentialType\":\"ServicePrincipal\",\"parameters\":{\"clientId\":\"client_id\",\"tenantId\":\"tenant_id\"}}]}", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/96b69b9e-3ede-480a-b998-613aa0107977", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d53cd149-e535-42b9-9f24-d50fb218ff88" - }, - "Response" : { - "x-request-id" : "780ea243-e603-4ae4-aaa0-2a9b4dfc9b61", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "156", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "780ea243-e603-4ae4-aaa0-2a9b4dfc9b61", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:11:28 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/credentials/b81952e9-690b-4e84-a614-0c9fc39ce868", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b36fb9ac-8535-4705-839b-53b42bcddc31" - }, - "Response" : { - "x-request-id" : "1b0062f7-d2fb-4372-83d7-dbba0db282db", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "162", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1b0062f7-d2fb-4372-83d7-dbba0db282db", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "204", - "Date" : "Tue, 21 Mar 2023 22:11:29 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/credentials/6e37cb48-f3c4-485d-89bf-643da443bba9", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:59 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c83329a3-aeb5-458e-8e0f-44894aebc335", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "a9c63b95-f41d-4387-ab0d-11f95c13d955", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "191", + "x-ms-region": "West US 2", + "X-Request-ID": "a9c63b95-f41d-4387-ab0d-11f95c13d955" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json index bb57d135c70ba..921f64f932f69 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json @@ -1,147 +1,731 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "60628e96-127a-415f-8af1-cc6e876809ed", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:04 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a2b00550-28ab-4bd4-8fbd-4f4b47401d41", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detection08a828ac-ecdf-4b51-8992-6f972d175a98", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "a3a82491-508d-4056-b63f-7c24717f7cdc", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/554e08e6-7a21-49ff-9f81-9e3ebf3f69c1", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1418", + "x-ms-region": "West US 2", + "X-Request-ID": "a3a82491-508d-4056-b63f-7c24717f7cdc" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "52752797-08e3-4e7f-b6d7-f87f3281a519", - "content-length" : "0", - "x-envoy-upstream-service-time" : "564", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "52752797-08e3-4e7f-b6d7-f87f3281a519", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/df57e5da-e858-4e24-9864-d62052a5613f" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/554e08e6-7a21-49ff-9f81-9e3ebf3f69c1", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "42d2c4c8-af0c-449b-a9ca-899c46513455", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "eef80dd6-174e-413a-835a-31d9584f82af", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "161", + "x-ms-region": "West US 2", + "X-Request-ID": "eef80dd6-174e-413a-835a-31d9584f82af" + }, + "ResponseBody": { + "dataFeedId": "554e08e6-7a21-49ff-9f81-9e3ebf3f69c1", + "dataFeedName": "java_data_feed_for_detection08a828ac-ecdf-4b51-8992-6f972d175a98", + "metrics": [ + { + "metricId": "602f6c03-bd2e-4d44-bd2e-7196ef543d4c", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3ffa324d-0b66-4ad0-9b62-dd1b7851aad2", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:04Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/df57e5da-e858-4e24-9864-d62052a5613f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f14ae87e-4a08-4fbe-b0be-0bed227c93aa" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "2215", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3d1d3127-531e-4ff0-b006-989a334899e3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", + "description": "test metric anomaly detection configuration", + "metricId": "602f6c03-bd2e-4d44-bd2e-7196ef543d4c", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "d08b8ef0-10e7-4c3b-a475-b87e701ee1b2", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/5a68c035-b8bf-45f7-82d5-3e764e61f563", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "307", + "x-ms-region": "West US 2", + "X-Request-ID": "d08b8ef0-10e7-4c3b-a475-b87e701ee1b2" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0eb7163d-3d86-45b8-83b7-3776248d6932", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "181", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0eb7163d-3d86-45b8-83b7-3776248d6932", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"df57e5da-e858-4e24-9864-d62052a5613f\",\"dataFeedName\":\"java_data_feed_for_detectiona829987e-77e4-495a-bb62-80f9f393c21f\",\"metrics\":[{\"metricId\":\"9d0311c7-4aa1-4858-9375-6801d8551844\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57a4f51b-2792-41cd-a304-d97de0f33de8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/5a68c035-b8bf-45f7-82d5-3e764e61f563", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d432dbb8-2ff0-4582-824a-e0d22f9ee133", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "48b6db94-fe05-4fbd-a386-3571c3cfb126", + "Content-Length": "2288", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "96", + "x-ms-region": "West US 2", + "X-Request-ID": "48b6db94-fe05-4fbd-a386-3571c3cfb126" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "5a68c035-b8bf-45f7-82d5-3e764e61f563", + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", + "description": "test metric anomaly detection configuration", + "metricId": "602f6c03-bd2e-4d44-bd2e-7196ef543d4c", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "54ce3f6c-5ae0-41f7-b2a9-7e3325d42f92", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/602f6c03-bd2e-4d44-bd2e-7196ef543d4c/enrichment/anomalyDetection/configurations", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "cacba102-58d2-4c63-b524-5103d0e46d89", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "86b47098-b9e7-4503-a463-cc3ea8b1e7ca", + "Content-Length": "2698", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "105", + "x-ms-region": "West US 2", + "X-Request-ID": "86b47098-b9e7-4503-a463-cc3ea8b1e7ca" + }, + "ResponseBody": { + "value": [ + { + "anomalyDetectionConfigurationId": "5a68c035-b8bf-45f7-82d5-3e764e61f563", + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", + "description": "test metric anomaly detection configuration", + "metricId": "602f6c03-bd2e-4d44-bd2e-7196ef543d4c", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + { + "anomalyDetectionConfigurationId": "b82a2a68-24ca-4c52-8f85-e3e970db5070", + "name": "Default", + "description": "", + "metricId": "602f6c03-bd2e-4d44-bd2e-7196ef543d4c", + "wholeMetricConfiguration": { + "smartDetectionCondition": { + "sensitivity": 79.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + } + ] + } }, - "Response" : { - "x-request-id" : "37e7de25-edde-4b96-b88d-97500a61153d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "296", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "37e7de25-edde-4b96-b88d-97500a61153d", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/713031db-9abf-4e74-a921-857d64d52d34" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/5a68c035-b8bf-45f7-82d5-3e764e61f563", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8c171c88-9b63-4b23-9e31-d1b779cead8d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "b5441f5d-aa3d-408c-a110-b382b5e5a8ee", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "87", + "x-ms-region": "West US 2", + "X-Request-ID": "b5441f5d-aa3d-408c-a110-b382b5e5a8ee" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/713031db-9abf-4e74-a921-857d64d52d34", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d6ec338-8214-4ecb-8791-3695288d7934" - }, - "Response" : { - "x-request-id" : "e504542e-8443-4559-99c6-a6a562835a63", - "content-length" : "2288", - "x-envoy-upstream-service-time" : "114", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e504542e-8443-4559-99c6-a6a562835a63", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"713031db-9abf-4e74-a921-857d64d52d34\",\"name\":\"testdetectionconfig81217e59-d4a2-4cc1-ae4d-0530dfec7c8b\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"9d0311c7-4aa1-4858-9375-6801d8551844\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/9d0311c7-4aa1-4858-9375-6801d8551844/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "10970bba-8c6b-463c-86bc-8bc0b75b2907" - }, - "Response" : { - "x-request-id" : "01347471-f205-443b-aa04-8d4ab80d6412", - "content-length" : "2698", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "01347471-f205-443b-aa04-8d4ab80d6412", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"anomalyDetectionConfigurationId\":\"713031db-9abf-4e74-a921-857d64d52d34\",\"name\":\"testdetectionconfig81217e59-d4a2-4cc1-ae4d-0530dfec7c8b\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"9d0311c7-4aa1-4858-9375-6801d8551844\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]},{\"anomalyDetectionConfigurationId\":\"e9d3b82e-356f-4111-b8b1-bff8a47f57e3\",\"name\":\"Default\",\"description\":\"\",\"metricId\":\"9d0311c7-4aa1-4858-9375-6801d8551844\",\"wholeMetricConfiguration\":{\"smartDetectionCondition\":{\"sensitivity\":79.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}},\"dimensionGroupOverrideConfigurations\":[],\"seriesOverrideConfigurations\":[]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/713031db-9abf-4e74-a921-857d64d52d34", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "981cd06b-8899-4092-8fc3-af03ddc879b2" - }, - "Response" : { - "x-request-id" : "840790d7-c60a-4d8e-9a0b-4e28682c4219", - "content-length" : "0", - "x-envoy-upstream-service-time" : "67", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "840790d7-c60a-4d8e-9a0b-4e28682c4219", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/df57e5da-e858-4e24-9864-d62052a5613f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "14ddb8cf-7d9c-467a-9f3a-38b93f681ab4" - }, - "Response" : { - "x-request-id" : "d940860a-98f2-425f-aed6-710eefcbecf0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "338", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d940860a-98f2-425f-aed6-710eefcbecf0", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/554e08e6-7a21-49ff-9f81-9e3ebf3f69c1", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "4f6628f2-6519-4b6f-bc3e-0dfd38c7fcaa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "d7aa36b6-5b18-45a6-8235-023eb0c92107", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "385", + "x-ms-region": "West US 2", + "X-Request-ID": "d7aa36b6-5b18-45a6-8235-023eb0c92107" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json index 5424e2522a88c..4b48563d6bf25 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForSeriesAndGroup[1].json @@ -1,126 +1,398 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e0467c95-fed4-4440-b07b-2425a452819f", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a5cc66ec-9889-48aa-a2eb-a76b79fd9364", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detectione2ac83c7-373c-4abe-b983-fae72a0f7cff", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "97798b35-9c02-469e-abb8-db624e610e3c", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f3327047-604d-4dee-a1ac-6fb127906516", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "822", + "x-ms-region": "West US 2", + "X-Request-ID": "97798b35-9c02-469e-abb8-db624e610e3c" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "da157a04-d845-412f-98ee-5b511e2c8f25", - "content-length" : "0", - "x-envoy-upstream-service-time" : "652", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "da157a04-d845-412f-98ee-5b511e2c8f25", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3d45708c-036f-4b13-8c63-41575afd3c03" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f3327047-604d-4dee-a1ac-6fb127906516", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "bfa29f32-6447-40ef-b36f-f77bb96f706d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "68fe5466-952f-4502-a165-5c53e7ed4158", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144", + "x-ms-region": "West US 2", + "X-Request-ID": "68fe5466-952f-4502-a165-5c53e7ed4158" + }, + "ResponseBody": { + "dataFeedId": "f3327047-604d-4dee-a1ac-6fb127906516", + "dataFeedName": "java_data_feed_for_detectione2ac83c7-373c-4abe-b983-fae72a0f7cff", + "metrics": [ + { + "metricId": "6d07773d-656f-4bea-bdc5-f1a4ed2451fd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "5d2a971d-3928-4012-a439-e86e9001d075", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3d45708c-036f-4b13-8c63-41575afd3c03", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "847b802e-2130-4572-b8b6-a759defa0ec6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "1143", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "15490d36-9afa-49e4-83ae-61019b9125b8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig19efb650-6a25-4a71-9f42-38b8431f189f", + "description": "test metric anomaly detection configuration", + "metricId": "6d07773d-656f-4bea-bdc5-f1a4ed2451fd", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "2e27bf87-46ff-433d-8e5a-0861b17f93cb", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/81b1e7bb-b725-4a82-920f-5519527d81fc", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "237", + "x-ms-region": "West US 2", + "X-Request-ID": "2e27bf87-46ff-433d-8e5a-0861b17f93cb" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "d760938c-ba08-4c2e-9e5f-87145876e174", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "185", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d760938c-ba08-4c2e-9e5f-87145876e174", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"3d45708c-036f-4b13-8c63-41575afd3c03\",\"dataFeedName\":\"java_data_feed_for_detection6f7a892a-ad43-4adc-b062-b768044db54c\",\"metrics\":[{\"metricId\":\"45c1ef19-9cb4-4209-b613-3fc374cdd9df\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a25b7bc8-87d1-4bb1-b90e-abd75658ba3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/81b1e7bb-b725-4a82-920f-5519527d81fc", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "195a7163-9fba-4cb3-8955-2ae3964c2379", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9c58fb04-40a3-4f15-9f76-b8a25b1e471b", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "94", + "x-ms-region": "West US 2", + "X-Request-ID": "9c58fb04-40a3-4f15-9f76-b8a25b1e471b" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "81b1e7bb-b725-4a82-920f-5519527d81fc", + "name": "testdetectionconfig19efb650-6a25-4a71-9f42-38b8431f189f", + "description": "test metric anomaly detection configuration", + "metricId": "6d07773d-656f-4bea-bdc5-f1a4ed2451fd", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5de32ef1-4250-45d9-92c0-88e2b1beaabf", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/81b1e7bb-b725-4a82-920f-5519527d81fc", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "eaed41a5-1a4e-47ae-aea6-aace61900d19", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "fd842a59-6b98-4923-936a-46d67a2a2eff", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "71", + "x-ms-region": "West US 2", + "X-Request-ID": "fd842a59-6b98-4923-936a-46d67a2a2eff" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "35991183-4fb8-4d3f-a17f-921c3147d9aa", - "content-length" : "0", - "x-envoy-upstream-service-time" : "280", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "35991183-4fb8-4d3f-a17f-921c3147d9aa", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a5c3f723-a484-4bbe-be28-5e3e5067fd98" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a5c3f723-a484-4bbe-be28-5e3e5067fd98", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "dd48b822-fbf4-42bd-9f1a-afa5b9d27be1" - }, - "Response" : { - "x-request-id" : "093686bd-c200-493c-b6bd-34fa9a113296", - "content-length" : "1216", - "x-envoy-upstream-service-time" : "153", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "093686bd-c200-493c-b6bd-34fa9a113296", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"a5c3f723-a484-4bbe-be28-5e3e5067fd98\",\"name\":\"testdetectionconfigd593c2dd-16ed-4ac2-b9e3-a26bd6a31168\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"45c1ef19-9cb4-4209-b613-3fc374cdd9df\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/a5c3f723-a484-4bbe-be28-5e3e5067fd98", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e046668a-3cd3-4bc5-b026-5e3e6b02effb" - }, - "Response" : { - "x-request-id" : "2256d127-9e6d-4018-812a-30d94f736d6b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "101", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2256d127-9e6d-4018-812a-30d94f736d6b", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/3d45708c-036f-4b13-8c63-41575afd3c03", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d38fe68b-f01b-42b6-98ed-5fc274d5b93a" - }, - "Response" : { - "x-request-id" : "a0a71755-4a82-44fc-91d8-8255ca8aa11c", - "content-length" : "0", - "x-envoy-upstream-service-time" : "331", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a0a71755-4a82-44fc-91d8-8255ca8aa11c", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/f3327047-604d-4dee-a1ac-6fb127906516", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "92ccdeea-8a89-49f7-b669-4d6540bfdfbe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "49d00720-529b-4fcf-8c75-87c494f3f769", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "357", + "x-ms-region": "West US 2", + "X-Request-ID": "49d00720-529b-4fcf-8c75-87c494f3f769" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json index 463d6a8ac8465..cfa744281119f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.createDetectionConfigurationForWholeSeries[1].json @@ -1,126 +1,332 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "631db421-cbca-486d-981d-5c7b4a23ef2f", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5c54a868-eb14-494b-8f13-c2e37e0171dd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detectione454bd27-f943-4a63-a542-ef3692bc1f1a", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "493e73df-7084-4ce6-9a89-f8105adea1b0", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0cdc2f9a-6b3f-46eb-95eb-9bca14d066ec", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "672", + "x-ms-region": "West US 2", + "X-Request-ID": "493e73df-7084-4ce6-9a89-f8105adea1b0" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "fc80e35a-ba74-4d59-bdc9-f70e2f019e34", - "content-length" : "0", - "x-envoy-upstream-service-time" : "541", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fc80e35a-ba74-4d59-bdc9-f70e2f019e34", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c7567592-c913-4d10-8c4c-fdd2e8b703c6" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0cdc2f9a-6b3f-46eb-95eb-9bca14d066ec", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "17e036c9-1e82-4cdc-a65d-6a10fa13ae7f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5d140cb4-bda8-4eab-9225-95b9291b7fcc", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "193", + "x-ms-region": "West US 2", + "X-Request-ID": "5d140cb4-bda8-4eab-9225-95b9291b7fcc" + }, + "ResponseBody": { + "dataFeedId": "0cdc2f9a-6b3f-46eb-95eb-9bca14d066ec", + "dataFeedName": "java_data_feed_for_detectione454bd27-f943-4a63-a542-ef3692bc1f1a", + "metrics": [ + { + "metricId": "8089e0b1-271c-496b-bcc0-bdea238ae1ec", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "6d1a9e29-c5ad-49c5-a504-b8a144fb2eb6", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:01Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c7567592-c913-4d10-8c4c-fdd2e8b703c6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c84ee555-6ef4-425e-9cbb-839d41c52668" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "761", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f3005a34-409c-4f0e-8aaa-cfc0b298607b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig8e8e0b98-1431-4911-a240-58df15582d8a", + "description": "test metric anomaly detection configuration", + "metricId": "8089e0b1-271c-496b-bcc0-bdea238ae1ec", + "wholeMetricConfiguration": { + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "e7ea1e93-f9ed-4cce-a111-7f24bf147e7a", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/52c80331-9271-4f3d-a073-8f7b8f46d091", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "167", + "x-ms-region": "West US 2", + "X-Request-ID": "e7ea1e93-f9ed-4cce-a111-7f24bf147e7a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "b2a2910a-a5a1-46b5-93bb-1a58b748b279", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b2a2910a-a5a1-46b5-93bb-1a58b748b279", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"c7567592-c913-4d10-8c4c-fdd2e8b703c6\",\"dataFeedName\":\"java_data_feed_for_detection6c702af8-95d0-4407-ba44-2d7db7995fa9\",\"metrics\":[{\"metricId\":\"a6cc0c63-22a8-468f-9a83-fc4657046cc3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"50ca29dd-b96a-4f91-ab7e-06339ef2a307\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/52c80331-9271-4f3d-a073-8f7b8f46d091", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e8c3d94a-5b9d-4176-be94-4d030e7c1196", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c789dd3b-dc0a-4c5b-95a0-b109c7d19d76", + "Content-Length": "834", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "100", + "x-ms-region": "West US 2", + "X-Request-ID": "c789dd3b-dc0a-4c5b-95a0-b109c7d19d76" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "52c80331-9271-4f3d-a073-8f7b8f46d091", + "name": "testdetectionconfig8e8e0b98-1431-4911-a240-58df15582d8a", + "description": "test metric anomaly detection configuration", + "metricId": "8089e0b1-271c-496b-bcc0-bdea238ae1ec", + "wholeMetricConfiguration": { + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "79bbebb2-fc1e-4164-b909-71338fc4abe7", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/52c80331-9271-4f3d-a073-8f7b8f46d091", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d8aa20aa-34cf-404c-a95b-0c2f727cd684", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "7de17c50-f0d3-4869-bb19-886f74ab5169", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "79", + "x-ms-region": "West US 2", + "X-Request-ID": "7de17c50-f0d3-4869-bb19-886f74ab5169" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "c688b07f-8514-4dbb-bf8c-ce14d5c69d84", - "content-length" : "0", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c688b07f-8514-4dbb-bf8c-ce14d5c69d84", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/25ec679c-a900-4b2a-98eb-aa2290ae910f" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/25ec679c-a900-4b2a-98eb-aa2290ae910f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0191ee4e-c13c-4865-a888-7f37dac9d9ea" - }, - "Response" : { - "x-request-id" : "a3b95cdb-bfbf-4629-8c78-49997e1ce3b2", - "content-length" : "834", - "x-envoy-upstream-service-time" : "117", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a3b95cdb-bfbf-4629-8c78-49997e1ce3b2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"25ec679c-a900-4b2a-98eb-aa2290ae910f\",\"name\":\"testdetectionconfigc3e1ee7a-a280-4e2a-a624-1ac29ed67082\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"a6cc0c63-22a8-468f-9a83-fc4657046cc3\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[],\"seriesOverrideConfigurations\":[]}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/25ec679c-a900-4b2a-98eb-aa2290ae910f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "514ccb8f-a011-4f58-8043-2d4245cd5e47" - }, - "Response" : { - "x-request-id" : "c5196933-1fcb-45e6-9e27-86b72afd1660", - "content-length" : "0", - "x-envoy-upstream-service-time" : "65", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c5196933-1fcb-45e6-9e27-86b72afd1660", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/c7567592-c913-4d10-8c4c-fdd2e8b703c6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "de25259e-b959-47f5-8350-82edfe85bb01" - }, - "Response" : { - "x-request-id" : "7a7f070a-bcd7-4c5f-a05f-f5dd9cfb9ede", - "content-length" : "0", - "x-envoy-upstream-service-time" : "326", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7a7f070a-bcd7-4c5f-a05f-f5dd9cfb9ede", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/0cdc2f9a-6b3f-46eb-95eb-9bca14d066ec", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "bb510710-579c-4ee4-872c-a818877ff021", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "95546105-848f-4851-88af-7d7091e94fca", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "336", + "x-ms-region": "West US 2", + "X-Request-ID": "95546105-848f-4851-88af-7d7091e94fca" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json index 21b456accc6e2..d05e924e82194 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationAsyncTest.updateDetectionConfiguration[1].json @@ -1,169 +1,940 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c8fc3205-4d76-4d57-9661-d0ab27f17a48", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "205da415-4949-42e8-962e-7a0c0d0a17a0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detection9c917640-15dc-400d-9d58-5a3b9517ac59", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "d5668c20-38e0-4d37-bfac-46a34bde77ba", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/71983cf3-e968-4ec2-a407-80363cba3647", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1436", + "x-ms-region": "West US 2", + "X-Request-ID": "d5668c20-38e0-4d37-bfac-46a34bde77ba" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "22061dfc-aea4-4f76-a3fe-998dfec0b4e0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "474", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "22061dfc-aea4-4f76-a3fe-998dfec0b4e0", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2fb8b6e4-3af6-440a-9d2b-6d82bab06812" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/71983cf3-e968-4ec2-a407-80363cba3647", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fcca5592-deb0-448f-9216-68323aa73ed6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "decbae36-115f-4298-8b8f-641d10237ecf", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "129", + "x-ms-region": "West US 2", + "X-Request-ID": "decbae36-115f-4298-8b8f-641d10237ecf" + }, + "ResponseBody": { + "dataFeedId": "71983cf3-e968-4ec2-a407-80363cba3647", + "dataFeedName": "java_data_feed_for_detection9c917640-15dc-400d-9d58-5a3b9517ac59", + "metrics": [ + { + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d1f9232d-a523-41ba-9518-438b7ac58713", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:09Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2fb8b6e4-3af6-440a-9d2b-6d82bab06812", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6c2c62ef-85c5-4fa6-a7c8-4a4c54ffdbfb" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "2038", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "63028e8a-f80f-46b8-9823-cf1b8ad82107", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", + "description": "test metric anomaly detection configuration", + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "ae6b4de6-ec94-4400-9c77-53a5abff14f1", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/46903264-e211-438c-872f-6e796e07eeee", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "233", + "x-ms-region": "West US 2", + "X-Request-ID": "ae6b4de6-ec94-4400-9c77-53a5abff14f1" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "b37d1c0e-b4d4-4ee3-9f76-67bfc07604d9", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "176", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b37d1c0e-b4d4-4ee3-9f76-67bfc07604d9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"2fb8b6e4-3af6-440a-9d2b-6d82bab06812\",\"dataFeedName\":\"java_data_feed_for_detectiond736926b-8bf9-48f5-ad40-750baa5868a8\",\"metrics\":[{\"metricId\":\"c4a5a8fc-d69c-4878-bfaa-2eeedf795273\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7f7a1ddd-12d8-475d-bed9-f443d138be07\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/46903264-e211-438c-872f-6e796e07eeee", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "57bae984-016b-40ec-b1ac-98665594d288", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "329dfa7c-0692-4a66-8982-fad5f6a1d819", + "Content-Length": "2111", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "104", + "x-ms-region": "West US 2", + "X-Request-ID": "329dfa7c-0692-4a66-8982-fad5f6a1d819" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "46903264-e211-438c-872f-6e796e07eeee", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", + "description": "test metric anomaly detection configuration", + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cf8766c4-8282-4fba-ab79-d176a9b09424", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/46903264-e211-438c-872f-6e796e07eeee", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "1962", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8cef41e5-d0bc-4454-8d52-c68a026ff605", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", + "description": "test metric anomaly detection configuration", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c33b3c5e-8f62-40cb-baa5-f31b92b63119", + "Content-Length": "2085", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "308", + "x-ms-region": "West US 2", + "X-Request-ID": "c33b3c5e-8f62-40cb-baa5-f31b92b63119" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "46903264-e211-438c-872f-6e796e07eeee", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", + "description": "test metric anomaly detection configuration", + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + } }, - "Response" : { - "x-request-id" : "cbce0f0b-98cc-4b3f-aa68-00a26ef10a3c", - "content-length" : "0", - "x-envoy-upstream-service-time" : "261", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cbce0f0b-98cc-4b3f-aa68-00a26ef10a3c", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/455eb856-c258-4a31-bef1-67269e684622" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/46903264-e211-438c-872f-6e796e07eeee", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1754350b-21e5-49b7-bd11-439fe750c1a6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "de405920-3e7d-4da2-ac8d-6ec394696c4c", + "Content-Length": "2085", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "80", + "x-ms-region": "West US 2", + "X-Request-ID": "de405920-3e7d-4da2-ac8d-6ec394696c4c" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "46903264-e211-438c-872f-6e796e07eeee", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", + "description": "test metric anomaly detection configuration", + "metricId": "70bc0e26-1e40-41fe-9010-f6e88ec89126", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/455eb856-c258-4a31-bef1-67269e684622", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c9011bde-5717-49de-ba9c-0b70abb53fa9" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/46903264-e211-438c-872f-6e796e07eeee", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "7e54b01c-ee9b-42ee-af22-157b36e6728a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "0b430ea0-d849-4b67-8fc9-95a8b3839dc7", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "72", + "x-ms-region": "West US 2", + "X-Request-ID": "0b430ea0-d849-4b67-8fc9-95a8b3839dc7" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "90ddff42-8834-4788-af88-38ef980a626a", - "content-length" : "2111", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "90ddff42-8834-4788-af88-38ef980a626a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"455eb856-c258-4a31-bef1-67269e684622\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"c4a5a8fc-d69c-4878-bfaa-2eeedf795273\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/455eb856-c258-4a31-bef1-67269e684622", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "980edb87-8e99-4cb2-a368-42127f716873", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "770031e6-ebb7-40a1-b975-16dc818a0731", - "content-length" : "2085", - "x-envoy-upstream-service-time" : "390", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "770031e6-ebb7-40a1-b975-16dc818a0731", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"455eb856-c258-4a31-bef1-67269e684622\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"c4a5a8fc-d69c-4878-bfaa-2eeedf795273\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/455eb856-c258-4a31-bef1-67269e684622", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "deec6ba3-8ce3-49bc-843a-410edfd987af" - }, - "Response" : { - "x-request-id" : "9e649f72-08ae-4533-a574-99a26c09f411", - "content-length" : "2085", - "x-envoy-upstream-service-time" : "130", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "9e649f72-08ae-4533-a574-99a26c09f411", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"455eb856-c258-4a31-bef1-67269e684622\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"c4a5a8fc-d69c-4878-bfaa-2eeedf795273\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/455eb856-c258-4a31-bef1-67269e684622", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "43a9cfb3-e214-4de7-b791-94cf630ad165" - }, - "Response" : { - "x-request-id" : "68730d55-295a-49c1-86dd-8d6afb6a71a0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "90", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "68730d55-295a-49c1-86dd-8d6afb6a71a0", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/2fb8b6e4-3af6-440a-9d2b-6d82bab06812", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e5e22781-572f-4b58-b3a8-d47c1ddd2402" - }, - "Response" : { - "x-request-id" : "394e060e-867c-4339-a23b-1e4acbf57f84", - "content-length" : "0", - "x-envoy-upstream-service-time" : "308", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "394e060e-867c-4339-a23b-1e4acbf57f84", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/71983cf3-e968-4ec2-a407-80363cba3647", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "f70e2cc5-fc2b-475d-a082-b4bd0f41c291", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "aa48eec2-b5e6-48fe-8585-dee5ac60386f", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "325", + "x-ms-region": "West US 2", + "X-Request-ID": "aa48eec2-b5e6-48fe-8585-dee5ac60386f" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json index 7677dc7737a34..dd79818e29120 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForMultipleSeriesAndGroup[1].json @@ -1,147 +1,731 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b3d7ab0b-eaf7-4172-832d-dc155bfbe201", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "54f06b2a-a079-4b18-9f8e-9ca3aaa27605", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detectionfedbbd10-7872-412c-9be1-7cdf500b1ba0", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "884ef45b-180a-40ea-922f-083d59cdd0cf", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ec12ba72-24db-4188-89f2-b4da2b5a20cf", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1666", + "x-ms-region": "West US 2", + "X-Request-ID": "884ef45b-180a-40ea-922f-083d59cdd0cf" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "6e94aa63-842c-40b6-88f8-3dfaba0c4b68", - "content-length" : "0", - "x-envoy-upstream-service-time" : "547", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6e94aa63-842c-40b6-88f8-3dfaba0c4b68", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/35ce1d3a-511e-479c-ae34-7335bfe442bb" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ec12ba72-24db-4188-89f2-b4da2b5a20cf", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1d5165e8-d7ec-491c-8e55-d595c639819f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "dd8cc58b-159f-4e91-adeb-c198e9692444", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "149", + "x-ms-region": "West US 2", + "X-Request-ID": "dd8cc58b-159f-4e91-adeb-c198e9692444" + }, + "ResponseBody": { + "dataFeedId": "ec12ba72-24db-4188-89f2-b4da2b5a20cf", + "dataFeedName": "java_data_feed_for_detectionfedbbd10-7872-412c-9be1-7cdf500b1ba0", + "metrics": [ + { + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "41b644ce-0ab3-4d6f-8496-01f631882aad", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:09Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/35ce1d3a-511e-479c-ae34-7335bfe442bb", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "85a663bd-e2fe-4f9c-8345-9c86570acc53" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "2215", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9b5c2928-08bc-4792-9552-25be5d318c26", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", + "description": "test metric anomaly detection configuration", + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "b766a8c5-4a2e-4ab8-93f6-779d669f2812", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0fdbd704-2c85-4aa1-be9d-1b9fcdde0ca6", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "237", + "x-ms-region": "West US 2", + "X-Request-ID": "b766a8c5-4a2e-4ab8-93f6-779d669f2812" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "40cfa388-994b-476a-8eaa-1aae12fc5b47", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "173", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "40cfa388-994b-476a-8eaa-1aae12fc5b47", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"35ce1d3a-511e-479c-ae34-7335bfe442bb\",\"dataFeedName\":\"java_data_feed_for_detectiond6efe5f7-cf0a-4fa4-94b6-5b0df3946a63\",\"metrics\":[{\"metricId\":\"7bd38aee-376e-4257-82c8-1b71cb87c954\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"89edb185-205d-43f5-b760-6723a83befdb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0fdbd704-2c85-4aa1-be9d-1b9fcdde0ca6", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "710fda85-76ce-4635-bcb4-05a0ba04ace4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3bb07d29-520f-4269-b293-61ac3d6a4f90", + "Content-Length": "2288", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "92", + "x-ms-region": "West US 2", + "X-Request-ID": "3bb07d29-520f-4269-b293-61ac3d6a4f90" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "0fdbd704-2c85-4aa1-be9d-1b9fcdde0ca6", + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", + "description": "test metric anomaly detection configuration", + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "026012ff-7ac4-478c-b471-493a37073f5c", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/1b0f0baf-8db0-494b-9dad-cff737518b11/enrichment/anomalyDetection/configurations", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "fba46e06-b72a-4440-bd1d-7ad9c2a979eb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ebc0a9e0-e94a-4335-b78e-6fc89585a24f", + "Content-Length": "2698", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "86", + "x-ms-region": "West US 2", + "X-Request-ID": "ebc0a9e0-e94a-4335-b78e-6fc89585a24f" + }, + "ResponseBody": { + "value": [ + { + "anomalyDetectionConfigurationId": "0fdbd704-2c85-4aa1-be9d-1b9fcdde0ca6", + "name": "testdetectionconfig54fff98e-db27-40dc-aac4-631a12ce22d5", + "description": "test metric anomaly detection configuration", + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + { + "anomalyDetectionConfigurationId": "6d3fe3b5-e1b8-4645-9331-f85e2dbc2848", + "name": "Default", + "description": "", + "metricId": "1b0f0baf-8db0-494b-9dad-cff737518b11", + "wholeMetricConfiguration": { + "smartDetectionCondition": { + "sensitivity": 79.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + } + ] + } }, - "Response" : { - "x-request-id" : "346f54a0-b88c-4a1d-80db-ef70aa7d4f77", - "content-length" : "0", - "x-envoy-upstream-service-time" : "307", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "346f54a0-b88c-4a1d-80db-ef70aa7d4f77", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/e86aca10-2aaf-4351-bead-959fa71d12ef" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/0fdbd704-2c85-4aa1-be9d-1b9fcdde0ca6", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9ffa9892-408c-41f1-9195-880d058458a5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "fa6fd99a-5691-4a54-a117-5212a0de52bb", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "58", + "x-ms-region": "West US 2", + "X-Request-ID": "fa6fd99a-5691-4a54-a117-5212a0de52bb" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/e86aca10-2aaf-4351-bead-959fa71d12ef", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e15cd08-36fb-4a64-bf59-e2097089c279" - }, - "Response" : { - "x-request-id" : "688a64f0-93c2-4264-bb14-107d84f38d21", - "content-length" : "2288", - "x-envoy-upstream-service-time" : "101", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "688a64f0-93c2-4264-bb14-107d84f38d21", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"e86aca10-2aaf-4351-bead-959fa71d12ef\",\"name\":\"testdetectionconfig81217e59-d4a2-4cc1-ae4d-0530dfec7c8b\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"7bd38aee-376e-4257-82c8-1b71cb87c954\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/7bd38aee-376e-4257-82c8-1b71cb87c954/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f6ee96cc-7f3a-4f27-a827-fb6c4d9dd1f6" - }, - "Response" : { - "x-request-id" : "0bebed75-f228-4b19-b08d-dbe63c25c4d5", - "content-length" : "2698", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0bebed75-f228-4b19-b08d-dbe63c25c4d5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"anomalyDetectionConfigurationId\":\"e86aca10-2aaf-4351-bead-959fa71d12ef\",\"name\":\"testdetectionconfig81217e59-d4a2-4cc1-ae4d-0530dfec7c8b\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"7bd38aee-376e-4257-82c8-1b71cb87c954\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]},{\"anomalyDetectionConfigurationId\":\"edabaf7b-adfe-4649-88f7-0d11482adce1\",\"name\":\"Default\",\"description\":\"\",\"metricId\":\"7bd38aee-376e-4257-82c8-1b71cb87c954\",\"wholeMetricConfiguration\":{\"smartDetectionCondition\":{\"sensitivity\":79.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}},\"dimensionGroupOverrideConfigurations\":[],\"seriesOverrideConfigurations\":[]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e86aca10-2aaf-4351-bead-959fa71d12ef", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "10ccdbdf-380b-494b-8f00-13f03a80f799" - }, - "Response" : { - "x-request-id" : "8919ba6d-3c49-427a-8779-e88ee17cab2c", - "content-length" : "0", - "x-envoy-upstream-service-time" : "101", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8919ba6d-3c49-427a-8779-e88ee17cab2c", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/35ce1d3a-511e-479c-ae34-7335bfe442bb", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9d3245cb-19b3-471c-a169-817b36f85f89" - }, - "Response" : { - "x-request-id" : "5777f19c-0118-4237-863e-ef5ec22ce7b9", - "content-length" : "0", - "x-envoy-upstream-service-time" : "326", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5777f19c-0118-4237-863e-ef5ec22ce7b9", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/ec12ba72-24db-4188-89f2-b4da2b5a20cf", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "57604aa7-68dd-40ae-967a-f695868fe48a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "b3cc57cf-a257-4e92-bba1-8929df7917ce", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "517", + "x-ms-region": "West US 2", + "X-Request-ID": "b3cc57cf-a257-4e92-bba1-8929df7917ce" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json index 2892c4c2b62b6..1f2265994ae87 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForSeriesAndGroup[1].json @@ -1,126 +1,398 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f066ad0-7fbe-4e4d-9105-8c33c357a8dd", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "55514968-4f37-4c43-b21a-4f6dc0c566bf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detection176d711a-255c-4e72-b35b-daec1b3a9682", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "0341bba8-02e5-494a-9c87-e01122fa5d71", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/80966bcb-6e6c-4538-ace6-abfe118cbf38", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "976", + "x-ms-region": "West US 2", + "X-Request-ID": "0341bba8-02e5-494a-9c87-e01122fa5d71" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "0fced75e-d893-4ef0-89ff-27c7e918ce5a", - "content-length" : "0", - "x-envoy-upstream-service-time" : "488", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0fced75e-d893-4ef0-89ff-27c7e918ce5a", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d70129f4-8e3c-4929-a155-bde2ff399237" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/80966bcb-6e6c-4538-ace6-abfe118cbf38", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2fa3ca6f-2e98-4bee-b4f0-dda6daac3daf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9dcfa4f1-b2f1-43a5-85d3-039d952a6e4f", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "328", + "x-ms-region": "West US 2", + "X-Request-ID": "9dcfa4f1-b2f1-43a5-85d3-039d952a6e4f" + }, + "ResponseBody": { + "dataFeedId": "80966bcb-6e6c-4538-ace6-abfe118cbf38", + "dataFeedName": "java_data_feed_for_detection176d711a-255c-4e72-b35b-daec1b3a9682", + "metrics": [ + { + "metricId": "6054ac91-70db-45f1-bb72-cdffc580cbcf", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "3ffd63b5-fd0a-4128-ad1b-b5134f24221f", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:12Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d70129f4-8e3c-4929-a155-bde2ff399237", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "37b2fb4b-7c7c-47ee-ba4d-8367fb510489" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "1143", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "5e66dc6e-b7ec-4f3b-8694-a177676a6db4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig19efb650-6a25-4a71-9f42-38b8431f189f", + "description": "test metric anomaly detection configuration", + "metricId": "6054ac91-70db-45f1-bb72-cdffc580cbcf", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "093b5248-dc82-4458-b54a-f9f2822982f0", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a0727922-c344-4467-acf3-d1b247e343fe", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "293", + "x-ms-region": "West US 2", + "X-Request-ID": "093b5248-dc82-4458-b54a-f9f2822982f0" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "cccd3173-9716-411b-8532-e2d01d37da88", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "166", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "cccd3173-9716-411b-8532-e2d01d37da88", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"d70129f4-8e3c-4929-a155-bde2ff399237\",\"dataFeedName\":\"java_data_feed_for_detectionfcbb1b0c-d7c0-416b-9643-243997ecd325\",\"metrics\":[{\"metricId\":\"dab7144b-9a58-4226-94b2-d593f29ad905\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2be31fc5-38de-4484-8145-b51d86bdd703\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/a0727922-c344-4467-acf3-d1b247e343fe", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "3aa1230f-6462-4b2a-ae6f-774dfde8ff42", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d1045446-cda0-4d45-ad5a-84766bb513e2", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "84", + "x-ms-region": "West US 2", + "X-Request-ID": "d1045446-cda0-4d45-ad5a-84766bb513e2" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "a0727922-c344-4467-acf3-d1b247e343fe", + "name": "testdetectionconfig19efb650-6a25-4a71-9f42-38b8431f189f", + "description": "test metric anomaly detection configuration", + "metricId": "6054ac91-70db-45f1-bb72-cdffc580cbcf", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6091801a-78a3-4750-8e0c-b02fe810417c", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/a0727922-c344-4467-acf3-d1b247e343fe", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c3740753-9a04-48a1-9ede-cc2248ca73e6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "93e4b996-dbf1-44db-839a-331b141609cd", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "78", + "x-ms-region": "West US 2", + "X-Request-ID": "93e4b996-dbf1-44db-839a-331b141609cd" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "b8af779b-a660-4656-85af-a1cf5f73a429", - "content-length" : "0", - "x-envoy-upstream-service-time" : "271", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b8af779b-a660-4656-85af-a1cf5f73a429", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/ba375ec6-5ded-4df2-a357-4e511cd3ef52" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/ba375ec6-5ded-4df2-a357-4e511cd3ef52", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "21ba3e4f-17b5-49d6-8527-565849025e32" - }, - "Response" : { - "x-request-id" : "5f9f046e-52e9-40c2-8fb3-39b27b7a44f8", - "content-length" : "1216", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5f9f046e-52e9-40c2-8fb3-39b27b7a44f8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"ba375ec6-5ded-4df2-a357-4e511cd3ef52\",\"name\":\"testdetectionconfigd593c2dd-16ed-4ac2-b9e3-a26bd6a31168\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"dab7144b-9a58-4226-94b2-d593f29ad905\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/ba375ec6-5ded-4df2-a357-4e511cd3ef52", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "abfb75e3-6c79-4dbc-b356-dff55f8fd68c" - }, - "Response" : { - "x-request-id" : "a863aa85-7575-4cb5-b57c-6b3e96559733", - "content-length" : "0", - "x-envoy-upstream-service-time" : "75", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a863aa85-7575-4cb5-b57c-6b3e96559733", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/d70129f4-8e3c-4929-a155-bde2ff399237", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5b9b53e8-1a2d-4a2c-ba22-267f5273179f" - }, - "Response" : { - "x-request-id" : "e9968d33-f884-442b-bd07-2ff7c3012bb0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "357", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e9968d33-f884-442b-bd07-2ff7c3012bb0", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/80966bcb-6e6c-4538-ace6-abfe118cbf38", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6ff374fd-cff1-49a0-9d4a-baac3a7213df", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "2108cbcf-39b5-4e61-9b9d-767104d42c0e", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "568", + "x-ms-region": "West US 2", + "X-Request-ID": "2108cbcf-39b5-4e61-9b9d-767104d42c0e" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json index a428f8851c4ee..03708909c40f5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.createDetectionConfigurationForWholeSeries[1].json @@ -1,126 +1,332 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6374597a-4bb7-4d0d-a0b9-455d5946c8e3", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:05 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "143b1624-16ba-4abc-a27e-d2d38f6250f4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detectionb82ea2b1-3a3b-4891-9e6a-b7d90adc46e9", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "3e3a0179-2bc1-40fb-9544-cd24e65aa3d3", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b97ce530-f0c7-4c67-bb27-4639e0adbefa", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "985", + "x-ms-region": "West US 2", + "X-Request-ID": "3e3a0179-2bc1-40fb-9544-cd24e65aa3d3" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "a8ac7d03-ee5f-4044-93f8-39981b794baa", - "content-length" : "0", - "x-envoy-upstream-service-time" : "461", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a8ac7d03-ee5f-4044-93f8-39981b794baa", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/61b5ee68-835d-49ef-8028-89cf9dbfac5f" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b97ce530-f0c7-4c67-bb27-4639e0adbefa", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6a31ab46-ec41-4d1d-a557-7ec7c4e1ba1a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "faa7f347-b9b3-4853-864b-81e8773e6a09", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "161", + "x-ms-region": "West US 2", + "X-Request-ID": "faa7f347-b9b3-4853-864b-81e8773e6a09" + }, + "ResponseBody": { + "dataFeedId": "b97ce530-f0c7-4c67-bb27-4639e0adbefa", + "dataFeedName": "java_data_feed_for_detectionb82ea2b1-3a3b-4891-9e6a-b7d90adc46e9", + "metrics": [ + { + "metricId": "97f6b0c5-924a-4b04-9405-36856d0267d3", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8f62c2b-f7e6-4f41-96e6-473281d742d8", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:06Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/61b5ee68-835d-49ef-8028-89cf9dbfac5f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b9042c31-19d8-4b12-9d63-5b5a2e4efd9b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "761", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d34acc8e-8dab-4ed0-93c0-7c19c0f680d2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfig8e8e0b98-1431-4911-a240-58df15582d8a", + "description": "test metric anomaly detection configuration", + "metricId": "97f6b0c5-924a-4b04-9405-36856d0267d3", + "wholeMetricConfiguration": { + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "db2e0d45-9bb9-41e9-981e-6180ec507148", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0149766c-0e0f-4944-8da5-e597a6d84179", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "244", + "x-ms-region": "West US 2", + "X-Request-ID": "db2e0d45-9bb9-41e9-981e-6180ec507148" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "c1cbdbcf-ed81-48a4-8bc7-61ce7e6004cf", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "165", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c1cbdbcf-ed81-48a4-8bc7-61ce7e6004cf", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"61b5ee68-835d-49ef-8028-89cf9dbfac5f\",\"dataFeedName\":\"java_data_feed_for_detectione198f187-8e09-4c83-a408-e9180a3a4bf8\",\"metrics\":[{\"metricId\":\"585c7f6d-fdcd-498e-b952-3f554c865243\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2ce5f611-0db8-4f6a-bbf7-0169fcd3d1a4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/0149766c-0e0f-4944-8da5-e597a6d84179", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "65e65266-e5ef-4d69-8369-4cfab53acb0b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d82aff05-2893-40df-b24e-6c263b57f2ea", + "Content-Length": "834", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "152", + "x-ms-region": "West US 2", + "X-Request-ID": "d82aff05-2893-40df-b24e-6c263b57f2ea" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "0149766c-0e0f-4944-8da5-e597a6d84179", + "name": "testdetectionconfig8e8e0b98-1431-4911-a240-58df15582d8a", + "description": "test metric anomaly detection configuration", + "metricId": "97f6b0c5-924a-4b04-9405-36856d0267d3", + "wholeMetricConfiguration": { + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [], + "seriesOverrideConfigurations": [] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ae5d8142-c0e1-4b71-9ff0-6f80619a8f55", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/0149766c-0e0f-4944-8da5-e597a6d84179", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "27838b1d-706b-4d07-8dbc-d944fe32ce3c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "c00aa9af-e658-4dfb-9bd7-ffb486878de7", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "83", + "x-ms-region": "West US 2", + "X-Request-ID": "c00aa9af-e658-4dfb-9bd7-ffb486878de7" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "39766b2a-c89b-44e2-95dc-364757d56475", - "content-length" : "0", - "x-envoy-upstream-service-time" : "182", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "39766b2a-c89b-44e2-95dc-364757d56475", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fc92decf-7ee6-45e8-924b-ce1cb242ca7c" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/fc92decf-7ee6-45e8-924b-ce1cb242ca7c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d486cec2-9688-4fd9-9b39-6ff7b7f317e5" - }, - "Response" : { - "x-request-id" : "3e180b9c-4538-4440-903a-41307f67d0b0", - "content-length" : "834", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3e180b9c-4538-4440-903a-41307f67d0b0", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"fc92decf-7ee6-45e8-924b-ce1cb242ca7c\",\"name\":\"testdetectionconfigc3e1ee7a-a280-4e2a-a624-1ac29ed67082\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"585c7f6d-fdcd-498e-b952-3f554c865243\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[],\"seriesOverrideConfigurations\":[]}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/fc92decf-7ee6-45e8-924b-ce1cb242ca7c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ee68973d-1df2-4d1e-be43-5688756a0d08" - }, - "Response" : { - "x-request-id" : "e76cc0d1-fb3c-4dae-add2-e39c4e7cdec1", - "content-length" : "0", - "x-envoy-upstream-service-time" : "73", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e76cc0d1-fb3c-4dae-add2-e39c4e7cdec1", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/61b5ee68-835d-49ef-8028-89cf9dbfac5f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2548ef12-cf79-4e8b-8b97-d6864984ddb5" - }, - "Response" : { - "x-request-id" : "2afbb094-1514-4839-b375-3b6d0c5007c4", - "content-length" : "0", - "x-envoy-upstream-service-time" : "384", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2afbb094-1514-4839-b375-3b6d0c5007c4", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/b97ce530-f0c7-4c67-bb27-4639e0adbefa", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "d3863d49-d3af-4338-bdad-1adfe1700091", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "e17b668a-523b-4405-b1de-9996f5275a86", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "318", + "x-ms-region": "West US 2", + "X-Request-ID": "e17b668a-523b-4405-b1de-9996f5275a86" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json index 82876d1e0add4..64cf63545eb51 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/DetectionConfigurationTest.updateDetectionConfiguration[1].json @@ -1,169 +1,940 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "716edcd3-ee68-4330-89c1-fbef497c6329", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "594", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "58169dc6-e0a9-43c8-a336-de83816bd444", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dataSourceType": "SqlServer", + "dataFeedName": "java_data_feed_for_detection8e206382-a6dd-4b56-a939-419f0d3a321d", + "granularityName": "Daily", + "metrics": [ + { + "metricName": "cost", + "metricDisplayName": "cost" + }, + { + "metricName": "revenue", + "metricDisplayName": "revenue" + } + ], + "dimension": [ + { + "dimensionName": "region", + "dimensionDisplayName": "region" + }, + { + "dimensionName": "category", + "dimensionDisplayName": "category" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "maxConcurrency": 0, + "authenticationType": "Basic", + "dataSourceParameter": { + "connectionString": "REDACTED", + "query": "select * from adsample2 where Timestamp = @StartTime" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "b5bfb3b8-dbd4-4084-9710-482a6ae5300a", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4576bc54-76c3-484a-8cde-cdaeb40b12e3", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1303", + "x-ms-region": "West US 2", + "X-Request-ID": "b5bfb3b8-dbd4-4084-9710-482a6ae5300a" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "d6e0a71c-2fc4-4f09-896a-482b3c203b61", - "content-length" : "0", - "x-envoy-upstream-service-time" : "487", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d6e0a71c-2fc4-4f09-896a-482b3c203b61", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a4d2891-a7d5-40ac-bdd3-6bcba125588d" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4576bc54-76c3-484a-8cde-cdaeb40b12e3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "c846cefd-6de9-4406-9cbf-6ca2db84e948", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d8267f5e-c204-4256-b33e-40b7ada66ee6", + "Content-Length": "1216", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "147", + "x-ms-region": "West US 2", + "X-Request-ID": "d8267f5e-c204-4256-b33e-40b7ada66ee6" + }, + "ResponseBody": { + "dataFeedId": "4576bc54-76c3-484a-8cde-cdaeb40b12e3", + "dataFeedName": "java_data_feed_for_detection8e206382-a6dd-4b56-a939-419f0d3a321d", + "metrics": [ + { + "metricId": "6bc8f0a6-4694-498e-ac17-f938ed02c0df", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "da0ceac4-1aa1-486e-b9c2-7c7381fac73a", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:16Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a4d2891-a7d5-40ac-bdd3-6bcba125588d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a08798a0-e05b-4d6f-98bb-e11c390d36b1" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "2038", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a708c9f4-1eb8-44c1-8e56-09ffb7705802", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", + "description": "test metric anomaly detection configuration", + "metricId": "6bc8f0a6-4694-498e-ac17-f938ed02c0df", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "830c3102-bba8-4a3c-bb61-576fe4f2e44c", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/069a0639-ec91-409d-b717-70c805096dc3", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "203", + "x-ms-region": "West US 2", + "X-Request-ID": "830c3102-bba8-4a3c-bb61-576fe4f2e44c" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "bed6497e-dd85-4227-9015-f212896b957b", - "content-length" : "1228", - "x-envoy-upstream-service-time" : "180", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bed6497e-dd85-4227-9015-f212896b957b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"dataFeedId\":\"4a4d2891-a7d5-40ac-bdd3-6bcba125588d\",\"dataFeedName\":\"java_data_feed_for_detection17f64f2e-4594-4f66-827c-468ab29a3e62\",\"metrics\":[{\"metricId\":\"74d260fa-210c-482d-bf0c-4d9b38842663\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3048654a-9441-4c96-b437-96308c2a6fba\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/069a0639-ec91-409d-b717-70c805096dc3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "102fec6d-3195-41e3-b430-be1cd163f298", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "600aedd3-a14d-47b8-8da7-465a559e5ad4", + "Content-Length": "2111", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "81", + "x-ms-region": "West US 2", + "X-Request-ID": "600aedd3-a14d-47b8-8da7-465a559e5ad4" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "069a0639-ec91-409d-b717-70c805096dc3", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", + "description": "test metric anomaly detection configuration", + "metricId": "6bc8f0a6-4694-498e-ac17-f938ed02c0df", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "series": { + "dimension": { + "region": "Osaka", + "category": "Cell Phones" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5cf1d2e7-fddf-416a-a3b6-226b638f28d0", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/069a0639-ec91-409d-b717-70c805096dc3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "1962", + "Content-Type": "application/merge-patch\u002Bjson", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b9f20217-905d-477b-810c-13c92cef159b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", + "description": "test metric anomaly detection configuration", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "withinRange": true, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1e172026-b721-4a0e-aaab-32086e62e951", + "Content-Length": "2085", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "292", + "x-ms-region": "West US 2", + "X-Request-ID": "1e172026-b721-4a0e-aaab-32086e62e951" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "069a0639-ec91-409d-b717-70c805096dc3", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", + "description": "test metric anomaly detection configuration", + "metricId": "6bc8f0a6-4694-498e-ac17-f938ed02c0df", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + } }, - "Response" : { - "x-request-id" : "56f75fc1-d845-4be9-86f3-f36da864139d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "288", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "56f75fc1-d845-4be9-86f3-f36da864139d", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2212e735-9074-47f5-ad74-e1fed09de78e" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/069a0639-ec91-409d-b717-70c805096dc3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a4816d55-6ea1-42e7-8737-eb5f4ec5df4e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "19090410-20f5-428c-9151-5265706d6504", + "Content-Length": "2085", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "97", + "x-ms-region": "West US 2", + "X-Request-ID": "19090410-20f5-428c-9151-5265706d6504" + }, + "ResponseBody": { + "anomalyDetectionConfigurationId": "069a0639-ec91-409d-b717-70c805096dc3", + "name": "testdetectionconfiga528f0c9-e081-42f1-bc0d-60145d03eefe", + "description": "test metric anomaly detection configuration", + "metricId": "6bc8f0a6-4694-498e-ac17-f938ed02c0df", + "wholeMetricConfiguration": { + "conditionOperator": "AND", + "smartDetectionCondition": { + "sensitivity": 50.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 13, + "minRatio": 50.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + "dimensionGroupOverrideConfigurations": [ + { + "group": { + "dimension": { + "region": "Sao Paulo" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + }, + { + "group": { + "dimension": { + "region": "Seoul" + } + }, + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + } + } + ], + "seriesOverrideConfigurations": [ + { + "series": { + "dimension": { + "region": "Shenzhen", + "category": "Jewelry" + } + }, + "conditionOperator": "OR", + "smartDetectionCondition": { + "sensitivity": 63.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 1, + "minRatio": 100.0 + } + }, + "hardThresholdCondition": { + "lowerBound": 0.0, + "upperBound": 100.0, + "anomalyDetectorDirection": "Both", + "suppressCondition": { + "minNumber": 5, + "minRatio": 5.0 + } + }, + "changeThresholdCondition": { + "changePercentage": 50.0, + "shiftPoint": 30, + "anomalyDetectorDirection": "Both", + "withinRange": true, + "suppressCondition": { + "minNumber": 2, + "minRatio": 2.0 + } + } + } + ] + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2212e735-9074-47f5-ad74-e1fed09de78e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "007fe3d5-f11a-4e62-a5f7-a9f026d29231" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/069a0639-ec91-409d-b717-70c805096dc3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "aeec7a64-6e39-4ba4-806c-66fb33446b5c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "c5f4cf1c-0f5d-4eba-9ea3-55f6c0d170d6", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "60", + "x-ms-region": "West US 2", + "X-Request-ID": "c5f4cf1c-0f5d-4eba-9ea3-55f6c0d170d6" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "4e10b5df-ab2d-4c32-9110-5fc7736a0f55", - "content-length" : "2111", - "x-envoy-upstream-service-time" : "122", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4e10b5df-ab2d-4c32-9110-5fc7736a0f55", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"2212e735-9074-47f5-ad74-e1fed09de78e\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"74d260fa-210c-482d-bf0c-4d9b38842663\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"series\":{\"dimension\":{\"region\":\"Osaka\",\"category\":\"Cell Phones\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2212e735-9074-47f5-ad74-e1fed09de78e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f4434ed7-9fa4-4544-98b3-bcc8565ac1c8", - "Content-Type" : "application/merge-patch+json" - }, - "Response" : { - "x-request-id" : "70da7898-61ba-4534-9aeb-9fda9b2bdfa0", - "content-length" : "2085", - "x-envoy-upstream-service-time" : "509", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "70da7898-61ba-4534-9aeb-9fda9b2bdfa0", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"2212e735-9074-47f5-ad74-e1fed09de78e\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"74d260fa-210c-482d-bf0c-4d9b38842663\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/enrichment/anomalyDetection/configurations/2212e735-9074-47f5-ad74-e1fed09de78e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c84f78ef-f2ca-4437-9e27-73f695ce2eb9" - }, - "Response" : { - "x-request-id" : "96558c1b-7de1-435a-9cb4-d45d3ddc62ba", - "content-length" : "2085", - "x-envoy-upstream-service-time" : "182", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "96558c1b-7de1-435a-9cb4-d45d3ddc62ba", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"anomalyDetectionConfigurationId\":\"2212e735-9074-47f5-ad74-e1fed09de78e\",\"name\":\"testdetectionconfig536879b7-9f59-4856-8a0c-300f8d600802\",\"description\":\"test metric anomaly detection configuration\",\"metricId\":\"74d260fa-210c-482d-bf0c-4d9b38842663\",\"wholeMetricConfiguration\":{\"conditionOperator\":\"AND\",\"smartDetectionCondition\":{\"sensitivity\":50.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":13,\"minRatio\":50.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},\"dimensionGroupOverrideConfigurations\":[{\"group\":{\"dimension\":{\"region\":\"Sao Paulo\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}},{\"group\":{\"dimension\":{\"region\":\"Seoul\"}},\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}}}],\"seriesOverrideConfigurations\":[{\"series\":{\"dimension\":{\"region\":\"Shenzhen\",\"category\":\"Jewelry\"}},\"conditionOperator\":\"OR\",\"smartDetectionCondition\":{\"sensitivity\":63.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":1,\"minRatio\":100.0}},\"hardThresholdCondition\":{\"lowerBound\":0.0,\"upperBound\":100.0,\"anomalyDetectorDirection\":\"Both\",\"suppressCondition\":{\"minNumber\":5,\"minRatio\":5.0}},\"changeThresholdCondition\":{\"changePercentage\":50.0,\"shiftPoint\":30,\"anomalyDetectorDirection\":\"Both\",\"withinRange\":true,\"suppressCondition\":{\"minNumber\":2,\"minRatio\":2.0}}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/2212e735-9074-47f5-ad74-e1fed09de78e", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "dcbeaa1b-a298-46e0-b4c3-9c8eec351e53" - }, - "Response" : { - "x-request-id" : "dd25f20d-d8c2-42de-8cb4-f349721166f5", - "content-length" : "0", - "x-envoy-upstream-service-time" : "124", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "dd25f20d-d8c2-42de-8cb4-f349721166f5", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds/4a4d2891-a7d5-40ac-bdd3-6bcba125588d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "43b16b1b-4c93-4b19-b652-98fc71cb3c30" - }, - "Response" : { - "x-request-id" : "6f8767c6-de63-4ee0-ab90-8c61ce3df63d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "444", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6f8767c6-de63-4ee0-ab90-8c61ce3df63d", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds/4576bc54-76c3-484a-8cde-cdaeb40b12e3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:17 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0a00219a-662a-48c4-9496-7d803d9a9243", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "7aa59eb6-370a-467a-8705-4a366682e1a0", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "295", + "x-ms-region": "West US 2", + "X-Request-ID": "7aa59eb6-370a-467a-8705-4a366682e1a0" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createAnomalyFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createAnomalyFeedback[1].json deleted file mode 100644 index 70169965204bb..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createAnomalyFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5f8dba14-5696-419c-a4a4-90e2ef817310", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "04c59a4a-1faf-4270-8094-3033cfd9f8e3", - "content-length" : "0", - "x-envoy-upstream-service-time" : "545", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "04c59a4a-1faf-4270-8094-3033cfd9f8e3", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:30 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/b0ec5ba6-a6a4-4a96-9258-04c643e81878" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/b0ec5ba6-a6a4-4a96-9258-04c643e81878", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "72860f66-471b-4216-a0d8-904bdf69dd44" - }, - "Response" : { - "x-request-id" : "ccff5f23-dd47-4687-832a-b7081b095773", - "content-length" : "373", - "x-envoy-upstream-service-time" : "111", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ccff5f23-dd47-4687-832a-b7081b095773", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"b0ec5ba6-a6a4-4a96-9258-04c643e81878\",\"createdTime\":\"2022-04-08T23:50:31.11Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createChangePointMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createChangePointMetricFeedback[1].json deleted file mode 100644 index 95c5a3d19fee6..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createChangePointMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2edae27a-b8d9-4075-adb8-c122ea642794", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "bc7f2df3-b584-4819-aa6f-145dd83b74d0", - "content-length" : "0", - "x-envoy-upstream-service-time" : "507", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bc7f2df3-b584-4819-aa6f-145dd83b74d0", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0f28d794-c1fe-45a2-b064-e7b2c084fd3d" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0f28d794-c1fe-45a2-b064-e7b2c084fd3d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3ebb78e3-f9ac-45e8-8987-a05d8e52d29f" - }, - "Response" : { - "x-request-id" : "bff408ca-67d5-4082-835e-597917ecb284", - "content-length" : "382", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bff408ca-67d5-4082-835e-597917ecb284", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"0f28d794-c1fe-45a2-b064-e7b2c084fd3d\",\"createdTime\":\"2022-04-08T23:50:34.043Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createCommentMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createCommentMetricFeedback[1].json deleted file mode 100644 index 638efa21433fb..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createCommentMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2665da8f-cca7-4bc9-80aa-9d4dc491a775", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "07ae01ee-9991-4e05-bbd3-bed9abf77861", - "content-length" : "0", - "x-envoy-upstream-service-time" : "374", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "07ae01ee-9991-4e05-bbd3-bed9abf77861", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/03a899a6-6b10-4194-9cd7-84c5ce467576" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/03a899a6-6b10-4194-9cd7-84c5ce467576", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "83492e1e-bb0a-4807-994a-8591ee52bf2d" - }, - "Response" : { - "x-request-id" : "1b095f4d-03d9-460f-bae0-a63bbf239937", - "content-length" : "379", - "x-envoy-upstream-service-time" : "130", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1b095f4d-03d9-460f-bae0-a63bbf239937", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"03a899a6-6b10-4194-9cd7-84c5ce467576\",\"createdTime\":\"2022-04-08T23:50:34.559Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createPeriodMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createPeriodMetricFeedback[1].json deleted file mode 100644 index 4f9c49ad5d3d1..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.createPeriodMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6bfdec07-2fe3-415f-9887-7c2f26f9c09d", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "6862d32c-03b5-4a3a-9d3b-26b1c27eb036", - "content-length" : "0", - "x-envoy-upstream-service-time" : "584", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6862d32c-03b5-4a3a-9d3b-26b1c27eb036", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/c3a01d5f-ba7c-40fe-8182-434f73c42af6" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/c3a01d5f-ba7c-40fe-8182-434f73c42af6", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7680e5da-97b5-45c0-bf9d-a7f5f53011a6" - }, - "Response" : { - "x-request-id" : "ab27b014-beb0-44a4-8a71-cab38c354f53", - "content-length" : "319", - "x-envoy-upstream-service-time" : "154", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ab27b014-beb0-44a4-8a71-cab38c354f53", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"c3a01d5f-ba7c-40fe-8182-434f73c42af6\",\"createdTime\":\"2022-04-08T23:50:28.716Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackInvalidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackInvalidId[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackInvalidId[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackInvalidId[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackNullId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackNullId[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackNullId[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackNullId[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackValidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackValidId[1].json deleted file mode 100644 index f4c30365d2fe2..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.getMetricFeedbackValidId[1].json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cd5571eb-8efd-401c-ac84-8dc347e9bb2e", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "f08f4a42-0228-4891-94db-3a562d0f508f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "357", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f08f4a42-0228-4891-94db-3a562d0f508f", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/21307b49-5afa-4d26-b248-175f566d8b76" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/21307b49-5afa-4d26-b248-175f566d8b76", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "083e58b9-9685-4a58-a382-834ec94c3b8c" - }, - "Response" : { - "x-request-id" : "ca9d9aad-402a-4a8c-9b88-d9e8a1a7bd73", - "content-length" : "379", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ca9d9aad-402a-4a8c-9b88-d9e8a1a7bd73", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"21307b49-5afa-4d26-b248-175f566d8b76\",\"createdTime\":\"2022-04-08T23:50:29.536Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/21307b49-5afa-4d26-b248-175f566d8b76", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a5054748-af15-4795-bac4-a731ed190ed2" - }, - "Response" : { - "x-request-id" : "31461c7c-9f04-4a7f-b368-58d497ae850e", - "content-length" : "379", - "x-envoy-upstream-service-time" : "97", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "31461c7c-9f04-4a7f-b368-58d497ae850e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"21307b49-5afa-4d26-b248-175f566d8b76\",\"createdTime\":\"2022-04-08T23:50:29.536Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByDimensionFilter[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByDimensionFilter[1].json deleted file mode 100644 index 1a36a8eee2749..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByDimensionFilter[1].json +++ /dev/null @@ -1,288 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c7f7d835-e3b1-4eaa-8ffa-c50b58d08496", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "456b6b93-28f5-469f-af92-faac36bb0e36", - "content-length" : "0", - "x-envoy-upstream-service-time" : "567", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "456b6b93-28f5-469f-af92-faac36bb0e36", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/420f6032-d80c-4c61-a67a-df636bf191f2" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/420f6032-d80c-4c61-a67a-df636bf191f2", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a4eb4887-0f29-47df-896c-719de4da435f" - }, - "Response" : { - "x-request-id" : "61eb9579-8a56-498d-8073-13324178acec", - "content-length" : "374", - "x-envoy-upstream-service-time" : "97", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "61eb9579-8a56-498d-8073-13324178acec", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"420f6032-d80c-4c61-a67a-df636bf191f2\",\"createdTime\":\"2022-04-08T23:50:32.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "38a25dd4-849e-434a-b4c5-e841dd75b800", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "642279d3-4a02-4c83-b470-3301fc2d2092", - "content-length" : "3871", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "642279d3-4a02-4c83-b470-3301fc2d2092", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"b0ec5ba6-a6a4-4a96-9258-04c643e81878\",\"createdTime\":\"2022-04-08T23:50:31.11Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"420f6032-d80c-4c61-a67a-df636bf191f2\",\"createdTime\":\"2022-04-08T23:50:32.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21307b49-5afa-4d26-b248-175f566d8b76\",\"createdTime\":\"2022-04-08T23:50:29.536Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"0cd9a4f6-0f6f-4731-b361-31ee7e6e03f9\",\"createdTime\":\"2022-04-08T23:50:28.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c3a01d5f-ba7c-40fe-8182-434f73c42af6\",\"createdTime\":\"2022-04-08T23:50:28.716Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"f20c1446-392c-49c8-bed8-0d4ed5a5b72d\",\"createdTime\":\"2022-04-08T23:50:24.795Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"75c7ceed-3e4f-4867-a8ba-5001232b17f9\",\"createdTime\":\"2022-04-08T23:50:24.024Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02\",\"createdTime\":\"2022-04-08T23:50:23.13Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9a79f86b-7b7c-4500-bd15-3892011c8c8d", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "823f87a9-e15f-4cc6-8db9-dc4a5631aab8", - "content-length" : "3814", - "x-envoy-upstream-service-time" : "92", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "823f87a9-e15f-4cc6-8db9-dc4a5631aab8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"90f684bb-39f8-4479-9c54-7e009b998a0c\",\"createdTime\":\"2022-04-08T23:50:15.411Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "67c3422f-3ae6-438f-97a5-0063ba3f942b", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "4ea6b74a-a615-4b90-ba9d-bf254bdd361e", - "content-length" : "3874", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4ea6b74a-a615-4b90-ba9d-bf254bdd361e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30\"}", - "Date" : "Fri, 08 Apr 2022 23:50:32 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "cb5f9531-0908-4c0d-bfa0-c2e9a43d8e60", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "05ea867a-6320-4812-81f2-db001f63f7ee", - "content-length" : "3877", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "05ea867a-6320-4812-81f2-db001f63f7ee", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e68a919b-b9d4-44b9-a09e-1396bef964cb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "831080b3-ec1e-4790-828d-dfeab867a82d", - "content-length" : "3818", - "x-envoy-upstream-service-time" : "108", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "831080b3-ec1e-4790-828d-dfeab867a82d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50\"}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "46f67eb2-956e-4ae5-b827-fdfa45f3cb97", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "f59ce641-6688-45df-87a2-6a5d32603585", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "107", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f59ce641-6688-45df-87a2-6a5d32603585", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "502f3f78-99c7-46e9-89d9-d5d334f8bf77", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "4df48cc0-f581-431a-87a1-47d1a0d6dab1", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "111", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4df48cc0-f581-431a-87a1-47d1a0d6dab1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70\"}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b6d5f107-591a-4d01-b3ce-c85117da3843", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "737907aa-90e5-4694-96af-a01be79bf9d6", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "111", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "737907aa-90e5-4694-96af-a01be79bf9d6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8403b969-ec01-4e30-8e54-17210adb2504", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "b632a972-a32a-4003-b495-2f91d9f58d91", - "content-length" : "3938", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b632a972-a32a-4003-b495-2f91d9f58d91", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7fdce6a2-9aa1-47ea-9ead-0089f5b69f49", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "b6e9f6fe-ec9a-4f6d-a769-7a042951d12e", - "content-length" : "3877", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b6e9f6fe-ec9a-4f6d-a769-7a042951d12e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=100", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "36e23fe8-ffce-458b-8247-ac4134e2dcb7", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "70945bdb-ff2a-402f-b56b-f3a74fa5d756", - "content-length" : "2600", - "x-envoy-upstream-service-time" : "100", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "70945bdb-ff2a-402f-b56b-f3a74fa5d756", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json index c9636bd5380d6..5a219ba2d0a1c 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterByFeedbackType[1].json @@ -1,26 +1,3441 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "26354b83-38b5-4ff2-9f47-78f08cdc053f", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "bb4ba2a9-444b-4927-864d-b19732235ac5", - "content-length" : "22128", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bb4ba2a9-444b-4927-864d-b19732235ac5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"420f6032-d80c-4c61-a67a-df636bf191f2\",\"createdTime\":\"2022-04-08T23:50:32.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b0ec5ba6-a6a4-4a96-9258-04c643e81878\",\"createdTime\":\"2022-04-08T23:50:31.11Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"176a3fc9-4d5f-41af-99fe-2d3b2b3da291\",\"createdTime\":\"2022-04-06T02:28:57.657Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"89b4c916-1a43-4f0c-b9de-d821652d78e9\",\"createdTime\":\"2022-04-06T02:28:56.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1cbb0477-fda0-4cba-8a99-56aac23dfced\",\"createdTime\":\"2022-04-06T02:28:55.955Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"816fa8a0-e2dc-4842-b059-5f0d3a96e8ec\",\"createdTime\":\"2022-04-06T02:28:52.685Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"ed1d8bfe-3427-4caf-ac86-c4c7265c31ee\",\"createdTime\":\"2022-04-06T02:28:47.189Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"3333cd22-8f94-44d0-9fbc-5684a4d8267d\",\"createdTime\":\"2022-04-06T02:28:45.172Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"12fd1b60-8de0-4cb5-8736-1c346dfb576a\",\"createdTime\":\"2022-04-06T00:39:48.181Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1214b129-a9af-4129-a9d2-ffa2cbf7bb8e\",\"createdTime\":\"2022-04-06T00:39:47.194Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b728f2f3-0dec-46ef-a019-fc58b80620b6\",\"createdTime\":\"2022-04-06T00:39:46.614Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1fdd07ef-acae-459e-9a4a-12f91d5ba561\",\"createdTime\":\"2022-04-06T00:39:45.845Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b61e40c1-1d28-4607-bcd3-44478d9ab182\",\"createdTime\":\"2022-04-06T00:39:44.72Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a41b0f09-b539-4147-af82-2b0b1a9522a3\",\"createdTime\":\"2022-04-06T00:39:43.831Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"3e7917b9-1f4f-4f1f-b0f6-c25ec2929c6a\",\"createdTime\":\"2022-04-06T00:24:03.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7434d71e-86db-4603-81ce-5d3184db1d99\",\"createdTime\":\"2022-04-06T00:24:02.717Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"15d67b1e-fa83-4a60-b483-3f0c3ed244f5\",\"createdTime\":\"2022-04-06T00:24:02.509Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5ae7c79e-11ab-4593-b3b9-661fa8ff4916\",\"createdTime\":\"2022-04-06T00:24:01.928Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"44ca9d4e-8fba-4aa0-a33c-dca1c36f33d4\",\"createdTime\":\"2022-04-06T00:24:00.693Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"57d2d483-931f-4613-8094-f0da13b2f05a\",\"createdTime\":\"2022-04-06T00:23:59.746Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"9209565d-2de6-4779-942b-2d00bd948b82\",\"createdTime\":\"2022-04-06T00:12:23.674Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e3c288a6-048a-4d3a-9cbb-ab0b884e93bf\",\"createdTime\":\"2022-04-06T00:12:23.175Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"ef9734e0-1079-4080-909d-30078a98ff51\",\"createdTime\":\"2022-04-06T00:12:23.04Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4b8022e9-ffec-4352-b47f-57dd5fbaf4c5\",\"createdTime\":\"2022-04-06T00:10:26.219Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"c5efdb7b-4239-44c7-a67f-0c9dbd1da27c\",\"createdTime\":\"2022-04-06T00:10:26.24Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"831fe6e8-6e92-4153-9126-db8a3de1d218\",\"createdTime\":\"2022-04-06T00:10:26.127Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/feedback/metric/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "76", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "a5da5151-01ee-4c6f-8d50-32b821d14916", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "feedbackType": "Anomaly" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a4595a4f-e989-4443-ba37-9b5b63426dc6", + "Content-Length": "72938", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "190", + "x-ms-region": "West US 2", + "X-Request-ID": "a4595a4f-e989-4443-ba37-9b5b63426dc6" + }, + "ResponseBody": { + "value": [ + { + "feedbackId": "6499b105-3d22-4bd4-98ec-8527ffd144af", + "createdTime": "2022-11-17T08:28:24.161Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7e44f1f2-73e5-4da4-b6e3-6a232a1c341c", + "createdTime": "2022-11-17T08:28:14.714Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "42c85de4-7b27-42ca-8185-a29d5525c45a", + "createdTime": "2022-11-17T08:28:13.473Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f5edbc48-f95e-43a6-81a1-829b38a51200", + "createdTime": "2022-11-16T08:38:56.029Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4a44489e-5861-4e8c-885d-759e76a4c1e5", + "createdTime": "2022-11-16T08:34:43.298Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "882b411d-b5f7-4db0-9342-088dfb0932be", + "createdTime": "2022-11-16T08:32:46.965Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5a5965e9-932d-4803-851e-b272c22fe9d2", + "createdTime": "2022-11-16T08:32:12.299Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3133c8c1-3a18-4c3b-b4f8-00a686bdc925", + "createdTime": "2022-11-16T08:31:22.138Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "32220722-6b63-41d8-843a-5714493a01da", + "createdTime": "2022-11-16T08:30:11.89Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "59a42b37-54ea-4dba-928d-17ae716438e5", + "createdTime": "2022-11-16T08:29:54.202Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "dfb0ef5f-f5ed-4847-84d1-a7ee44af8272", + "createdTime": "2022-11-16T08:29:38.922Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0c4af4b5-93af-49a1-a978-c3b68e3fa831", + "createdTime": "2022-11-16T08:29:31.839Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "82bdbddd-16e7-416b-92b5-0524e46e0f97", + "createdTime": "2022-11-16T08:28:44.548Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "dae84d60-eedb-4b0b-9c02-76de8e04027a", + "createdTime": "2022-11-16T08:27:42.576Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "11a923ff-5990-4d9f-9149-feca48064861", + "createdTime": "2022-11-16T08:26:24.323Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0762b977-f38d-49c5-9f63-95c1fbe05376", + "createdTime": "2022-11-16T08:25:44.139Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f7ab8fe8-bfc7-45af-b9c6-4394d344bb77", + "createdTime": "2022-11-16T08:25:41.76Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "ad442466-687b-4514-9a7d-5230ecd974a1", + "createdTime": "2022-11-15T08:36:24.682Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0560c90f-3073-4706-8977-ddff18eb9128", + "createdTime": "2022-11-15T08:35:26.831Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4e18805d-7d72-4a32-a08f-32a796df289e", + "createdTime": "2022-11-15T08:34:47.289Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "846167cc-2610-4276-acc6-42110869a239", + "createdTime": "2022-11-15T08:34:00.941Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1a01e34f-bedc-4b6c-af27-0c0d935c7c55", + "createdTime": "2022-11-15T08:32:42.634Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f4598c87-5fd6-4e7b-b0a4-9a46c4b4058e", + "createdTime": "2022-11-15T08:32:42.455Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "9ed4b24c-fea1-4b04-9948-42b8ba814f6e", + "createdTime": "2022-11-15T08:32:24.563Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "92c654bf-05bd-4e3b-befe-3616c449547e", + "createdTime": "2022-11-15T08:32:13.039Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "904baea6-d878-4acf-96d2-0cbb3415db03", + "createdTime": "2022-11-15T08:31:55.351Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b202a8d2-a9d7-49f2-8f68-521d6e0d6c02", + "createdTime": "2022-11-15T08:30:57.564Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7358ef56-1978-4435-82b1-67c2c0a69635", + "createdTime": "2022-11-15T08:29:51.926Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "10a53b22-2a08-4e1d-9353-5757a79a94b8", + "createdTime": "2022-11-15T08:28:20.855Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c4773829-020d-4501-9163-8f6151a84103", + "createdTime": "2022-11-15T08:28:13.703Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1bb2b9a7-a7a5-4a2f-a7cb-b71c4cfa0e70", + "createdTime": "2022-11-15T08:28:00.452Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "ef76ef6b-f727-4102-9a11-6745cc6bed87", + "createdTime": "2022-11-14T08:38:24.574Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f3da4ff3-c819-4d51-b03a-f03f5ebac392", + "createdTime": "2022-11-14T08:34:43.096Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "eabdbf12-c484-48f3-a3ff-71057164e542", + "createdTime": "2022-11-14T08:34:10.318Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "2eeff6bb-87bf-458d-8863-78f07bc91191", + "createdTime": "2022-11-14T08:33:40.153Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "775e6bb2-b66c-4804-ad50-57f30c0bd3dc", + "createdTime": "2022-11-14T08:33:30.599Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4bc9b96c-9ba6-49f0-8785-f8546be0324c", + "createdTime": "2022-11-14T08:32:32.224Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7a0ccc0b-7dc1-4cb1-99f6-4b871051e89f", + "createdTime": "2022-11-14T08:31:43.164Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "cebb1de2-b30f-4d77-adb5-ea8727f330c4", + "createdTime": "2022-11-14T08:31:37.778Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "384b4af0-75de-4dd6-81ed-1703aa6a0769", + "createdTime": "2022-11-14T08:31:10.589Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e0455c18-c856-4fd5-b84f-8c4e8ee21624", + "createdTime": "2022-11-14T08:30:25.698Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3c8bd888-7339-475c-95a9-10bdf40be8f0", + "createdTime": "2022-11-14T08:29:35.559Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "ead61b26-f423-43d0-8761-fc2ce5812fbb", + "createdTime": "2022-11-14T08:28:06.776Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "982a8bdf-7070-4d61-ae9e-b73973742fb4", + "createdTime": "2022-11-14T08:27:18.149Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5959f7c7-cea7-4075-bfa8-53331d44a132", + "createdTime": "2022-11-14T08:27:17.562Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e1fdeec0-825c-4fd2-a07a-c8b69f326b6b", + "createdTime": "2022-11-13T15:04:23.353Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b0308182-8205-4244-ae96-5e7e0ee85ebb", + "createdTime": "2022-11-13T15:03:30.769Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0dc51c3f-c835-474a-b11a-d79847a52c15", + "createdTime": "2022-11-13T15:03:26.471Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c628638d-bca6-44b2-9c77-721d79f7a279", + "createdTime": "2022-11-13T15:02:53.322Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "bd4efb2e-ae89-4535-a6af-74f3bd852e5f", + "createdTime": "2022-11-13T15:01:33.615Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f7be759a-30ec-4395-8931-8b625b6a7842", + "createdTime": "2022-11-13T15:01:32.866Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c72c8a81-29c8-4c77-8384-5b3f772e5d38", + "createdTime": "2022-11-13T15:01:31.727Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "23df0af6-1279-4f63-85c5-0aad4843c751", + "createdTime": "2022-11-13T14:59:52.654Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0bd0a1c3-2b31-4faa-b15c-97c05e3c2339", + "createdTime": "2022-11-13T14:59:35.538Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4e906a9f-a2c8-4e51-81ae-db24e69c873c", + "createdTime": "2022-11-13T14:59:34.465Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "509ee114-c15e-40b4-8920-26e33ff343b2", + "createdTime": "2022-11-13T14:58:41.129Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "dff19228-e9cd-452d-a1ca-82660a9966ec", + "createdTime": "2022-11-13T14:57:04.847Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e9a3f92c-57e7-4a63-af9b-0203da72167b", + "createdTime": "2022-11-13T14:57:02.909Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0aee1a34-bdd7-4248-b285-496025951bcc", + "createdTime": "2022-11-13T14:56:47.913Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "be5e8764-94ab-44c9-aafc-8d8d7bf48ae6", + "createdTime": "2022-11-11T08:35:17.416Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "80a9f41e-ead7-4233-be44-7dcf402e66e6", + "createdTime": "2022-11-11T08:35:04.33Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0626e3c2-9f5e-4d93-8961-9f6b1e0021ce", + "createdTime": "2022-11-11T08:32:35.985Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b334d431-1c17-41a6-bd1e-2abdfba4f84a", + "createdTime": "2022-11-11T08:32:35.795Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "75a80614-0d57-4153-a88c-5b23dd4ee9c6", + "createdTime": "2022-11-11T08:32:12.825Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "519c7104-33ce-40b7-8cf7-cefd8588af23", + "createdTime": "2022-11-11T08:31:46.624Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8a566453-9a66-4e43-a6b6-347aaa6bf435", + "createdTime": "2022-11-11T08:31:46.199Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "be50eda0-272f-481d-afa0-286de304b0c0", + "createdTime": "2022-11-11T08:31:41.849Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "618b97a2-2dbf-4535-a276-cc9f1195a271", + "createdTime": "2022-11-11T08:31:05.615Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "cc0bb884-3ce4-4f8b-9402-1ef556affd1b", + "createdTime": "2022-11-11T08:28:21.773Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "813d3675-eb5d-4c9e-914e-507fab1363dc", + "createdTime": "2022-11-11T08:27:59.702Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "37d2d8a0-02e2-4906-af38-c372e158f827", + "createdTime": "2022-11-11T08:27:47.952Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d081dcbe-0ac1-4a3f-812a-fea3176bcf23", + "createdTime": "2022-11-11T08:27:08.44Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "56347e86-8be5-4107-a227-85e3a1bbbb38", + "createdTime": "2022-11-11T08:27:04.564Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "45947b7c-6d17-4303-a5ef-9d838ac649ea", + "createdTime": "2022-11-10T08:36:50.275Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c4582fca-dd79-4b26-845e-c064354ec75c", + "createdTime": "2022-11-10T08:34:25.911Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a5fdfcf7-f2f5-4120-9616-5325311694e1", + "createdTime": "2022-11-10T08:32:28.188Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6550eaa0-e184-41b8-bca4-c904f8b2e1b6", + "createdTime": "2022-11-10T08:31:06.324Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "161bb752-67c9-42f3-962c-00a21cc89f81", + "createdTime": "2022-11-10T08:30:59.199Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "9ee38c49-3c6f-4a36-abf8-b5392e4cdc54", + "createdTime": "2022-11-10T08:30:28.286Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e5a140c0-0004-42d8-9fa4-b1601900a44d", + "createdTime": "2022-11-10T08:28:52.425Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "20134e53-b7a9-4323-971c-9cdacc171958", + "createdTime": "2022-11-10T08:28:43.087Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "2a0727f3-0211-4b04-b571-3b4eb569c11b", + "createdTime": "2022-11-10T08:28:35.793Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c4f8d368-a50c-499d-ab76-20452f778565", + "createdTime": "2022-11-10T08:27:34.898Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7178346d-f8e3-40d2-9ed2-d92983e2312c", + "createdTime": "2022-11-10T08:26:42.989Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "94fab047-2792-4ee0-a0f0-0768568197d6", + "createdTime": "2022-11-10T08:25:10.415Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "76f5ac85-e177-40ea-992a-d05f2c61fa91", + "createdTime": "2022-11-10T08:25:09.925Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "619bf00a-df7d-4827-bead-26734f804e61", + "createdTime": "2022-11-10T08:25:00.391Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "ba1fb487-be4e-4355-bdc1-875e78059784", + "createdTime": "2022-11-09T08:33:28.291Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f4f300dc-a4a8-4783-961b-d3ad3ce8ea28", + "createdTime": "2022-11-09T08:32:13.605Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3d682ee8-3506-4f81-89b4-ecd160c10ac2", + "createdTime": "2022-11-09T08:31:41.8Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "09639eb6-e45e-4d06-886c-5666d98338d5", + "createdTime": "2022-11-09T08:31:12.637Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "13fe35e2-17ed-4689-8d2c-7ef0838e2788", + "createdTime": "2022-11-09T08:30:43.485Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6024b053-b892-4001-8ff7-6286fea42b10", + "createdTime": "2022-11-09T08:30:12.34Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "09f58f16-b6c9-4cdb-a2a5-24009ab8a0d1", + "createdTime": "2022-11-09T08:30:05.189Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0de251d8-f4b3-4ea0-87ef-69214b2e7fc3", + "createdTime": "2022-11-09T08:29:21.969Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3faacc8a-ced1-4f8a-a998-90e680febc6f", + "createdTime": "2022-11-09T08:28:24.089Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6b824d5d-6650-45a2-a4aa-3ad478080b98", + "createdTime": "2022-11-09T08:27:33.361Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "89b20db8-0180-4642-92bc-43514d42c0a4", + "createdTime": "2022-11-09T08:27:31.157Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "56e171c8-f1d3-4be7-9789-24929d1b6fa5", + "createdTime": "2022-11-09T08:26:13.882Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3c750d6f-b0a7-49d6-a4b7-2fe1f51c2b38", + "createdTime": "2022-11-09T08:25:31.923Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e26e3020-6e01-4bfa-9d12-db12e076f6f8", + "createdTime": "2022-11-09T08:24:58.498Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1a8b0df6-7542-4a2d-b2ea-baad5640e4ce", + "createdTime": "2022-11-08T08:37:45.85Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a5a047d5-1834-4abf-9d20-db39eb042dad", + "createdTime": "2022-11-08T08:33:48.056Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "99a99c46-e16e-4aaa-ac2e-91e94793e299", + "createdTime": "2022-11-08T08:33:32.725Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5c04a01b-3ef9-4325-a343-260d1d8cda87", + "createdTime": "2022-11-08T08:33:24.777Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6f93b66d-dbdd-44d7-be62-907dd6c3187d", + "createdTime": "2022-11-08T08:30:46.141Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d16c00cc-d3a1-4312-bd8a-3b1439a27529", + "createdTime": "2022-11-08T08:30:45.801Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "99abc591-576b-4b26-88bd-84580a6c7be5", + "createdTime": "2022-11-08T08:30:14.649Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d4b10a8d-0347-414d-b17c-20b057db492e", + "createdTime": "2022-11-08T08:29:46.241Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a16e8a0e-90ac-4969-bc77-e7e2f5cb7f2a", + "createdTime": "2022-11-08T08:29:32.589Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6283fc79-970a-4223-aef1-9b4e4a4eceb7", + "createdTime": "2022-11-08T08:29:29.035Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "78bcf0ba-6679-4113-8059-e4fda9aea2b5", + "createdTime": "2022-11-08T08:26:53.927Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1f996b09-e31d-4350-b785-288958b83494", + "createdTime": "2022-11-08T08:26:01.169Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "93fcb056-5999-4510-bd43-4ab9c54cb961", + "createdTime": "2022-11-08T08:25:48.02Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "dd9cdf03-0ee4-4c2a-ae9b-b11f0b37a1e6", + "createdTime": "2022-11-08T08:25:46.676Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "261e4b9e-3137-4f45-9d74-2af9a1fbf5b7", + "createdTime": "2022-11-07T08:33:39.064Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "9b6c0878-8e3f-46f7-8d3d-92fb477796b4", + "createdTime": "2022-11-07T08:33:20.55Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0f45107e-d68e-48ce-a561-4751bbca2385", + "createdTime": "2022-11-07T08:33:06.473Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e484150d-9d6f-49c1-a81a-08e745f18330", + "createdTime": "2022-11-07T08:31:14.457Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "73330f3f-7ced-4407-ab4e-ca83dba821a0", + "createdTime": "2022-11-07T08:30:07.557Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c6ec92fe-b35a-42aa-a812-216e2c32ef80", + "createdTime": "2022-11-07T08:29:52.629Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "de59642e-01d4-43b7-a0af-efe67af4fec7", + "createdTime": "2022-11-07T08:29:45.967Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "06db48e1-49a2-4fde-9618-15baf002b70d", + "createdTime": "2022-11-07T08:29:35.658Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "0d03e98b-299c-4290-8f89-a504b64bdd10", + "createdTime": "2022-11-07T08:28:49.121Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d0c8d076-d1e7-4515-af39-844d0319ba66", + "createdTime": "2022-11-07T08:28:37.291Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "17981d33-8ac8-4d7a-9cca-26bf63d6ca54", + "createdTime": "2022-11-07T08:27:43.689Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "24bff904-03fe-4050-97d5-000ac19445e2", + "createdTime": "2022-11-07T08:25:37.361Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7719837b-d39c-4956-8fa0-854c8c833063", + "createdTime": "2022-11-07T08:24:40.19Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "17db4e3a-9e28-4477-bbe3-3ee80d1fb309", + "createdTime": "2022-11-07T08:24:38.642Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d68ff979-cc2a-4c01-865b-a2bda8fac29d", + "createdTime": "2022-11-06T15:02:00.768Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4bd1d053-a1bf-4201-a49e-64f9c194ba4b", + "createdTime": "2022-11-06T15:01:33.346Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "57e7ed93-b3d1-4cb1-b14d-dc153a0d2231", + "createdTime": "2022-11-06T15:01:29.345Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3840cb8a-dace-4d20-a766-aad0480344ba", + "createdTime": "2022-11-06T15:00:27.784Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f825c6ce-9bf8-44ec-9307-5efc281ae5e2", + "createdTime": "2022-11-06T14:59:24.15Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "011e1486-ee09-4dae-a9fd-c2175a5f9256", + "createdTime": "2022-11-06T14:58:59.727Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a2189c76-154c-49e2-b8be-af65da75d8c5", + "createdTime": "2022-11-06T14:58:52.342Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1526f7d4-4d5b-4b77-9508-3244b1e59a63", + "createdTime": "2022-11-06T14:58:42.028Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "75272256-ef0c-4f0b-96e8-47f3a8d8971b", + "createdTime": "2022-11-06T14:58:39.581Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e68b9867-b64c-4770-a09f-8da4ea58387f", + "createdTime": "2022-11-06T14:57:58.699Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "96f59ad4-047c-48d8-9d71-b6049169b491", + "createdTime": "2022-11-06T14:56:05.037Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "671fb461-305c-45b3-b9de-450e698e88e0", + "createdTime": "2022-11-06T14:54:56.717Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "abf2ce83-9e1b-4811-a34a-69269c7dd91e", + "createdTime": "2022-11-06T14:54:11.197Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "27d47e05-d92c-4605-8045-8c2a50defff7", + "createdTime": "2022-11-06T14:54:10.473Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b12478b5-81ae-4800-8506-1a9da6f3a5f1", + "createdTime": "2022-11-04T07:33:03.802Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8b4341a5-2d40-4739-ab4f-b071a5651b6e", + "createdTime": "2022-11-04T07:32:38.095Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4532f407-2e59-462e-87eb-9ab5b8e12121", + "createdTime": "2022-11-04T07:32:04.161Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "09c4356f-49a4-4a23-b7c5-51445bd43436", + "createdTime": "2022-11-04T07:30:27.913Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3588fe59-6377-44ae-8bc8-5441b833230d", + "createdTime": "2022-11-04T07:30:12.966Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b2909e4e-3698-44dd-9f22-a6c10f31f4f6", + "createdTime": "2022-11-04T07:29:38.692Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "31efab14-cc68-4ee1-b892-953f5ed97b52", + "createdTime": "2022-11-04T07:29:14.458Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d0f1fcf8-b6b0-405a-a4a1-74ba22f50421", + "createdTime": "2022-11-04T07:29:13.175Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "94ba1cc2-e9e4-4f05-be2a-1b9611b70f4d", + "createdTime": "2022-11-04T07:29:07.563Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "af76aa3e-5d9a-4185-9113-582a5016a949", + "createdTime": "2022-11-04T07:28:26.634Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "32645c5c-b415-424e-b64a-5331b2dc5cf5", + "createdTime": "2022-11-04T07:26:07.12Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "3acee414-789b-4f67-be42-17d716e50569", + "createdTime": "2022-11-04T07:26:00.698Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5d334162-1639-4604-8a72-33c361a9dd85", + "createdTime": "2022-11-04T07:24:42.123Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a367eeca-9125-4145-81fc-aa77dbd1d3f9", + "createdTime": "2022-11-04T07:24:41.735Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b9b78e2c-1096-44e7-9cbd-a66bd2b650ad", + "createdTime": "2022-11-03T07:44:27.901Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "eedc6a53-fdda-4026-929f-b31d5b98474e", + "createdTime": "2022-11-03T07:43:55.37Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "72f83379-8e39-47f1-b87d-b490fc412f85", + "createdTime": "2022-11-03T07:43:39.719Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6d1e4c42-b831-45c7-8f7b-15e0da76cb25", + "createdTime": "2022-11-03T07:43:00.564Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1d848441-c624-4e1f-8897-5513d7127026", + "createdTime": "2022-11-03T07:42:50.123Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "24ae495d-a088-41dc-9f74-4cf15dd9da14", + "createdTime": "2022-11-03T07:42:32.421Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a70c0c07-339b-437a-a572-3f1c566595e6", + "createdTime": "2022-11-03T07:42:31.782Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "93dfecbc-f1f5-4688-80a6-7ddf597c904c", + "createdTime": "2022-11-03T07:40:32.334Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5bbb44a5-f37e-4886-ab86-3918e17ee7db", + "createdTime": "2022-11-03T07:39:58.095Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d6615a56-e8af-4cbe-a7cb-4b5c535633cf", + "createdTime": "2022-11-03T07:39:21.645Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "bd3af90d-5ada-4b17-9cb2-e9728134bb35", + "createdTime": "2022-11-03T07:38:33.599Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7f006d3c-7319-4ac9-b14e-eecddae590b3", + "createdTime": "2022-11-03T07:38:00.824Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "84ec5052-74dc-49f7-b40e-13fbf607b935", + "createdTime": "2022-11-03T07:37:51.022Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "15872734-bdd6-4810-b54c-97c37b7b3d88", + "createdTime": "2022-11-03T07:37:45.106Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "c6bfb2ac-6b20-4553-a3fa-8450f2fb8b47", + "createdTime": "2022-11-02T16:21:55.896Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d65a4245-ce0d-4ef3-93bc-4ff4bae329ad", + "createdTime": "2022-11-02T16:18:13.308Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "88588209-9e79-4587-b1e1-ec2549a4635a", + "createdTime": "2022-11-02T07:33:23.917Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "7788ea7c-a460-4bb9-9eb0-b557a42521a8", + "createdTime": "2022-11-02T07:33:15.896Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "351ccd09-8368-4ef3-b511-935445774ed7", + "createdTime": "2022-11-02T07:32:42.576Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "faf2dbb6-f558-4c58-902d-9e76fc52d81e", + "createdTime": "2022-11-02T07:32:07.399Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "cb8ef237-35ba-4f18-ba77-3170ce80f895", + "createdTime": "2022-11-02T07:31:21.197Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "ba120c66-f906-4dc1-85c0-b06e134b0d98", + "createdTime": "2022-11-02T07:31:13.212Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "6382eb1f-fa99-48a8-87e0-62a8313863c9", + "createdTime": "2022-11-02T07:30:57.823Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a76717a8-98bb-4afe-a037-95d7bf47e8b4", + "createdTime": "2022-11-02T07:29:35.791Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "d51827b0-7cc7-4f1e-b742-e02934e7e267", + "createdTime": "2022-11-02T07:29:33.538Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "11877ed8-7daa-4c9f-8669-e005ca27446f", + "createdTime": "2022-11-02T07:28:34.564Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1596530c-ec99-41ca-a2be-4c67dd699f53", + "createdTime": "2022-11-02T07:27:23.484Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "2733971f-0f22-472f-91ea-0943d5d3eb9b", + "createdTime": "2022-11-02T07:26:40.746Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "30c583c7-c169-4e00-a1fb-c338ac737f67", + "createdTime": "2022-11-02T07:26:08.292Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "b13e55e3-7add-4f60-8ecd-db5fdd2b6074", + "createdTime": "2022-11-02T07:26:05.028Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "2043010d-cdd1-40af-8de1-dfb785899b21", + "createdTime": "2022-11-01T07:33:16.295Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f758d867-8705-4abe-a86d-4b444fd6ea11", + "createdTime": "2022-11-01T07:32:52.907Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "19676731-5741-464f-83da-e8049cf2c211", + "createdTime": "2022-11-01T07:32:40.841Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "5aca61bc-15b8-4218-bca8-1bc54abbcea7", + "createdTime": "2022-11-01T07:31:00.317Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "f4b3d592-b3cf-4b93-8eb8-028f63cdd5ff", + "createdTime": "2022-11-01T07:30:01.254Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "95304edc-93e7-489d-8329-5fce27b1cec2", + "createdTime": "2022-11-01T07:29:55.136Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8c58f933-d279-47ab-a17b-8f726d6c553e", + "createdTime": "2022-11-01T07:29:29.314Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "25f0ebb7-6925-4acf-bdd3-532a622b4bb8", + "createdTime": "2022-11-01T07:29:24.529Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8410510b-21dc-4df9-b1f7-68a756983b62", + "createdTime": "2022-11-01T07:29:03.207Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a9e686da-b273-4292-ba7b-218b6cf7f547", + "createdTime": "2022-11-01T07:29:00.64Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "4f176043-11b0-4a01-aad1-e4c0879e80e8", + "createdTime": "2022-11-01T07:27:08.156Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "1d91ea0d-60dc-4735-aa40-c0621519c71c", + "createdTime": "2022-11-01T07:25:28.059Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "06844791-bd87-4aad-982c-15c77bc5ce7b", + "createdTime": "2022-11-01T07:24:57.529Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=200\u0026$skip=200" + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterStartTime[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterStartTime[1].json deleted file mode 100644 index 6d0dadc588b07..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedbackFilterStartTime[1].json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b7643935-1812-4ac4-bd6b-6a8e5d62b6ea", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "69da046c-faa5-457d-b1f1-e3ddca409aad", - "content-length" : "0", - "x-envoy-upstream-service-time" : "503", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "69da046c-faa5-457d-b1f1-e3ddca409aad", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/3bded5b3-c0e3-4767-bf92-453536f02408" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/3bded5b3-c0e3-4767-bf92-453536f02408", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "85e45b66-625b-4ed4-b2a4-e497ea490ff3" - }, - "Response" : { - "x-request-id" : "0392578c-e78f-42fd-835b-bc66c1be3cd6", - "content-length" : "374", - "x-envoy-upstream-service-time" : "101", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0392578c-e78f-42fd-835b-bc66c1be3cd6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"3bded5b3-c0e3-4767-bf92-453536f02408\",\"createdTime\":\"2022-04-08T23:50:34.257Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8ab3809e-0d27-42da-a07a-93a769a0b8f1", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "75a9fdb8-bae3-41a9-9d10-3b5e336929b8", - "content-length" : "1146", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "75a9fdb8-bae3-41a9-9d10-3b5e336929b8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"03a899a6-6b10-4194-9cd7-84c5ce467576\",\"createdTime\":\"2022-04-08T23:50:34.559Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2c1b0178-b281-4cf9-a20c-9f1c64528a3d\",\"createdTime\":\"2022-04-08T23:50:34.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3bded5b3-c0e3-4767-bf92-453536f02408\",\"createdTime\":\"2022-04-08T23:50:34.257Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedback[1].json deleted file mode 100644 index f432dba7f6f89..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackAsyncTest.testListMetricFeedback[1].json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ce0c9ce7-75de-4833-9e25-b894df43daef", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "b10283d6-fc0c-4071-b95a-2b9b2353fc1f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "384", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b10283d6-fc0c-4071-b95a-2b9b2353fc1f", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:33 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/2c1b0178-b281-4cf9-a20c-9f1c64528a3d" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/2c1b0178-b281-4cf9-a20c-9f1c64528a3d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "34b32d35-731a-4cc3-96d1-9744ee1d5ade" - }, - "Response" : { - "x-request-id" : "dfc66e91-5f52-42e6-8b7a-8cc0e7891c0a", - "content-length" : "379", - "x-envoy-upstream-service-time" : "109", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "dfc66e91-5f52-42e6-8b7a-8cc0e7891c0a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"2c1b0178-b281-4cf9-a20c-9f1c64528a3d\",\"createdTime\":\"2022-04-08T23:50:34.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "21420b72-e22a-4ad7-bb2f-a376939ac541", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d453091b-8d39-46d8-8b7f-e0f332d6ef61", - "content-length" : "0", - "x-envoy-upstream-service-time" : "369", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d453091b-8d39-46d8-8b7f-e0f332d6ef61", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0a216f35-1702-460f-9485-b387fee93145" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0a216f35-1702-460f-9485-b387fee93145", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4ce90385-dee6-4086-9343-fd88bf1048a9" - }, - "Response" : { - "x-request-id" : "5316e4ad-a8cd-42eb-8dab-20a7360b7f7e", - "content-length" : "378", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5316e4ad-a8cd-42eb-8dab-20a7360b7f7e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"0a216f35-1702-460f-9485-b387fee93145\",\"createdTime\":\"2022-04-08T23:50:35.04Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:34 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a0c7e116-3651-4d99-8878-28367511c795", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "8aa89744-37fb-4546-a705-7ed1a8d4416b", - "content-length" : "40170", - "x-envoy-upstream-service-time" : "111", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "8aa89744-37fb-4546-a705-7ed1a8d4416b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"3bded5b3-c0e3-4767-bf92-453536f02408\",\"createdTime\":\"2022-04-08T23:50:34.257Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0a216f35-1702-460f-9485-b387fee93145\",\"createdTime\":\"2022-04-08T23:50:35.04Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"03a899a6-6b10-4194-9cd7-84c5ce467576\",\"createdTime\":\"2022-04-08T23:50:34.559Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"0f28d794-c1fe-45a2-b064-e7b2c084fd3d\",\"createdTime\":\"2022-04-08T23:50:34.043Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"2c1b0178-b281-4cf9-a20c-9f1c64528a3d\",\"createdTime\":\"2022-04-08T23:50:34.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"420f6032-d80c-4c61-a67a-df636bf191f2\",\"createdTime\":\"2022-04-08T23:50:32.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b0ec5ba6-a6a4-4a96-9258-04c643e81878\",\"createdTime\":\"2022-04-08T23:50:31.11Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21307b49-5afa-4d26-b248-175f566d8b76\",\"createdTime\":\"2022-04-08T23:50:29.536Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"0cd9a4f6-0f6f-4731-b361-31ee7e6e03f9\",\"createdTime\":\"2022-04-08T23:50:28.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c3a01d5f-ba7c-40fe-8182-434f73c42af6\",\"createdTime\":\"2022-04-08T23:50:28.716Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"f20c1446-392c-49c8-bed8-0d4ed5a5b72d\",\"createdTime\":\"2022-04-08T23:50:24.795Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"75c7ceed-3e4f-4867-a8ba-5001232b17f9\",\"createdTime\":\"2022-04-08T23:50:24.024Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02\",\"createdTime\":\"2022-04-08T23:50:23.13Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"90f684bb-39f8-4479-9c54-7e009b998a0c\",\"createdTime\":\"2022-04-08T23:50:15.411Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:35 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createAnomalyFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createAnomalyFeedback[1].json deleted file mode 100644 index 5b00c7d941799..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createAnomalyFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "aae08176-bad5-4e4f-b37e-5c05355f4a59", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "59ce7012-2955-4255-b7b7-b7092f3d1b55", - "content-length" : "0", - "x-envoy-upstream-service-time" : "516", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "59ce7012-2955-4255-b7b7-b7092f3d1b55", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/54865767-7b5c-48a7-8d0f-d0d390a4c6f4" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/54865767-7b5c-48a7-8d0f-d0d390a4c6f4", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "31b52eec-cfab-49d6-9dc6-a9b1cd9d85fd" - }, - "Response" : { - "x-request-id" : "85a35639-7b2d-430a-9369-05075e4f01f8", - "content-length" : "373", - "x-envoy-upstream-service-time" : "134", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "85a35639-7b2d-430a-9369-05075e4f01f8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:17 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createChangePointMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createChangePointMetricFeedback[1].json deleted file mode 100644 index 20c3664bc1f95..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createChangePointMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "efd5f459-a60a-4d17-b5e1-0f89f7fb8d66", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d877b384-d2ed-46e6-acbf-5574f4c4e766", - "content-length" : "0", - "x-envoy-upstream-service-time" : "511", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d877b384-d2ed-46e6-acbf-5574f4c4e766", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:28 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0cd9a4f6-0f6f-4731-b361-31ee7e6e03f9" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/0cd9a4f6-0f6f-4731-b361-31ee7e6e03f9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9610d675-ccef-4bd4-a468-16fbad8b5875" - }, - "Response" : { - "x-request-id" : "bc8fc326-f96a-4942-b65b-571efede5754", - "content-length" : "382", - "x-envoy-upstream-service-time" : "103", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bc8fc326-f96a-4942-b65b-571efede5754", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"0cd9a4f6-0f6f-4731-b361-31ee7e6e03f9\",\"createdTime\":\"2022-04-08T23:50:28.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:29 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createCommentMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createCommentMetricFeedback[1].json deleted file mode 100644 index 98acbdf759c7e..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createCommentMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "285b4ed9-ef13-4431-ac8f-6fc7b42bc5cb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "08f15388-88bc-4bc2-92db-cf408f35c9f7", - "content-length" : "0", - "x-envoy-upstream-service-time" : "430", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "08f15388-88bc-4bc2-92db-cf408f35c9f7", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "120b8bb4-9e82-4a8c-b6e2-8dd77b641323" - }, - "Response" : { - "x-request-id" : "2bc9b6f9-9930-4ca6-bb38-52a053086f49", - "content-length" : "378", - "x-envoy-upstream-service-time" : "118", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2bc9b6f9-9930-4ca6-bb38-52a053086f49", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02\",\"createdTime\":\"2022-04-08T23:50:23.13Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:22 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createPeriodMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createPeriodMetricFeedback[1].json deleted file mode 100644 index 51d29a76c0f9d..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.createPeriodMetricFeedback[1].json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f158ce8-3fc5-430c-b2b3-9916dc888b57", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "bc4977ba-1b2c-4334-b302-2268079d988f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "581", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bc4977ba-1b2c-4334-b302-2268079d988f", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/90f684bb-39f8-4479-9c54-7e009b998a0c" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/90f684bb-39f8-4479-9c54-7e009b998a0c", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8ac10bb3-5c9b-4d4e-b293-faa460a030ad" - }, - "Response" : { - "x-request-id" : "012c0db4-dbff-4990-83b4-8293f7748884", - "content-length" : "319", - "x-envoy-upstream-service-time" : "106", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "012c0db4-dbff-4990-83b4-8293f7748884", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"90f684bb-39f8-4479-9c54-7e009b998a0c\",\"createdTime\":\"2022-04-08T23:50:15.411Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackNullId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackNullId[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackNullId[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackNullId[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackValidId[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackValidId[1].json deleted file mode 100644 index f318cdba11297..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.getMetricFeedbackValidId[1].json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f89a5932-7c50-430e-bb6f-b5a279fc9325", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "1e839f1e-5025-4370-8790-31b8c1be7bb7", - "content-length" : "0", - "x-envoy-upstream-service-time" : "436", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1e839f1e-5025-4370-8790-31b8c1be7bb7", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/d19c8c84-14e3-4601-9724-2da6213a6004" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/d19c8c84-14e3-4601-9724-2da6213a6004", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "548af1fd-3b05-4fda-963f-a39b501ab2ed" - }, - "Response" : { - "x-request-id" : "08163e0f-0255-4a1f-a22e-9c572a477605", - "content-length" : "379", - "x-envoy-upstream-service-time" : "107", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "08163e0f-0255-4a1f-a22e-9c572a477605", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/d19c8c84-14e3-4601-9724-2da6213a6004", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8a3abd01-f37e-4220-92f7-243fceb7f05b" - }, - "Response" : { - "x-request-id" : "2d7ad5b0-1014-4e2a-b556-2f06a137e0ca", - "content-length" : "379", - "x-envoy-upstream-service-time" : "105", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2d7ad5b0-1014-4e2a-b556-2f06a137e0ca", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByDimensionFilter[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByDimensionFilter[1].json deleted file mode 100644 index 6f5af016fddd5..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByDimensionFilter[1].json +++ /dev/null @@ -1,266 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "43fe0f2f-a66d-4581-ae1c-ab85f7af6720", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "c4b4fa1b-f833-4eda-aaf4-b9ae33eac10f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "600", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c4b4fa1b-f833-4eda-aaf4-b9ae33eac10f", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/69ed30e4-1842-4cee-9427-e2f19fa92775" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/69ed30e4-1842-4cee-9427-e2f19fa92775", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2606ca02-fb66-4d7d-916b-fe61456f4990" - }, - "Response" : { - "x-request-id" : "fb3be872-339b-46ea-8ed1-3d8f877a5a22", - "content-length" : "373", - "x-envoy-upstream-service-time" : "105", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fb3be872-339b-46ea-8ed1-3d8f877a5a22", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:18 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "00983c85-6bff-4af0-9a67-321f8ca587d2", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "bd2a483c-bda3-4b79-9555-ca309307337e", - "content-length" : "3808", - "x-envoy-upstream-service-time" : "122", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "bd2a483c-bda3-4b79-9555-ca309307337e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"90f684bb-39f8-4479-9c54-7e009b998a0c\",\"createdTime\":\"2022-04-08T23:50:15.411Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5a8d88fe-b818-4e17-9820-c712204a1555", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "a8edf079-387d-4ed2-b4e0-cd9a7790a899", - "content-length" : "3879", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a8edf079-387d-4ed2-b4e0-cd9a7790a899", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c240943f-be5a-4bdd-9ba1-6961431271c2", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "e5f0c762-cbfd-47cb-8586-7eab834119ce", - "content-length" : "3870", - "x-envoy-upstream-service-time" : "128", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e5f0c762-cbfd-47cb-8586-7eab834119ce", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30\"}", - "Date" : "Fri, 08 Apr 2022 23:50:19 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a157b782-ca16-47be-9631-9759b6fdb859", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "c43f86de-036d-46a3-af93-7da4aba54c9b", - "content-length" : "3880", - "x-envoy-upstream-service-time" : "107", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c43f86de-036d-46a3-af93-7da4aba54c9b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3fa9ac3e-397e-4be3-ace3-5de664494ffa", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "843fb0cc-58cd-444d-987b-7b521690eeb4", - "content-length" : "3818", - "x-envoy-upstream-service-time" : "121", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "843fb0cc-58cd-444d-987b-7b521690eeb4", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "edfeced5-0fe2-4916-9489-faa6f1df472a", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "c4263f11-b9ec-4b45-b620-825be108aaeb", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "126", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c4263f11-b9ec-4b45-b620-825be108aaeb", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "22851dac-2bcc-4005-984e-2ccd1eb71479", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "22f309c6-0e5d-4b83-b9d1-1f539f604263", - "content-length" : "3873", - "x-envoy-upstream-service-time" : "140", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "22f309c6-0e5d-4b83-b9d1-1f539f604263", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "878213c2-2197-4fe3-b39b-0eda3a463cfa", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "08328630-7b4d-448b-9dea-7940adf8ada6", - "content-length" : "3938", - "x-envoy-upstream-service-time" : "133", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "08328630-7b4d-448b-9dea-7940adf8ada6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "20fae097-7b53-4158-a5a2-c1039480976a", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "05feee93-043f-4038-aeb2-81cc9a43e886", - "content-length" : "3881", - "x-envoy-upstream-service-time" : "200", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "05feee93-043f-4038-aeb2-81cc9a43e886", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90\"}", - "Date" : "Fri, 08 Apr 2022 23:50:20 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b0ac5939-8e0b-49d9-a09e-7f632591de4e", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d375f87c-5de8-4296-b86c-b17c28c5d1e6", - "content-length" : "1461", - "x-envoy-upstream-service-time" : "112", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d375f87c-5de8-4296-b86c-b17c28c5d1e6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:21 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByFeedbackType[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByFeedbackType[1].json deleted file mode 100644 index 67265e10dc8ac..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterByFeedbackType[1].json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e08cd133-0f18-474b-9369-331683116e0c", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "b5179d38-5bcf-4702-b022-387f7df66680", - "content-length" : "21379", - "x-envoy-upstream-service-time" : "114", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b5179d38-5bcf-4702-b022-387f7df66680", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"176a3fc9-4d5f-41af-99fe-2d3b2b3da291\",\"createdTime\":\"2022-04-06T02:28:57.657Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"89b4c916-1a43-4f0c-b9de-d821652d78e9\",\"createdTime\":\"2022-04-06T02:28:56.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1cbb0477-fda0-4cba-8a99-56aac23dfced\",\"createdTime\":\"2022-04-06T02:28:55.955Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"816fa8a0-e2dc-4842-b059-5f0d3a96e8ec\",\"createdTime\":\"2022-04-06T02:28:52.685Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"ed1d8bfe-3427-4caf-ac86-c4c7265c31ee\",\"createdTime\":\"2022-04-06T02:28:47.189Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"3333cd22-8f94-44d0-9fbc-5684a4d8267d\",\"createdTime\":\"2022-04-06T02:28:45.172Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"12fd1b60-8de0-4cb5-8736-1c346dfb576a\",\"createdTime\":\"2022-04-06T00:39:48.181Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1214b129-a9af-4129-a9d2-ffa2cbf7bb8e\",\"createdTime\":\"2022-04-06T00:39:47.194Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b728f2f3-0dec-46ef-a019-fc58b80620b6\",\"createdTime\":\"2022-04-06T00:39:46.614Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"1fdd07ef-acae-459e-9a4a-12f91d5ba561\",\"createdTime\":\"2022-04-06T00:39:45.845Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"b61e40c1-1d28-4607-bcd3-44478d9ab182\",\"createdTime\":\"2022-04-06T00:39:44.72Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a41b0f09-b539-4147-af82-2b0b1a9522a3\",\"createdTime\":\"2022-04-06T00:39:43.831Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"3e7917b9-1f4f-4f1f-b0f6-c25ec2929c6a\",\"createdTime\":\"2022-04-06T00:24:03.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7434d71e-86db-4603-81ce-5d3184db1d99\",\"createdTime\":\"2022-04-06T00:24:02.717Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"15d67b1e-fa83-4a60-b483-3f0c3ed244f5\",\"createdTime\":\"2022-04-06T00:24:02.509Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5ae7c79e-11ab-4593-b3b9-661fa8ff4916\",\"createdTime\":\"2022-04-06T00:24:01.928Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"44ca9d4e-8fba-4aa0-a33c-dca1c36f33d4\",\"createdTime\":\"2022-04-06T00:24:00.693Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"57d2d483-931f-4613-8094-f0da13b2f05a\",\"createdTime\":\"2022-04-06T00:23:59.746Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"9209565d-2de6-4779-942b-2d00bd948b82\",\"createdTime\":\"2022-04-06T00:12:23.674Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e3c288a6-048a-4d3a-9cbb-ab0b884e93bf\",\"createdTime\":\"2022-04-06T00:12:23.175Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"ef9734e0-1079-4080-909d-30078a98ff51\",\"createdTime\":\"2022-04-06T00:12:23.04Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4b8022e9-ffec-4352-b47f-57dd5fbaf4c5\",\"createdTime\":\"2022-04-06T00:10:26.219Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"c5efdb7b-4239-44c7-a67f-0c9dbd1da27c\",\"createdTime\":\"2022-04-06T00:10:26.24Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"831fe6e8-6e92-4153-9126-db8a3de1d218\",\"createdTime\":\"2022-04-06T00:10:26.127Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:27 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterStartTime[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterStartTime[1].json deleted file mode 100644 index 7cbd680048617..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedbackFilterStartTime[1].json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "13ce28c7-41e4-430c-903d-ad9b6e7f3df3", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "a75c87f8-a42a-4221-a188-5c227d5bbaad", - "content-length" : "0", - "x-envoy-upstream-service-time" : "525", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a75c87f8-a42a-4221-a188-5c227d5bbaad", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/c8d6904c-66cb-496f-9af6-0ca5542136fe" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/c8d6904c-66cb-496f-9af6-0ca5542136fe", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8bbee7eb-42b5-47b8-ac04-bd1d8d107592" - }, - "Response" : { - "x-request-id" : "31132a42-e390-475f-902c-61d490a5d2a7", - "content-length" : "374", - "x-envoy-upstream-service-time" : "100", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "31132a42-e390-475f-902c-61d490a5d2a7", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a5cdb0d3-1f67-4320-a94e-8bf1dd0843f4", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "23d84cfd-756a-48ea-84cc-5272fca3c73b", - "content-length" : "386", - "x-envoy-upstream-service-time" : "105", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "23d84cfd-756a-48ea-84cc-5272fca3c73b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"c8d6904c-66cb-496f-9af6-0ca5542136fe\",\"createdTime\":\"2022-04-08T23:50:26.673Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:26 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedback[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedback[1].json deleted file mode 100644 index 36f1b0ea2e871..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/FeedbackTest.testListMetricFeedback[1].json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c855c9f8-bc27-483f-adbe-95ee6676d622", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "35e2e520-0ff9-470b-8af2-fa4694348d24", - "content-length" : "0", - "x-envoy-upstream-service-time" : "427", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "35e2e520-0ff9-470b-8af2-fa4694348d24", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/75c7ceed-3e4f-4867-a8ba-5001232b17f9" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/75c7ceed-3e4f-4867-a8ba-5001232b17f9", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f61b263b-7323-425f-9a19-70d74cdf5793" - }, - "Response" : { - "x-request-id" : "f797f259-a391-4f5f-a89e-0cfac1d828e9", - "content-length" : "379", - "x-envoy-upstream-service-time" : "145", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f797f259-a391-4f5f-a89e-0cfac1d828e9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"75c7ceed-3e4f-4867-a8ba-5001232b17f9\",\"createdTime\":\"2022-04-08T23:50:24.024Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:23 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "592e0570-608b-4c3d-984d-f083df918e05", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "743b18f1-3342-4420-a311-d593a841038b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "394", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "743b18f1-3342-4420-a311-d593a841038b", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/f20c1446-392c-49c8-bed8-0d4ed5a5b72d" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/f20c1446-392c-49c8-bed8-0d4ed5a5b72d", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fb76abd3-998b-4260-b8a0-fe27435582df" - }, - "Response" : { - "x-request-id" : "13a3ed67-dd68-4300-9350-edaf34a37683", - "content-length" : "379", - "x-envoy-upstream-service-time" : "109", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "13a3ed67-dd68-4300-9350-edaf34a37683", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"feedbackId\":\"f20c1446-392c-49c8-bed8-0d4ed5a5b72d\",\"createdTime\":\"2022-04-08T23:50:24.795Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:24 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c91bac2c-2c71-4f71-a8ae-9b82fdb1ada9", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "173b645d-b2af-4810-b7ec-c26f0ee407d2", - "content-length" : "36066", - "x-envoy-upstream-service-time" : "136", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "173b645d-b2af-4810-b7ec-c26f0ee407d2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"75c7ceed-3e4f-4867-a8ba-5001232b17f9\",\"createdTime\":\"2022-04-08T23:50:24.024Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f20c1446-392c-49c8-bed8-0d4ed5a5b72d\",\"createdTime\":\"2022-04-08T23:50:24.795Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9a0ad7f6-42e0-4c51-9d2f-f1c3152d5f02\",\"createdTime\":\"2022-04-08T23:50:23.13Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"69ed30e4-1842-4cee-9427-e2f19fa92775\",\"createdTime\":\"2022-04-08T23:50:18.79Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"54865767-7b5c-48a7-8d0f-d0d390a4c6f4\",\"createdTime\":\"2022-04-08T23:50:17.53Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d19c8c84-14e3-4601-9724-2da6213a6004\",\"createdTime\":\"2022-04-08T23:50:16.443Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"90f684bb-39f8-4479-9c54-7e009b998a0c\",\"createdTime\":\"2022-04-08T23:50:15.411Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:25 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json index cf2b575e0f7d1..e1dfe1a65169b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithDefaultPipeline[1].json @@ -1,277 +1,399 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1ae2c2f3-5901-4be8-a06f-8e7f01ba123b" - }, - "Response" : { - "x-request-id" : "6e607e8e-5a2d-4c33-be18-96828f722a1c", - "content-length" : "26448", - "x-envoy-upstream-service-time" : "165", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6e607e8e-5a2d-4c33-be18-96828f722a1c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"64f7b0f6-6d7d-4088-87f8-22010d8049e4\",\"dataFeedName\":\"java_create_data_feed_test_sample179e04ff-0b37-4173-ab9f-f95e354c5125\",\"metrics\":[{\"metricId\":\"be29953f-884d-486a-a867-a5f50bbf2bbb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"34775200-6923-4987-9ef4-aef0eebe5586\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"DataLakeGen2SharedKey\",\"credentialId\":\"be44f11a-8d4a-4a51-b869-4f7e12d22058\"},{\"dataFeedId\":\"272d4977-0bc6-41e1-803c-f96c1da1b552\",\"dataFeedName\":\"java_create_data_feed_test_sample68d59196-6d4d-4a83-9b32-c3a833f4f140\",\"metrics\":[{\"metricId\":\"0f08bc55-483c-44d9-adc6-a8ddd061ae12\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"968e2577-9724-4896-8680-bd205850f9bc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"region\",\"dimensionDisplayName\":\"region\"}],\"dataStartFrom\":\"2019-10-01T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"needRollup\":\"NoRollup\",\"fillMissingPointType\":\"PreviousValue\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"None\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":0,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-08T23:50:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"adsample.json\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"%Y/%m/%d\",\"fileSystemName\":\"adsample\"},\"authenticationType\":\"ServicePrincipal\",\"credentialId\":\"dc87a781-e3dc-4450-b980-1f5c990ca4fd\"},{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"008d2ec9-b73f-47ab-9770-23346455f8dd\",\"dataFeedName\":\"js-test-cosmosFeed-163537526935709631\",\"metrics\":[{\"metricId\":\"e632a17f-2b62-4f5f-9833-87d88c1339be\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7d158177-ab19-430c-aa7b-f8f2a3779478\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5b81a32c-e538-4b67-8edc-a28f1d7ba182\",\"dataFeedName\":\"js-test-sqlServerFeed-163537526935703123\",\"metrics\":[{\"metricId\":\"538b8c02-95fc-4026-bb51-62812c74e1ad\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"80c6ccd3-c463-445b-ba55-7e996bb8dcf5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"897224a1-bfc6-4f03-a0a4-904c0db5c867\",\"dataFeedName\":\"js-test-appInsightsFeed-163537526935702186\",\"metrics\":[{\"metricId\":\"ec989805-ca20-44af-82a5-5b8ce3a7a2d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"247e1e48-c766-43a8-b13b-3abe53a6a68a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"96373c59-47c5-4a0e-8650-50502bcccc74\",\"dataFeedName\":\"js-test-mySqlFeed-163528892511107837\",\"metrics\":[{\"metricId\":\"e695fde0-4bbf-463e-98f1-10c7851efe54\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d223a971-e44b-4c83-9fd3-f1fb57985100\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2dd23722-bb59-4025-b454-71a2dbc8f5c8" - }, - "Response" : { - "x-request-id" : "fa7f082a-04dc-4675-87cb-fb389f0bd043", - "content-length" : "26569", - "x-envoy-upstream-service-time" : "270", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fa7f082a-04dc-4675-87cb-fb389f0bd043", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b661625b-3354-462d-ab6e-08ac4991d97e" - }, - "Response" : { - "x-request-id" : "5f04f2c1-f1a5-436e-bd26-3feaefed8392", - "content-length" : "26290", - "x-envoy-upstream-service-time" : "142", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5f04f2c1-f1a5-436e-bd26-3feaefed8392", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7817e53f-08bf-4e6e-8450-f2789ca5e327\",\"dataFeedName\":\"js-test-postgreSqlFeed-163494342171309085\",\"metrics\":[{\"metricId\":\"97ebccf3-35e7-434a-a552-8f369612adb1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d742310d-6703-429a-a542-a78e5caceed4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8fe63451-cd73-4c4d-97b5-e9c9a26cb4bf" - }, - "Response" : { - "x-request-id" : "7b61c960-9182-41ad-bd32-b106b9b38f55", - "content-length" : "26603", - "x-envoy-upstream-service-time" : "169", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7b61c960-9182-41ad-bd32-b106b9b38f55", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5a6f84fb-258e-45fc-8e2a-f0f6af4ea02b" - }, - "Response" : { - "x-request-id" : "15c18272-4b1b-4953-8645-44e210a98036", - "content-length" : "26560", - "x-envoy-upstream-service-time" : "161", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "15c18272-4b1b-4953-8645-44e210a98036", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"af16bd12-0ec4-4e62-aeff-99b38e03ec8a\",\"dataFeedName\":\"js-test-mySqlFeed-163468448802601066\",\"metrics\":[{\"metricId\":\"40e1f592-b85b-4309-ac3f-a0d3fe1cacbd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ffd0f6de-7b2f-430b-9e4d-b85ba70cc54b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aac795d-0745-4d05-85b7-ffb486b7f8ae\",\"dataFeedName\":\"js-test-mongoDbFeed-163468448802601042\",\"metrics\":[{\"metricId\":\"0b4111a0-561d-4c1d-b9f0-b80458623d06\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea779e95-e0f8-4a00-97f0-1712cb1f3019\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"774d2afe-fda1-4208-a2cf-30317b5af032\",\"dataFeedName\":\"js-test-influxdbFeed-163468448802607054\",\"metrics\":[{\"metricId\":\"6f29e7be-eba2-45cd-abe2-1a7ea4db22e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5a635a49-9f87-401a-9625-d52fbc9ca45c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76cd8887-9334-4333-99b9-a792b67ec57b\",\"dataFeedName\":\"js-test-tableFeed-163468448802605019\",\"metrics\":[{\"metricId\":\"7fa989ee-c0f2-477c-b5bb-8ea40922ee0c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5f6d969c-51b4-4f33-bb67-5e0d78d96576\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"775b4672-762a-4296-a50a-4cdd844d8b02\",\"dataFeedName\":\"js-test-dataExplorerFeed-163468448802602614\",\"metrics\":[{\"metricId\":\"fd746dc8-551d-4f67-873d-dcc07537f79c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a77693c7-ba9a-4f13-b0a7-5b0f92a30241\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"45fa00ce-b033-4974-8520-8cf9dc68080f\",\"dataFeedName\":\"js-test-cosmosFeed-163468448802607184\",\"metrics\":[{\"metricId\":\"338962e7-54c5-403e-9d70-e175b8f93a7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3b555692-31dc-4527-8521-8b1f3c28b488\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05727945-a10a-437b-8c0b-12950119fb40\",\"dataFeedName\":\"js-test-sqlServerFeed-163468448802605163\",\"metrics\":[{\"metricId\":\"7fff1e5b-3d98-4c13-a107-f080e3ccf83b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"950011ac-4b9b-4238-8d79-5f52696d7365\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c93f1ab6-4531-41ce-a6e0-7872ca4b8a5d\",\"dataFeedName\":\"js-test-appInsightsFeed-163468448802604264\",\"metrics\":[{\"metricId\":\"11d13fb1-4564-47a8-854d-a587da8e5a9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"73f2bcca-144c-4312-82de-7f75b3aa439a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"789b90ec-9f56-4992-9c70-4b4585642f9a\",\"dataFeedName\":\"js-test-postgreSqlFeed-163459779906401227\",\"metrics\":[{\"metricId\":\"d3786551-2245-499a-83b5-e708b28cf934\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cf4dc7b-70e9-4722-9014-cfe8df958c7e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3297ae23-246f-4e3f-a599-aba18f365f81\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163459779906409787\",\"metrics\":[{\"metricId\":\"014e11b4-9fff-46bc-b54a-884cb9887cd1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d4fe1e4e-0557-4dc0-a3ab-6cd7f1ba2bca\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f106684-b7f6-49c0-859b-20304bc8d269\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163459779906400426\",\"metrics\":[{\"metricId\":\"0863c7ed-c965-432f-b5d7-7a45ed9a3876\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b66b23b1-f26d-45b3-acd4-84649ebd223b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"394b4f8b-7f2b-4658-a84d-4ff68cbd028c\",\"dataFeedName\":\"js-test-mySqlFeed-163459779906407512\",\"metrics\":[{\"metricId\":\"4f1e304f-7709-4b8b-8cf1-1fee7ce53dbc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84c02d90-39ce-42ae-b946-4d6d12de1db1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"50fabb20-d1e7-48f2-b882-48bb6840df2b\",\"dataFeedName\":\"js-test-mongoDbFeed-163459779906407287\",\"metrics\":[{\"metricId\":\"5cae238d-8846-4825-817d-e9d446758061\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c45838c0-fa6d-4fc9-8970-8807850ced82\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"00b86552-a4a1-4bdb-96f7-edac0ff17d20\",\"dataFeedName\":\"js-test-influxdbFeed-163459779906408053\",\"metrics\":[{\"metricId\":\"f6490f92-a1fc-4310-8955-2612147b397e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ab0a55ed-2cff-4ccd-8d02-4a62f764cc62\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b3e8c03-146e-4a96-9b96-33f4c025d862\",\"dataFeedName\":\"js-test-tableFeed-163459779906409818\",\"metrics\":[{\"metricId\":\"21afd45d-80cf-4532-b82b-786378e20e81\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c83eacb3-d19d-49d2-9ea5-9b58f9a81e40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f386f533-d457-4389-b73c-5ef9dd397562\",\"dataFeedName\":\"js-test-cosmosFeed-163459779906402351\",\"metrics\":[{\"metricId\":\"72c514f6-a1d2-467f-82bb-92594894e90d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a7e6ea1-d106-4373-a514-d6a5e7d3e135\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10010b05-82fe-4ebd-b634-f70ffaf80a00\",\"dataFeedName\":\"js-test-dataExplorerFeed-163459779906409880\",\"metrics\":[{\"metricId\":\"80f405c0-0ffa-463b-9988-ed69d2d5f0de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5143d701-1386-498f-8266-ede6df193b1c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"09b106a2-4185-4811-9e73-4624774d710f\",\"dataFeedName\":\"js-test-sqlServerFeed-163459779906409917\",\"metrics\":[{\"metricId\":\"48b0e726-a29b-4fed-9d05-a46c1a7e3343\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0d1f92d5-552f-4bce-a5d8-adad5ce164a9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7782cc33-bb9a-4cfc-ba00-48348a22d0e4\",\"dataFeedName\":\"js-test-appInsightsFeed-163459779906406741\",\"metrics\":[{\"metricId\":\"35a57c39-2068-4bbb-900a-38a4741b6a27\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a10526c1-4cec-4fa2-969a-3a52afbf39af\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=100", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a13f2ab-f45a-49a7-928a-96386304c75f" - }, - "Response" : { - "x-request-id" : "7740f560-f5aa-423f-a6b5-557dad1b5a98", - "content-length" : "26291", - "x-envoy-upstream-service-time" : "148", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7740f560-f5aa-423f-a6b5-557dad1b5a98", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"0b4951e5-622b-4f64-bff6-aa28608744b5\",\"dataFeedName\":\"js-test-datafeed-163459779906404628\",\"metrics\":[{\"metricId\":\"3b5f2a14-0b40-4a2b-94f8-fa09487b6566\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6892c2cc-df10-4782-86cd-f0b737a90b59\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"60871ba1-1e6e-4cf3-af3b-e31b60131f7a\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163433850942004151\",\"metrics\":[{\"metricId\":\"77baaf3e-e305-49b4-bd96-201c19ead369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b07fce2c-718e-4402-8787-e9892c64abb2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"22692c13-d12c-450a-a082-726d26bbc2e8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163433850942002901\",\"metrics\":[{\"metricId\":\"8ebac36d-a3a3-465a-94dc-a70e7e92b945\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"356fd0e3-7586-4f6c-8b43-a74d9df1e2a1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bc76a95e-645d-4b83-8c77-71faac9d3669\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163433850942000615\",\"metrics\":[{\"metricId\":\"61ea573b-a444-49e6-b804-cb2b2eac0518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"40ed0586-9c6f-4f0d-9e4e-9a3aafe53554\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42312f0-7272-434e-98c9-f87de9571265\",\"dataFeedName\":\"js-test-mySqlFeed-163433850942009324\",\"metrics\":[{\"metricId\":\"a46a2716-7613-4d1f-ad0f-a68bd2a5336c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c5a83e72-2d48-4dab-af41-9175a15253f6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f337ee7d-cb3a-4c84-8aef-087867fef781\",\"dataFeedName\":\"js-test-mongoDbFeed-163433850942006486\",\"metrics\":[{\"metricId\":\"8d69fe2e-cf9f-4163-931b-d40bd8b7a800\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"052428d4-5831-4957-b961-dd5fe634067e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"df64d783-cbeb-4f59-913f-1b7b7f8a5d78\",\"dataFeedName\":\"js-test-influxdbFeed-163433850942002966\",\"metrics\":[{\"metricId\":\"80e2c19b-bb1a-4388-9cc6-33f22a9d524f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2edf4b3f-5603-4228-8718-3386db7cc9db\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"15fac2c4-9b96-4029-9bd6-b8187c6a8027\",\"dataFeedName\":\"js-test-tableFeed-163433850942003172\",\"metrics\":[{\"metricId\":\"9f48c5b8-fa50-4c01-8e19-3f0af7ca667f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8b14d6fa-9589-47a3-80f4-2428eea1281b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c4324bb8-3383-4caf-8a1f-6188c3b06f56\",\"dataFeedName\":\"js-test-dataExplorerFeed-163433850942006585\",\"metrics\":[{\"metricId\":\"ff677574-7597-4236-a280-ece802441f89\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcfe74c1-a212-4a2e-b7ae-86d69d6191c2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"106784c1-8835-4f4b-ad71-f0978fae7837\",\"dataFeedName\":\"js-test-cosmosFeed-163433850942008143\",\"metrics\":[{\"metricId\":\"0da56162-f2e7-443d-9cee-6ad9d0c47dfe\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8de5feb6-26f5-4add-85d0-f99ee837453f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f2a7474-51de-44ac-92a0-912e039efd35\",\"dataFeedName\":\"js-test-sqlServerFeed-163433850942004244\",\"metrics\":[{\"metricId\":\"d1de3841-15b3-4bdc-8437-f50787962b3c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"dce159ff-b8d3-4932-89ba-5a72cf9123e0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"83bb685e-3c33-4742-8188-50f22915295e\",\"dataFeedName\":\"js-test-appInsightsFeed-163433850942005474\",\"metrics\":[{\"metricId\":\"b8a339a6-62ce-4d00-ad52-2213800eceba\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f7141608-2242-4377-8f49-46c8e46dfa12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1ff9f815-b7a6-431f-b9d7-7b380b17c07c\",\"dataFeedName\":\"js-test-datafeed-163433850942003674\",\"metrics\":[{\"metricId\":\"d35647ba-9195-4bef-a82a-0a83632e3fee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"da721189-044b-4ece-b207-d3d67d944324\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"57acead6-3bee-46e9-a05b-226626bfc824\",\"dataFeedName\":\"js-test-postgreSqlFeed-163425217090408737\",\"metrics\":[{\"metricId\":\"539b7713-4289-4d1d-9628-5c86a86051a7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2a8a29b1-5285-4a94-bed7-2146b20291b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c4ac1273-9249-4bfa-83db-f907178157df\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163425217090404735\",\"metrics\":[{\"metricId\":\"0bb40ff8-1fe6-4045-ae87-7df0956c8a3e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1345f27f-facf-4baa-ba88-1069141b8733\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"93016b8a-5db1-489e-a15d-bf89944e2732\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163425217090403154\",\"metrics\":[{\"metricId\":\"a30713a3-c9f2-4c08-8ca8-6f2b667738b3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5f59e56-f0a3-40d5-a9dd-c535a2411b04\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f817aa1-c49f-424f-84a8-744cde3802e8\",\"dataFeedName\":\"js-test-mySqlFeed-163425217090403483\",\"metrics\":[{\"metricId\":\"713abf2e-3351-491b-bedb-53f0c6354c4d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cd9dcd8e-b661-443d-9194-4b001abbe18a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bacb9a83-6d9e-4868-b22e-d3d35c17133c\",\"dataFeedName\":\"js-test-mongoDbFeed-163425217090401041\",\"metrics\":[{\"metricId\":\"d1b1ad45-1aa1-4d96-b134-7f039bf628f1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1888a766-f6da-498a-a62f-a098be6ac72f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:08Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"26ef2841-4afa-4109-a99a-87283cd1b3bc\",\"dataFeedName\":\"js-test-influxdbFeed-163425217090400404\",\"metrics\":[{\"metricId\":\"0abf9946-a4b3-45cc-aa77-3840ddd50993\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"af614b1d-799b-49d9-949e-87dcf2bda2ab\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:02Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2f4140f4-1909-42a8-aff0-b99def9deffb\",\"dataFeedName\":\"js-test-tableFeed-163425217090408777\",\"metrics\":[{\"metricId\":\"5bbadc9e-47d1-47fd-af15-2b4c0315a508\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7f3b580c-28bf-4217-8148-459fc9280cbd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=120\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=120", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fcb26a52-2d36-4e52-a139-d77a53d4962a" - }, - "Response" : { - "x-request-id" : "f3f9f635-ec40-4222-afc9-52d688958ea6", - "content-length" : "26849", - "x-envoy-upstream-service-time" : "148", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f3f9f635-ec40-4222-afc9-52d688958ea6", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"0b6c4066-cfca-4fdb-a1d2-2eb5542f79e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163425217090406927\",\"metrics\":[{\"metricId\":\"1623ced7-5372-4ddf-ace0-98484c420957\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fd2a820a-2622-422c-9a3b-d00e0ae5b0c7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"65c33d7d-9c0b-4039-94da-9007dbe241e5\",\"dataFeedName\":\"js-test-cosmosFeed-163425217090407342\",\"metrics\":[{\"metricId\":\"933b5b13-d2fe-4132-9413-034dd1a1e569\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b48f9fdc-309e-479d-8830-1459085b92f3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ea05aed5-aa00-4465-8f9e-6cbf6e14aff3\",\"dataFeedName\":\"js-test-sqlServerFeed-163425217090404114\",\"metrics\":[{\"metricId\":\"317f97ff-9808-4ed3-8712-c92659a3b25e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea6da990-b74f-4999-b5c4-bd749d113bb4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fdc1c582-bba0-468c-ab58-e85bf0fb7201\",\"dataFeedName\":\"js-test-appInsightsFeed-163425217090405709\",\"metrics\":[{\"metricId\":\"3906e586-05a2-41ce-a89d-58c0ef88fff6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"660a265f-da62-41ca-a448-e80afe023e39\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2564a746-3a1a-4bf0-baf6-ff3cc5ef2405\",\"dataFeedName\":\"js-test-datafeed-163425217090405817\",\"metrics\":[{\"metricId\":\"e49059de-d500-4e69-bd95-a8c98e86a683\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d73509b-d163-4071-aefb-3e3dfb35b7c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d17f93b6-0852-4da8-aec0-d5f00673f68e\",\"dataFeedName\":\"js-test-postgreSqlFeed-163416596428201839\",\"metrics\":[{\"metricId\":\"c86cc6cd-ee66-436c-9c77-a26b0785cd85\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"713b5b85-f8c3-4cde-8014-64fd3c0c638f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6a98b7ad-ffc8-456c-8939-7314ce99b0be\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163416596428206823\",\"metrics\":[{\"metricId\":\"22acd26a-8b3a-4e35-be23-7faaecd4ad34\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51340ea1-f6f2-4191-8009-11ef089fa68d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:39Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4129aa5b-f664-48f9-b7c6-7ab0a00e3173\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163416596428205979\",\"metrics\":[{\"metricId\":\"570a2f41-1d4f-46bb-82ac-11b46c3f85e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cc72378-6a9c-4db9-ae17-494c69ec3382\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"47fa40a6-1ffa-425f-9348-06eddbfcec21\",\"dataFeedName\":\"js-test-mySqlFeed-163416596428204189\",\"metrics\":[{\"metricId\":\"bc5c0828-4d2e-4f1e-bef3-16f9d8dd9e9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ee2de793-3cb6-4ea2-8f75-a15a8f507f3c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6bc26334-3d4a-4c6e-9b9f-bc64648df3b3\",\"dataFeedName\":\"js-test-mongoDbFeed-163416596428203057\",\"metrics\":[{\"metricId\":\"415387ca-61f4-4424-a270-5fc07de3cda4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3e6e8d45-66ce-42ac-b2ec-bc587c29c221\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"22880bf7-fe5a-429a-b940-fe1e7bcdc1d6\",\"dataFeedName\":\"js-test-influxdbFeed-163416596428205352\",\"metrics\":[{\"metricId\":\"266a7b9e-b0d4-4e58-8249-a323b3eed704\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a199c341-2c6c-4d65-8b24-bef478bf058f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4061e534-3c2a-44b9-88ce-3fe7a6b2b317\",\"dataFeedName\":\"js-test-tableFeed-163416596428209518\",\"metrics\":[{\"metricId\":\"7b6d4b44-cdc5-409c-8a65-806f514e136c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d519c9c4-299a-4c35-9d04-6b03014f3712\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9aba55b0-2226-4170-b0f1-5f5c281b2ab3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163416596428209351\",\"metrics\":[{\"metricId\":\"1638e7fe-e1a1-4549-918b-a95557722533\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1fcd05f9-7364-4c9a-b134-125e08c227a8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d54ca735-c5ed-4aee-81ea-7b09f32d0dc4\",\"dataFeedName\":\"js-test-cosmosFeed-163416596428209934\",\"metrics\":[{\"metricId\":\"9fc9ba13-4e33-4879-b037-95bf7e703eb5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8714548c-cce1-49b3-b1bd-1eaf2b27dbf9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9a7458ec-34f1-47a3-ab16-38f8a1cdff4e\",\"dataFeedName\":\"js-test-sqlServerFeed-163416596428209579\",\"metrics\":[{\"metricId\":\"7c7f75fa-036b-4d6c-9a88-829e3bcd00a4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c9b483d-c2bb-45bd-a5d1-13c2bdbd3c25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"16de3de9-3282-4faa-8438-db96b781dfd3\",\"dataFeedName\":\"js-test-appInsightsFeed-163416596428205623\",\"metrics\":[{\"metricId\":\"803dbf64-08c1-4369-9a81-b3e6024b75df\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c173bd7-c4e9-4bf6-ac9f-40d21dba3e7a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:39Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2a522881-7e71-46d9-afc7-472f71e2ae8e\",\"dataFeedName\":\"js-test-datafeed-163416596428205551\",\"metrics\":[{\"metricId\":\"34e7bea6-b3fd-482d-acfa-b576ca5c0231\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1a19e374-73be-45dd-822c-b58b29bc34a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ecf7fb2b-665f-4478-93e2-5486307ca8cb\",\"dataFeedName\":\"js-test-cosmosFeed-163407956949508845\",\"metrics\":[{\"metricId\":\"0c282973-acd4-46f0-9ccd-48e47f082fa5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e06bba51-8b02-4f56-9518-e7e8ff96ace1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T23:00:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e6c3903c-d940-4511-a443-d96aeda61a3d\",\"dataFeedName\":\"js-test-sqlServerFeed-163407956949506495\",\"metrics\":[{\"metricId\":\"79781ed2-6259-4221-ab95-d25aea5747ea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"10713176-5d8b-4590-9981-041aaacfe985\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3934c532-5be6-464d-b4af-3eb246f3ca40\",\"dataFeedName\":\"js-test-appInsightsFeed-163407956949509570\",\"metrics\":[{\"metricId\":\"f9503a78-1a49-41b6-aa14-ea04a9920a82\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff846520-c02e-4bec-b0e2-b21d7c2cd7dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=140\"}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=140", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b6b9d779-07ff-4933-a1b6-3b5065fc975b" - }, - "Response" : { - "x-request-id" : "949044ef-04cf-4b53-81a5-93d39e44b93d", - "content-length" : "26550", - "x-envoy-upstream-service-time" : "152", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "949044ef-04cf-4b53-81a5-93d39e44b93d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"3934c532-5be6-464d-b4af-3eb246f3ca40\",\"dataFeedName\":\"js-test-appInsightsFeed-163407956949509570\",\"metrics\":[{\"metricId\":\"f9503a78-1a49-41b6-aa14-ea04a9920a82\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff846520-c02e-4bec-b0e2-b21d7c2cd7dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c6317e5d-16a8-42e9-a739-0661ccd75ad6\",\"dataFeedName\":\"js-test-datafeed-163407956949509349\",\"metrics\":[{\"metricId\":\"cbd134ca-8b1e-4855-9040-cf326970b962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c4da88e1-f6c7-488a-a22e-7769dfc9817b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"07d27695-7c0f-4771-9685-71b8ddd65774\",\"dataFeedName\":\"js-test-postgreSqlFeed-163399280662707867\",\"metrics\":[{\"metricId\":\"552f724d-bbc1-411b-85d1-6a9e5ec60e4c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"616edecd-3175-478b-94f0-f7e5c1222723\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"cfd4ef44-72de-4870-a4d9-9c0e4061bd93\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163399280662707978\",\"metrics\":[{\"metricId\":\"73d97afe-e535-4814-8f76-ae946afc48f2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0630e869-44a6-4590-9cc0-eeb73537ce7b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3e26bbf4-f940-4b7c-bf24-b84d397f1999\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163399280662705386\",\"metrics\":[{\"metricId\":\"dae7c2de-ccf6-467c-8756-f32c2eeb9b6e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"60606158-081b-4220-b340-dcd21c0180a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3e04301e-ac1c-433b-91ab-def250902e09\",\"dataFeedName\":\"js-test-mySqlFeed-163399280662709186\",\"metrics\":[{\"metricId\":\"56f68e39-e544-4376-b11f-3eb141f01e2e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d184cac-a032-4ab8-bcad-23f4c7009258\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"99a94fc0-159b-44f9-a46b-6636ee76628d\",\"dataFeedName\":\"js-test-mongoDbFeed-163399280662700535\",\"metrics\":[{\"metricId\":\"482df33d-c32d-4f54-a318-845e796d4fd6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea92ed9c-cee2-475c-a695-a620bd21b045\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff034aa3-f03a-4d57-be0a-3ff4a406421c\",\"dataFeedName\":\"js-test-influxdbFeed-163399280662701108\",\"metrics\":[{\"metricId\":\"dbec1abb-3d05-4d9c-8984-c9fab02debea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a5c9f3e-a160-49a7-b028-332888057b5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:03Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8aecc17c-3f0b-4546-88dd-0fdb3691f4a3\",\"dataFeedName\":\"js-test-tableFeed-163399280662703929\",\"metrics\":[{\"metricId\":\"09333e5b-9ad2-4ca4-a203-0109ceae6a41\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0f5e207-fabf-4615-bb7a-46c6b236d622\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0c69e54-cce1-4b7e-8126-7761d91b6f1b\",\"dataFeedName\":\"js-test-dataExplorerFeed-163399280662708753\",\"metrics\":[{\"metricId\":\"6336c919-06d3-4bd2-8cbd-3d48e6e2653c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4ea06722-e3a1-4ce5-8aee-ef119db8be37\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f9cbe412-3c4d-4ec7-b62a-29ea7f5a8d8e\",\"dataFeedName\":\"js-test-cosmosFeed-163399280662709609\",\"metrics\":[{\"metricId\":\"f2b94d8e-d819-48e2-a876-5707328589d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"24bc5c7d-fc54-4701-ae4a-276829eed7aa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c111be50-a305-4864-8b21-fc29570fc044\",\"dataFeedName\":\"js-test-sqlServerFeed-163399280662702061\",\"metrics\":[{\"metricId\":\"c511a252-9378-4f90-86f5-b6de90364347\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3d4be9ba-ff43-4949-be9f-23d1e53cad49\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"14e6256b-0795-44af-953f-61f35be51547\",\"dataFeedName\":\"js-test-appInsightsFeed-163399280662704194\",\"metrics\":[{\"metricId\":\"31174c1b-1ccb-4ba2-842f-2df0293ba966\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3eaa7d9b-4fd7-4c9e-97eb-666e40dc6db0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10b23d8b-b57b-4267-8fb0-d473f8fb26e0\",\"dataFeedName\":\"js-test-datafeed-163399280662702022\",\"metrics\":[{\"metricId\":\"0f7718af-a533-479d-b3f7-40e6d5302518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51aa6d7b-ee67-42d1-922f-1a7f32dafe79\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f2952571-7d9a-49b9-876a-513a5a9a6237\",\"dataFeedName\":\"js-test-postgreSqlFeed-163373361110602347\",\"metrics\":[{\"metricId\":\"45d24204-3dda-4dcd-a176-0a8d8444e78e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f9f8860-523a-4616-afb8-2b72d59147e1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e6b38250-9033-4021-9945-c8411c6520d9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163373361110605004\",\"metrics\":[{\"metricId\":\"6a85b973-eaa0-4c66-8c61-219244665db4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4383df27-a33b-4ee2-9ee8-d5b7ce544927\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"450e0e05-769e-4b60-93f1-6ed23fd9573c\",\"dataFeedName\":\"js-test-mySqlFeed-163373361110605569\",\"metrics\":[{\"metricId\":\"c4684207-6df4-416a-865d-65f45e096460\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c2531f73-ab81-41ee-9d68-7e6c9a83aece\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bd0320a4-15f4-47e4-9b92-91b2480f1715\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163373361110601677\",\"metrics\":[{\"metricId\":\"c8e0dd3a-4d55-4060-b185-d2f82c7710bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6db0d007-0574-446f-a2bf-811b11ece6f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"cb08d532-8be3-450c-9562-becea8f94f42\",\"dataFeedName\":\"js-test-mongoDbFeed-163373361110601970\",\"metrics\":[{\"metricId\":\"fb38cd98-9871-426b-9092-364b7b3cf7ee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6539bf76-9b84-46ca-ba41-bb2fe5ce8ac7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59f7ff96-55ba-4bd3-8b12-667147df36b1\",\"dataFeedName\":\"js-test-tableFeed-163373361110609604\",\"metrics\":[{\"metricId\":\"89ec0c77-06da-4dda-a3be-567382bc6326\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"646583df-e6bf-42da-a581-c336e46baea1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=160\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=160", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fcf7909e-47fb-4bcf-b194-ed85c135c664" - }, - "Response" : { - "x-request-id" : "b11dc66d-6e46-4427-b3ed-58469e8e15af", - "content-length" : "26556", - "x-envoy-upstream-service-time" : "217", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b11dc66d-6e46-4427-b3ed-58469e8e15af", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"a6c15cca-c02a-4ccc-b5ae-b631749ed1db\",\"dataFeedName\":\"js-test-sqlServerFeed-163373361110600523\",\"metrics\":[{\"metricId\":\"b2d3c45d-11f5-4fcd-a893-2a1b16c8713e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"32c0ae30-1217-4105-b518-7233d04dff8e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0dc2b89c-177b-422f-8dbf-42290a56ec7a\",\"dataFeedName\":\"js-test-appInsightsFeed-163373361110609911\",\"metrics\":[{\"metricId\":\"d3c844d9-3457-4248-abca-70a9350f79b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"68a82856-561e-4d31-aef3-e1cb6c2aad53\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0098e19-fb7b-4f83-9f5b-2dc70e570a1a\",\"dataFeedName\":\"js-test-datafeed-163373361110606230\",\"metrics\":[{\"metricId\":\"1f2e7703-e01a-422d-83e6-ead72c6615af\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d2b084a6-2b53-45e8-adec-a6e1042b09c8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d5d1c2bc-d5c6-4cea-8473-3bfbde123092\",\"dataFeedName\":\"js-test-postgreSqlFeed-163364745750608742\",\"metrics\":[{\"metricId\":\"e53312f0-59a7-4fce-bd02-3ab68af31dc0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"caa31f64-3a6d-4187-b49c-ac273bef35df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"151c4512-f739-43bd-bc00-9601d906e134\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163364745750608769\",\"metrics\":[{\"metricId\":\"b839a1e3-b416-4426-b792-bdc30fb1b541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b3b398fc-e74b-42cf-8558-1667d6cdf9be\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ae547aff-5069-48e9-a4c7-09b4c999e8ae\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163364745750606894\",\"metrics\":[{\"metricId\":\"c0c01b47-b8a4-471a-ab37-4943db041a3e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d01cbe8-7d8a-454a-9569-10d96eb7e86f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e642e562-be4c-498d-ab86-427acee1ead8\",\"dataFeedName\":\"js-test-mySqlFeed-163364745750608285\",\"metrics\":[{\"metricId\":\"0507e6e4-5e7e-44e0-a9f7-eec7b9a1c7ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d7ea05d5-2c47-443a-95e3-47846391eb21\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f4ef121-4432-48cd-9c90-e351b6301e3f\",\"dataFeedName\":\"js-test-mongoDbFeed-163364745750604681\",\"metrics\":[{\"metricId\":\"4a27c7ee-a821-451f-815f-86830c565337\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cee858a-9677-4c36-8068-32603e636bbc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9d02f95-c613-42f9-8240-f2d1789a56a5\",\"dataFeedName\":\"js-test-influxdbFeed-163364745750602380\",\"metrics\":[{\"metricId\":\"ae077b81-10da-400a-8930-185a68610a1f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1647df18-46c5-474e-bbe1-05a6b5501727\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b88c4925-df83-4a56-b9c1-495bfa1e4f70\",\"dataFeedName\":\"js-test-tableFeed-163364745750608689\",\"metrics\":[{\"metricId\":\"c23a17e3-f400-48d3-b640-80d6667c1e67\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5624e3ca-d3fa-4419-a433-eaf7bc83a7be\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8f1b9cbd-3cb7-4721-af99-f94403be25c4\",\"dataFeedName\":\"js-test-dataExplorerFeed-163364745750608621\",\"metrics\":[{\"metricId\":\"87cc7324-f2e0-4068-9633-9a01ee059d92\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0b5e2659-97cc-4d6c-a939-7a859dc1db32\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"5b5eb11e-c18b-45cf-887d-fa0d1c60c364\",\"dataFeedName\":\"js-test-cosmosFeed-163364745750609141\",\"metrics\":[{\"metricId\":\"bb903a81-cbbc-45ff-979a-6ac46dc850f4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d9e2339b-4d88-4dfc-96fc-26e6724b06aa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a2626344-6eba-4824-86ce-37325ea544d0\",\"dataFeedName\":\"js-test-sqlServerFeed-163364745750604914\",\"metrics\":[{\"metricId\":\"9905e49d-bb9c-4689-9cd2-818b32a6f598\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"43a7acbc-0a8b-4241-88fa-e335020a3b60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76b054a1-4602-42c5-915b-33b45783d6d3\",\"dataFeedName\":\"js-test-appInsightsFeed-163364745750604468\",\"metrics\":[{\"metricId\":\"99ce3cb9-026b-4f97-b91c-36680c7b2bb6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"32397263-0b09-4e39-8d88-63bd726900d9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"541077f7-88a6-456c-a045-436b98b94cb7\",\"dataFeedName\":\"js-test-datafeed-163364745750607661\",\"metrics\":[{\"metricId\":\"51ed5f1f-51d7-464b-a202-5916b9fb86b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4c77f7bc-d715-4116-9b7f-1ac73817dc12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f2b5f342-2677-4681-81ec-c411b8828507\",\"dataFeedName\":\"js-test-postgreSqlFeed-163356099797004726\",\"metrics\":[{\"metricId\":\"595f17dd-73de-4e06-962f-b4792a36553d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"520b7462-75fa-4ae7-b0ea-d17f459e1e5b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"461e9ea0-421f-4404-886b-733f32ac3977\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163356099797005686\",\"metrics\":[{\"metricId\":\"80cd02e0-0b34-4495-ae90-23c828ada3ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a1e5a46a-26e0-4eee-ba25-dad842fd0294\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7b482adb-152e-489e-a721-617d8d690d6f\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163356099797004380\",\"metrics\":[{\"metricId\":\"a622a807-d0ac-4f36-96b4-3a012546fc2c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7a363150-d78d-4c6d-bc87-9848ffbe62c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8b9965a7-77bd-4063-981f-3e41fbafc57c\",\"dataFeedName\":\"js-test-mySqlFeed-163356099797005438\",\"metrics\":[{\"metricId\":\"5c82d2da-9886-4bbf-b3ed-0949e383d5ca\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c2d10dd3-9c99-438e-bce5-415874cadf2f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a721f89-a957-48c0-a47c-f02c6ccc858c\",\"dataFeedName\":\"js-test-mongoDbFeed-163356099797000564\",\"metrics\":[{\"metricId\":\"872ccbc8-09f7-46b7-971c-53545d0cd191\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4f1ef6f7-0b5e-44a7-9d8a-adeff3eb477f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=180\"}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=180", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a48ac44a-520a-493e-8013-35d225f4a645" - }, - "Response" : { - "x-request-id" : "ae3a9777-9752-4da8-81b2-ee7b7b457ed1", - "content-length" : "26541", - "x-envoy-upstream-service-time" : "177", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ae3a9777-9752-4da8-81b2-ee7b7b457ed1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"f425cbef-9e06-45f0-b041-c60e5720775d\",\"dataFeedName\":\"js-test-influxdbFeed-163356099797009186\",\"metrics\":[{\"metricId\":\"b71ca02a-09ec-4ed5-b2da-41217e85491f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3bccf739-e576-4b4d-adc7-c998fa8a9ce7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"27d8de1b-c4fb-4922-9bc0-aed34e00fa11\",\"dataFeedName\":\"js-test-tableFeed-163356099797006938\",\"metrics\":[{\"metricId\":\"8017b783-a12e-48c0-8cdf-50493ed9c720\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d8801159-4c73-4ae6-849d-b9213fdca5f4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a96a7882-404e-491b-a3a6-45789bbfab5a\",\"dataFeedName\":\"js-test-dataExplorerFeed-163356099797005029\",\"metrics\":[{\"metricId\":\"a400b067-b321-42a6-9cf6-f90b2248375d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"02410349-01df-4c4a-b174-589756d6b1e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"2f66eda1-79ff-4db2-95b1-379d743f969c\",\"dataFeedName\":\"js-test-cosmosFeed-163356099797009443\",\"metrics\":[{\"metricId\":\"17c51a7b-3ecc-40ba-8e52-7b559b40b54e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"533938f3-2be4-4aac-8d12-45a64d14c133\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34d422b5-deaa-420b-be18-d05ac636edd6\",\"dataFeedName\":\"js-test-sqlServerFeed-163356099797000510\",\"metrics\":[{\"metricId\":\"36c5a2e4-f874-42e1-badd-df6d5669af6f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ace84552-8c15-4b5d-b6f5-10a73c49a7c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05d01cca-26c6-4857-ba5d-bc09bef8b9b1\",\"dataFeedName\":\"js-test-appInsightsFeed-163356099797000138\",\"metrics\":[{\"metricId\":\"79b5c438-46e2-4a72-992a-c158bad649ac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"64ad65c1-8a52-4571-addc-d3df48d3bcae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc6b708b-3d9d-430f-99b4-161381de23cd\",\"dataFeedName\":\"js-test-datafeed-163356099797006468\",\"metrics\":[{\"metricId\":\"5e76e6f8-edac-46cc-aa9d-b004dcaba541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8bd0cfb9-d401-46db-b3b1-04f75ad1189a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"386ac2ff-df82-4993-8b91-05e169ab16c5\",\"dataFeedName\":\"js-test-postgreSqlFeed-163347460219301896\",\"metrics\":[{\"metricId\":\"bb7fe4e3-67e3-4302-b262-3ebf5b566245\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d180046e-9855-4546-b20a-a4495c0feda5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2fc2fdd2-6c76-44d3-8c26-99eae8b20124\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163347460219308619\",\"metrics\":[{\"metricId\":\"5e8ae7d1-36eb-4048-a828-85d075bfb705\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"00909ae9-8fff-4f37-a996-3ca6c948816f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f925fe2b-32eb-43ef-b748-4d2cc64fc611\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163347460219307690\",\"metrics\":[{\"metricId\":\"acbc430b-5440-4b95-a2de-071c14d12fb6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a1a9a1dc-2fe6-4351-b76f-3967a019c031\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7e2c7d8c-8fd5-4ab0-b831-f88981ab459b\",\"dataFeedName\":\"js-test-mySqlFeed-163347460219304278\",\"metrics\":[{\"metricId\":\"dec4718b-51a3-4b38-9d66-78f57118887e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7329beab-1b48-4e77-84e8-88880b99512e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bcd412d1-8097-4a63-8af9-ea8014bd24e5\",\"dataFeedName\":\"js-test-mongoDbFeed-163347460219301593\",\"metrics\":[{\"metricId\":\"752db659-a090-43b2-b7ad-646018a0566c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8af77e14-5645-4c78-9a1e-e34f0ab6fe60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9d4843d8-3464-4f12-abbf-7b666530b170\",\"dataFeedName\":\"js-test-influxdbFeed-163347460219303248\",\"metrics\":[{\"metricId\":\"40d80fbe-3520-4068-96ac-c3deaecdf43c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3e282e21-dc3f-459d-b60d-2f0ab6fc7b69\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"241560f0-d51e-4854-8674-fa80c7ad163f\",\"dataFeedName\":\"js-test-tableFeed-163347460219301786\",\"metrics\":[{\"metricId\":\"45fa5e3e-8eef-4bb8-8e2b-d3ad4bc089ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0ae3be92-32fa-4324-a7ac-efbf48efab5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc7cbfc6-ca32-4fb1-94f8-564bcc16ec4e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163347460219309573\",\"metrics\":[{\"metricId\":\"c9dd00db-366c-4cb4-9fed-b997a87103bb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0121f29f-e62a-4601-ab6c-dfa7e4c3c74f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"96129eec-466f-497c-a8f8-83566d23ca7d\",\"dataFeedName\":\"js-test-cosmosFeed-163347460219304530\",\"metrics\":[{\"metricId\":\"1d780232-d204-4a0f-919f-fe2b895f9553\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f2700d78-d4e4-4a04-9c14-07ffe64d3595\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b313675e-e728-432d-b973-3e32b43f9334\",\"dataFeedName\":\"js-test-sqlServerFeed-163347460219304622\",\"metrics\":[{\"metricId\":\"8dac805a-8094-4089-a551-d9da39627b27\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cd02751-5852-4b52-9cd1-e46a630d930f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6b87f889-18c9-4361-9529-e92c41288e73\",\"dataFeedName\":\"js-test-appInsightsFeed-163347460219307862\",\"metrics\":[{\"metricId\":\"09d1b797-8b73-46b1-b37e-8c04717a06bc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c59314d-e2df-4c8d-a7ae-d0be69e5cb5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aef058a-41c7-4c21-a00c-fea5d0ee87f6\",\"dataFeedName\":\"js-test-datafeed-163347460219303676\",\"metrics\":[{\"metricId\":\"62d7889c-3099-4ce1-9ec0-947f9e60ddf7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0016e5d6-32df-462d-8a3e-c8c4dc0fa8a3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d0648e92-492b-44cb-8327-4c9b861aad73\",\"dataFeedName\":\"js-test-postgreSqlFeed-163338814690007155\",\"metrics\":[{\"metricId\":\"ab4c635d-423e-4b61-af47-0f196214c1e8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff4a7986-61d2-4c95-88d5-0ea21e79287d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=200\"}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=200", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6d934193-d9d0-47b9-bc0b-63361d64b6e7" - }, - "Response" : { - "x-request-id" : "0d02b689-4b09-449e-a78b-1bbc316c4675", - "content-length" : "26264", - "x-envoy-upstream-service-time" : "170", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0d02b689-4b09-449e-a78b-1bbc316c4675", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d0648e92-492b-44cb-8327-4c9b861aad73\",\"dataFeedName\":\"js-test-postgreSqlFeed-163338814690007155\",\"metrics\":[{\"metricId\":\"ab4c635d-423e-4b61-af47-0f196214c1e8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff4a7986-61d2-4c95-88d5-0ea21e79287d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"574f75c3-58c2-4b1e-bab6-47fcf39b7bd3\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163338814690004828\",\"metrics\":[{\"metricId\":\"93eac5d9-fc51-443e-8604-0822fbffefac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"92512efa-f325-4f62-833c-93907185f3f5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"11d8cf94-c6b0-476d-8d04-81f8328dcf27\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163338814690000658\",\"metrics\":[{\"metricId\":\"329a97ef-c46b-4f96-9220-d98e5f5fbd1f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ef65dcb2-a3f6-49c8-8909-4cdf1d6843ce\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"91b43fad-5cc5-4d89-b687-9be9ce875ac4\",\"dataFeedName\":\"js-test-mySqlFeed-163338814690005430\",\"metrics\":[{\"metricId\":\"d55210ee-919c-407d-9626-df8b55306bcf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"decd446f-2c42-4a35-928f-671f192de097\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b298e0c1-7e98-47ad-8e00-282a458d61ef\",\"dataFeedName\":\"js-test-mongoDbFeed-163338814690003885\",\"metrics\":[{\"metricId\":\"d3c61ebf-486a-4e78-81fc-6b57c96e44c8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5ea0850-73cb-4c84-873a-d7e2b0a56ca2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"97307f09-8842-4409-af8b-7d27cf5645de\",\"dataFeedName\":\"js-test-influxdbFeed-163338814690004992\",\"metrics\":[{\"metricId\":\"ad7ea7e6-1b91-41ba-9d13-64d8a8cd8b65\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8153f2d3-c392-4acf-912b-f1d3cd04dcac\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a0a1e8f9-35e1-4747-afdb-547c608e8649\",\"dataFeedName\":\"js-test-tableFeed-163338814690006976\",\"metrics\":[{\"metricId\":\"bdf77fd4-4e83-4d3c-98ab-9cdcded4d283\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d31df08b-977d-455f-a6b2-0e82089c9c7f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4bb5c73d-133f-4fb6-824e-7c92c5dd85fd\",\"dataFeedName\":\"js-test-dataExplorerFeed-163338814690004329\",\"metrics\":[{\"metricId\":\"e65b5f10-514e-4ad1-be20-04ef99f8e337\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d88ef76d-c0e2-490d-b51f-6a1ccbc81adb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"999e7511-927f-4f04-9b8c-7bca56a91ce2\",\"dataFeedName\":\"js-test-cosmosFeed-163338814690003601\",\"metrics\":[{\"metricId\":\"c51b1ccc-3451-48d0-8998-cdef1d94e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d69b4da-0cf4-4d10-90ce-f3460927b6a2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e67887d9-1000-458e-a899-33781621647e\",\"dataFeedName\":\"js-test-sqlServerFeed-163338814690009483\",\"metrics\":[{\"metricId\":\"367454c6-9fb3-43ce-89b4-f2facdfc7163\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"15596c3a-60a8-41de-84ed-49729028f7e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4280cf0e-e12a-4135-a5cb-fbcb2a225fa2\",\"dataFeedName\":\"js-test-appInsightsFeed-163338814690003701\",\"metrics\":[{\"metricId\":\"187c0044-dfc1-4adc-8ca8-2709fba1d8ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d650b34c-e00a-4356-af47-654499fc8b78\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0c551480-0d15-4bdb-ba79-d078329f5394\",\"dataFeedName\":\"js-test-datafeed-163338814690006682\",\"metrics\":[{\"metricId\":\"01e0f623-f0a9-4030-bfc8-6b52f1032627\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcb6922b-90b8-4d80-9eb2-dca78e1be941\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3d16da20-1e50-4b6c-b12e-a0258062a5c2\",\"dataFeedName\":\"js-test-postgreSqlFeed-163312892993307149\",\"metrics\":[{\"metricId\":\"56263637-f807-4a69-95c9-8a54d3a815cf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6be3ec57-b12a-4a1a-a941-a4f7373d01ff\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7881d71e-ca2a-491d-979c-beeb9d35407b\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163312892993303403\",\"metrics\":[{\"metricId\":\"becf965b-2a14-4d23-bbb5-15058c3c088d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"69ffa8a5-23a0-4c61-8851-7783b6de6445\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2ea524f2-bbd0-40c6-8af0-bfbd8e2d16ec\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163312892993200053\",\"metrics\":[{\"metricId\":\"950e1d27-4917-4482-8eea-e1993d89a26f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bbc3972-ff3b-475a-a80f-f081f3dda0f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-10-01T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-10-01T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ae39d1fd-419d-42b1-9fd3-6843b85e70f8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163312892993309712\",\"metrics\":[{\"metricId\":\"87bd7641-f35a-4324-9538-afaa203dee9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"94210e48-a5bf-4bb6-80a1-e999c9717072\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d64d4795-84ac-4afa-9c35-5d71d3fa421c\",\"dataFeedName\":\"js-test-mySqlFeed-163312892993303355\",\"metrics\":[{\"metricId\":\"a29f1e97-057b-4c2a-8ef0-cec9bb8f9d82\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8f5c35f7-3d2f-4ed7-804f-9530d413dff6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0fcbb92e-61f6-42f2-9008-d5ebab00bb15\",\"dataFeedName\":\"js-test-mongoDbFeed-163312892993303542\",\"metrics\":[{\"metricId\":\"c016e503-0378-493b-b2f2-59d46299bce4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c214b47a-6b69-4807-869d-2443ca37211c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6dd57159-5101-4048-8ea1-94f48e3c752c\",\"dataFeedName\":\"js-test-influxdbFeed-163312892993305001\",\"metrics\":[{\"metricId\":\"c82a369a-a2db-44ce-b666-7ee585f96dca\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"efffe1ff-df05-426f-bbaa-3332e1926b98\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"53427ba6-7d70-4d02-bc84-6918f270aab1\",\"dataFeedName\":\"js-test-tableFeed-163312892993204266\",\"metrics\":[{\"metricId\":\"b2c5085f-5bad-4a3a-bdaa-03c9f0f40151\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4f64e311-9b15-4d10-8a0f-5fb553bfae90\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=220\"}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=220", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "53cf50e8-55a2-4dc9-b67a-f16b8238c22c" - }, - "Response" : { - "x-request-id" : "a981c57b-11e6-44aa-bbe6-415718c03986", - "content-length" : "26488", - "x-envoy-upstream-service-time" : "147", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a981c57b-11e6-44aa-bbe6-415718c03986", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6bc6cbb4-320c-45dc-92e0-a5011a011d72\",\"dataFeedName\":\"js-test-dataExplorerFeed-163312892993205417\",\"metrics\":[{\"metricId\":\"6e474f1d-c800-4750-9a88-1b84ed5f37b5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d6acb55b-57f6-4339-9f56-bf3814eea8dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"c62d2468-0dd4-4524-94a4-6f6dfe4117b8\",\"dataFeedName\":\"js-test-cosmosFeed-163312892993205225\",\"metrics\":[{\"metricId\":\"6a80f493-6a9c-4da4-af5c-9175710460f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b74fb702-ac65-475a-925e-53d85166030f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"068a182a-b028-4628-9ae2-943cc599bb82\",\"dataFeedName\":\"js-test-sqlServerFeed-163312892993203881\",\"metrics\":[{\"metricId\":\"a87a360c-4e2f-471e-9150-a5c90b46e9c0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"421ec078-9ed8-43be-ad98-9fd0ad5ea9e6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f487100-6eaf-4170-92ab-923e09199ec1\",\"dataFeedName\":\"js-test-appInsightsFeed-163312892993209249\",\"metrics\":[{\"metricId\":\"4eed8fde-6784-408b-8383-0db3cadc172c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6bef3b5e-8992-4354-aacd-e40a52e51adb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7b77757c-1546-45d5-9a37-0ba95facb95b\",\"dataFeedName\":\"js-test-datafeed-163312892993208131\",\"metrics\":[{\"metricId\":\"d8252794-3eeb-43e4-ac50-9b4567a99311\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a685909-95cc-4595-b4a0-382fd58668c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3bfdad0-f82d-428a-a024-4e694f48db55\",\"dataFeedName\":\"js-test-postgreSqlFeed-163304256469805732\",\"metrics\":[{\"metricId\":\"bff1aad1-77f5-474f-8ef9-119f027019cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b29a243a-c140-4dad-a963-6c9b912fbe97\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ab1ae0ee-9843-468c-a70a-681d3f5d8f07\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163304256469802028\",\"metrics\":[{\"metricId\":\"e4d49823-08f3-4c82-8f8e-13f52f7ce1a9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0271adcc-153d-4127-845a-31faa3872336\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42f91f0-5377-43ca-87d0-bb96c178ab78\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163304256469800636\",\"metrics\":[{\"metricId\":\"8c0b0be2-e8a1-48e7-97e2-65e4cdeec0fa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"472d0b78-8b0c-44de-8834-de88073d809e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-30T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"71fe4975-7e5e-4621-89d5-1ba7c765251c\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163304256469808385\",\"metrics\":[{\"metricId\":\"74d0e299-7b9f-44f0-b8e2-9e456c18a18b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e211f231-c89c-4bff-8409-519a442d43e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2cabfce0-7b8e-48fd-8b7b-edd609e853ce\",\"dataFeedName\":\"js-test-mySqlFeed-163304256469807300\",\"metrics\":[{\"metricId\":\"18f00f58-b870-4b59-b6d8-7d6d59ba7b7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0eba33c6-11a0-4a68-b236-ecd643e00a7b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5233196e-6560-499f-94ce-401c184131df\",\"dataFeedName\":\"js-test-mongoDbFeed-163304256469809271\",\"metrics\":[{\"metricId\":\"89c077eb-9fb8-4806-b430-6e1995c4c222\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0b7b70d8-6678-47af-bb5f-d77b8411f8d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d108bbef-dfec-441c-9743-945ffeab5ccc\",\"dataFeedName\":\"js-test-influxdbFeed-163304256469808844\",\"metrics\":[{\"metricId\":\"0537fe98-7b8d-4beb-8046-57261e416958\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"385385cb-c375-4e20-a7c7-5588365dca2e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5d17aa73-b1fa-4809-97a6-bc7f889ff258\",\"dataFeedName\":\"js-test-tableFeed-163304256469801899\",\"metrics\":[{\"metricId\":\"666c598c-9f9b-4b7a-9165-559e090015d6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1aab75d3-5784-4163-a5e2-ddb2112fe0a2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6b0e4d6a-5b18-44b3-821d-8816c66462ec\",\"dataFeedName\":\"js-test-dataExplorerFeed-163304256469808043\",\"metrics\":[{\"metricId\":\"ed3e2907-78b1-4cf6-b8a3-0ac4fc6d397c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63ec4eb2-e818-4342-bfb8-75ca0907497d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"7d52bf31-0b33-4766-b3a2-a3a5270f283b\",\"dataFeedName\":\"js-test-cosmosFeed-163304256469808350\",\"metrics\":[{\"metricId\":\"d1bcd94c-f02f-4ad9-9f5e-5e4e0538d411\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3d773287-fa4b-4a2f-ac6d-89e606b694d1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff199288-5ade-439d-9539-2d9802271db6\",\"dataFeedName\":\"js-test-sqlServerFeed-163304256469803616\",\"metrics\":[{\"metricId\":\"013fd7ae-624c-4684-aa5a-271cc8c3533e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0724e3e4-bc5c-4db9-8385-df0cc4e31e5d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e0cd8cbc-7f4c-488f-9b71-0beab9078907\",\"dataFeedName\":\"js-test-appInsightsFeed-163304256469801704\",\"metrics\":[{\"metricId\":\"5af886f9-772e-4e76-8990-9550ee5011bf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2b615f81-7f65-40ba-9382-d2b56154206a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"63c04d85-7072-4f34-810a-5ed860dd24fd\",\"dataFeedName\":\"js-test-datafeed-163304256469802463\",\"metrics\":[{\"metricId\":\"0ccea564-c2d7-41c2-aec4-2b38d6991de5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8e05096b-b467-464e-815a-23af545bccc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"44f094bd-4788-4f09-9554-53631657a350\",\"dataFeedName\":\"js-test-postgreSqlFeed-163295624935402170\",\"metrics\":[{\"metricId\":\"790a94e8-b539-418a-a106-aa1cea62a7ac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3a2af827-dd0f-4b4e-844a-51b57ab17639\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:58:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"26df3035-bea5-4b72-813c-1cb5969bc284\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163295624935409797\",\"metrics\":[{\"metricId\":\"ffe6583e-baf1-439f-b9b8-27c84bc9594c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"81da74d2-0a0a-49a4-a4d8-cd3057e1405f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=240\"}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=240", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d11fd1a0-8c4b-4e1b-9d73-943191713c17" - }, - "Response" : { - "x-request-id" : "093167a2-5fca-4ee2-abe1-e87f1d5cace2", - "content-length" : "22765", - "x-envoy-upstream-service-time" : "159", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "093167a2-5fca-4ee2-abe1-e87f1d5cace2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"685e01d9-2d5f-4ac5-bbe5-dc239962d800\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163295624935403683\",\"metrics\":[{\"metricId\":\"ee44f79c-8f95-4428-abe9-87c289de81c6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5ab43009-b279-4234-84b9-a0633d1e915e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-29T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"38019854-46cd-4780-8c96-15ec2b9ce1c2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163295624935404941\",\"metrics\":[{\"metricId\":\"14badd91-5ecb-489e-bc1e-736badbc5937\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"df88f3a9-f118-475f-91f7-5a10e6d478d5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2211978f-a41e-4dd7-9031-a85e21f97d38\",\"dataFeedName\":\"js-test-mySqlFeed-163295624935400134\",\"metrics\":[{\"metricId\":\"5a46e457-5f7d-42ed-9bcd-7419b816a869\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d2caecd-85a5-4111-8fc8-75c1b59242f7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5fa02b12-55be-4fbe-82e1-084c46339ca7\",\"dataFeedName\":\"js-test-mongoDbFeed-163295624935403794\",\"metrics\":[{\"metricId\":\"b316978e-ec05-4e32-885b-dcde1809c727\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f7ced785-d743-459b-a25d-d5e16b365f87\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a703d4f-0ac7-4805-b98c-c98eda530f7c\",\"dataFeedName\":\"js-test-influxdbFeed-163295624935408979\",\"metrics\":[{\"metricId\":\"8b8e7c56-305e-403f-8530-d365ad8c3b1c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01524fd3-deaf-4bc3-9ffa-0489b41a89fc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9d25002e-09c6-4098-ab8f-e1813aeb022c\",\"dataFeedName\":\"js-test-tableFeed-163295624935405050\",\"metrics\":[{\"metricId\":\"966751b9-1083-47c0-93a4-51a4bf42a123\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"598fec46-8467-47e3-b926-c7f82f4f3fb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"04c0ccd1-6962-40cc-9f7c-a8a3887466c4\",\"dataFeedName\":\"js-test-dataExplorerFeed-163295624935403812\",\"metrics\":[{\"metricId\":\"1b3f350c-ce64-4e6d-8a59-82f8eff13da7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63139d12-50b1-4081-b43b-a23b46c3aeaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"ece68b7c-e355-441a-af06-6f501067728a\",\"dataFeedName\":\"js-test-cosmosFeed-163295624935405186\",\"metrics\":[{\"metricId\":\"dbe1d78b-bf8a-412e-917c-4df8d492213d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7441a55e-f491-47a5-8125-c2039999c888\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"66eb4ecc-8755-48f4-bef0-881d75866a09\",\"dataFeedName\":\"js-test-sqlServerFeed-163295624935406441\",\"metrics\":[{\"metricId\":\"b193aa44-184d-48ea-9dfc-fd0843c9c8d2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8fb3821e-1ca6-45af-a22e-575a098a3cb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"921ffe1e-d306-42ae-9642-44d30862e8a2\",\"dataFeedName\":\"js-test-appInsightsFeed-163295624935409579\",\"metrics\":[{\"metricId\":\"f602f759-87c5-4b2f-8000-04f606a1725e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b2f13819-9089-4b56-9c0f-b74ae92251c2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6fede4c4-36a0-447d-a840-b649eb01e123\",\"dataFeedName\":\"js-test-datafeed-163295624935408576\",\"metrics\":[{\"metricId\":\"b99375f7-96e5-4c65-8ff9-27b6d38507f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7c3cc93f-a278-4fff-b48f-16a38bb5f89f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"271707ea-a3be-48d6-8655-ec9191334389\",\"dataFeedName\":\"js-test-dataExplorerFeed-163286993752000772\",\"metrics\":[{\"metricId\":\"6168bbd6-ca75-43ed-ab28-aa8fa907613c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63460bbd-89c2-4050-a14d-589207c7e6c7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"6a441f0b-9482-418d-9ec2-a486a14339ba\",\"dataFeedName\":\"js-test-cosmosFeed-163286993752000665\",\"metrics\":[{\"metricId\":\"4155cf5b-4064-4ade-9a4c-aa5aa226b807\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"824843f4-04b7-40ba-a508-98169eb5a91b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:03Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"64478672-2d07-43cb-a09d-e594465ae919\",\"dataFeedName\":\"js-test-sqlServerFeed-163286993752001601\",\"metrics\":[{\"metricId\":\"ded5b762-0b93-49f2-b984-4765697cc124\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f2a63b29-5197-4fbe-9936-35151617e937\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:02Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0643ccac-5f48-4bb8-92a3-d5971745aa93\",\"dataFeedName\":\"js-test-appInsightsFeed-163286993752003102\",\"metrics\":[{\"metricId\":\"493917c1-40b2-4518-8308-9eaca74e5b73\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4bf5db06-0093-43c3-a2bf-7c628b62fc9c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac974c50-7b2c-4b02-85c1-2b6623babfbb\",\"dataFeedName\":\"js-test-datafeed-163286993752003310\",\"metrics\":[{\"metricId\":\"818c34ba-50ff-4593-97d0-b42899214e53\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cec93fe-e922-4b3b-8672-d72a89d7511b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ccaad5bf-1df6-41f7-b774-28830d1a65d2\",\"dataFeedName\":\"azsqlDatafeed\",\"metrics\":[{\"metricId\":\"61e14436-a60f-4ba9-85e2-abe66d0d7515\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fa753672-8baf-4e8e-b48b-10fc1a423118\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-30T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"chriss@microsoft.com\",\"yumeng@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"kaghiya@microsoft.com\",\"camaiaor@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-02T22:04:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp >= @IntervalStart and timestamp < @IntervalEnd\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "e27d31fa-3b08-47aa-9bad-8ba9a10d1b18", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "16be0d89-b54c-48bc-ae05-f051e1f94a7a", + "Content-Length": "8049", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "156", + "x-ms-region": "West US 2", + "X-Request-ID": "16be0d89-b54c-48bc-ae05-f051e1f94a7a" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "f1562936-347b-4574-9c58-20bf2d4ac30b", + "dataFeedName": "java_create_data_feed_test_samplef04c819a-f432-4bfd-90c9-747e816cb135", + "metrics": [ + { + "metricId": "fb52e1c3-6f64-4376-8aa7-ca02af507a36", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "d0265351-dc5a-4e4a-a9e9-db636bf82c7d", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "f3327047-604d-4dee-a1ac-6fb127906516", + "dataFeedName": "java_data_feed_for_detectione2ac83c7-373c-4abe-b983-fae72a0f7cff", + "metrics": [ + { + "metricId": "6d07773d-656f-4bea-bdc5-f1a4ed2451fd", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "5d2a971d-3928-4012-a439-e86e9001d075", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:07Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "b97ce530-f0c7-4c67-bb27-4639e0adbefa", + "dataFeedName": "java_data_feed_for_detectionb82ea2b1-3a3b-4891-9e6a-b7d90adc46e9", + "metrics": [ + { + "metricId": "97f6b0c5-924a-4b04-9405-36856d0267d3", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8f62c2b-f7e6-4f41-96e6-473281d742d8", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:06Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + }, + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json index 04022cf5eb76a..1b2c84c2c1aa9 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorAdminClientBuilderTest.clientBuilderWithNullServiceVersion[1].json @@ -1,277 +1,284 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/dataFeeds", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d5f79e2b-32c0-4396-a528-0ef282b0bf2b" - }, - "Response" : { - "x-request-id" : "49ddd2d3-f7e8-4e57-989b-22316df0a65f", - "content-length" : "26280", - "x-envoy-upstream-service-time" : "146", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "49ddd2d3-f7e8-4e57-989b-22316df0a65f", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6e48e476-33e6-4113-a299-a5740bc0db47\",\"dataFeedName\":\"azBlobDataFeed\",\"metrics\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"metricName\":\"Metric1\",\"metricDisplayName\":\"Metric1\",\"metricDescription\":\"\"},{\"metricId\":\"81fafdc5-e2fc-4679-8c20-e2fe3e366c15\",\"metricName\":\"Metric2\",\"metricDisplayName\":\"Metric2\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"Dim1\",\"dimensionDisplayName\":\"Dim1\"},{\"dimensionName\":\"Dim2\",\"dimensionDisplayName\":\"Dim2\"}],\"dataStartFrom\":\"2022-02-28T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"Timestamp\",\"startOffsetInSeconds\":10800,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\",\"yutongzhai@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2022-04-05T17:10:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"data/%Y/%m/sample_%Y_%m_%d.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a70577a0-cef9-45b9-81d9-b6b91b6e3bd8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163537526935708748\",\"metrics\":[{\"metricId\":\"77d806ff-f45d-4a7e-b4a1-bb2690d3e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3dcd06b2-aa43-4fcc-a8e3-248ef1c27cc3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bfff3d5f-2d77-458f-a7dc-e7685cf65dd9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163537526935700931\",\"metrics\":[{\"metricId\":\"b85d07a0-28db-4fcf-be1c-15fcc1759fc6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c73153e6-823a-4216-8676-f4aadf397909\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:55:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34f1a7dd-ae39-420f-8dee-9bd902cc1b7d\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163537526935702851\",\"metrics\":[{\"metricId\":\"6d7f1802-ba0a-4be7-b3d2-29fbcb8b81d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c3d2e96f-2de9-478a-bed0-d6bbc419e678\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff08e42b-6907-40aa-b1ef-e9f7ed46789d\",\"dataFeedName\":\"js-test-mySqlFeed-163537526935708142\",\"metrics\":[{\"metricId\":\"ca494d49-04e7-4b07-9bd5-2622eeaebbe4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e7669f73-8182-4cfb-bedb-7c5bc6cbc71d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"260d8877-fb9a-4399-b73c-2b0106280b77\",\"dataFeedName\":\"js-test-mongoDbFeed-163537526935700837\",\"metrics\":[{\"metricId\":\"ad377aa4-81b2-4544-91aa-6d6c30745617\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ce1bac54-b121-4a08-a0ab-9e4cf407d134\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e97f7298-8378-441e-8fcb-9d02d4300888\",\"dataFeedName\":\"js-test-influxdbFeed-163537526935707179\",\"metrics\":[{\"metricId\":\"6ee2eb1c-7316-4bda-bfa7-7a17b824b4f3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84739827-6f92-48af-95e2-535c7dc9b151\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6ed707d4-970b-4a1c-b360-a376c035b7b5\",\"dataFeedName\":\"js-test-tableFeed-163537526935706574\",\"metrics\":[{\"metricId\":\"26bc159e-5ed3-41ec-8415-5842a682a913\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8319c21e-cf9e-478c-8bc3-eb890d4ffd09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1a06e260-df48-4a0e-80b3-fa55bd24117c\",\"dataFeedName\":\"js-test-dataExplorerFeed-163537526935704238\",\"metrics\":[{\"metricId\":\"af473d6c-3d09-4a69-a804-bf56cb4f273f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5fd167f-3b02-419d-9527-77c2ec0bfff1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"008d2ec9-b73f-47ab-9770-23346455f8dd\",\"dataFeedName\":\"js-test-cosmosFeed-163537526935709631\",\"metrics\":[{\"metricId\":\"e632a17f-2b62-4f5f-9833-87d88c1339be\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7d158177-ab19-430c-aa7b-f8f2a3779478\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5b81a32c-e538-4b67-8edc-a28f1d7ba182\",\"dataFeedName\":\"js-test-sqlServerFeed-163537526935703123\",\"metrics\":[{\"metricId\":\"538b8c02-95fc-4026-bb51-62812c74e1ad\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"80c6ccd3-c463-445b-ba55-7e996bb8dcf5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"897224a1-bfc6-4f03-a0a4-904c0db5c867\",\"dataFeedName\":\"js-test-appInsightsFeed-163537526935702186\",\"metrics\":[{\"metricId\":\"ec989805-ca20-44af-82a5-5b8ce3a7a2d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"247e1e48-c766-43a8-b13b-3abe53a6a68a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b24dcc5-768a-46ff-aa15-d7dc7933d29d\",\"dataFeedName\":\"js-test-datafeed-163537526935702447\",\"metrics\":[{\"metricId\":\"1f443f97-bcab-4e78-9602-a62fe4e82e97\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d2f8d61-34e8-4479-b793-4be18be1f026\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-27T22:54:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"36b856c6-7404-4b39-ba37-6253bf52f2f8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163528892511105025\",\"metrics\":[{\"metricId\":\"a979ef54-fd6f-451f-a2cb-4170f6d6992b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"448cc5ea-143b-406a-8f05-99313ef80d5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"01427922-44e1-4af9-aa52-7f5c1847f62d\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163528892511106735\",\"metrics\":[{\"metricId\":\"37833671-d185-40a6-a495-74b4ea959319\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"70ddc80f-d38f-4b00-8036-e02e676f807f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59337232-828a-4a38-a9ee-d2664a73dfd6\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163528892511104265\",\"metrics\":[{\"metricId\":\"4da912ca-e689-4d1d-80e5-356510a1211f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1e92096d-9a54-4ec1-9429-7a8d2e729105\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"96373c59-47c5-4a0e-8650-50502bcccc74\",\"dataFeedName\":\"js-test-mySqlFeed-163528892511107837\",\"metrics\":[{\"metricId\":\"e695fde0-4bbf-463e-98f1-10c7851efe54\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d223a971-e44b-4c83-9fd3-f1fb57985100\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"849d1522-5b31-44a8-90b7-2ec1da556dd9\",\"dataFeedName\":\"js-test-mongoDbFeed-163528892511109172\",\"metrics\":[{\"metricId\":\"783a6077-a07b-46dc-b2e0-e9940782a67c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c9efe9f7-2008-4056-a91b-47398bac5bb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "4099bf20-906d-4add-b101-53e59f5dc1f0" - }, - "Response" : { - "x-request-id" : "780941e7-5519-45e0-a43a-62445cf4d4f9", - "content-length" : "26569", - "x-envoy-upstream-service-time" : "149", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "780941e7-5519-45e0-a43a-62445cf4d4f9", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d3266f4f-521d-4492-b3ae-c46bf634dd8f\",\"dataFeedName\":\"js-test-influxdbFeed-163528892511109837\",\"metrics\":[{\"metricId\":\"5b9191b4-6304-40ba-8f80-9cad9ad2494e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6d332496-edbf-4c9e-a07e-a241128969dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8a0dbcd9-8a67-4780-b108-c59da54ffc24\",\"dataFeedName\":\"js-test-tableFeed-163528892511108654\",\"metrics\":[{\"metricId\":\"529d0c80-d866-40bc-b920-49f6beee01ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d364a01-c65d-4e3e-8463-20d5c57a21f1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9ff1a66-8295-49f4-9a84-9b3ed6ed78e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163528892511100709\",\"metrics\":[{\"metricId\":\"304f08d4-27a1-4139-b23d-2a779ad439b6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cf6499b-6b18-4647-9329-a5a74a6a3c40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d13e636a-50c0-4c7a-9ffe-a55b27a17088\",\"dataFeedName\":\"js-test-cosmosFeed-163528892511108492\",\"metrics\":[{\"metricId\":\"6c5eda93-a3c9-45f2-8fd4-82e4f8d7f1c3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cdaa71c3-752a-4e2d-95ca-657fd915007a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c0d7174a-583d-48a8-b2d8-372408617411\",\"dataFeedName\":\"js-test-sqlServerFeed-163528892511107721\",\"metrics\":[{\"metricId\":\"e49d03c2-0a97-428e-9d34-3d82f683155a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fb7a55fa-370c-49f7-9242-ca7bd49fa5bb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1c41b817-ae65-4496-95eb-84a1ce3b2cf1\",\"dataFeedName\":\"js-test-appInsightsFeed-163528892511108139\",\"metrics\":[{\"metricId\":\"1c37e405-60f7-471b-8710-1c7d297d2109\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0fd3c0d4-5eaf-40db-925a-0a240e4eaeae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3977fb1c-7f6c-469d-b0a2-60ed3be1bc78\",\"dataFeedName\":\"js-test-datafeed-163528892511105899\",\"metrics\":[{\"metricId\":\"e47bf455-f666-49d5-8bc1-2fa55300deda\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f64ad76b-0a9a-4d87-8cc0-3602e0c0fab1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-26T22:55:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ddfbd90f-a89c-4754-9ed8-c193e8d3bb01\",\"dataFeedName\":\"js-test-postgreSqlFeed-163520254768108469\",\"metrics\":[{\"metricId\":\"68957907-5819-4cc2-a22d-ac82caec10b7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c7b52101-ea6f-4bff-aaae-d2f007d6a1d8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f0fab756-447d-4201-900a-dd3ab0b1f744\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163520254768104172\",\"metrics\":[{\"metricId\":\"fb7f1e9a-e0a6-4391-8541-ef21bd610597\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e358afb-7d2f-4f21-abb5-55c6aa1f8990\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4fd66e8a-4c85-4a6f-a410-b5ed72a2c805\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163520254768105621\",\"metrics\":[{\"metricId\":\"aaa04aef-f679-488c-ba9f-7ef2fc44ada8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53183d5e-a7b6-4df0-9146-7959a1236459\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f21a1c10-4f67-4b32-866f-d05d9f1b0fa3\",\"dataFeedName\":\"js-test-mySqlFeed-163520254768102537\",\"metrics\":[{\"metricId\":\"80f6d20d-fe39-4aca-ba92-49b2ecaa2729\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"38a925fe-0200-498d-8dee-1f85bdd984e7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"975c48b1-a261-4a58-8b1a-2138687de603\",\"dataFeedName\":\"js-test-mongoDbFeed-163520254768107854\",\"metrics\":[{\"metricId\":\"5d180f52-4f34-4f12-8692-ee5e558d9d6a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b79411d6-077d-4f6e-a41f-c3f2c5c0c6b1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"46864635-a7f1-4f92-8757-2ce9445e78c4\",\"dataFeedName\":\"js-test-tableFeed-163520254768106837\",\"metrics\":[{\"metricId\":\"abe8dbf7-cd8c-460d-a2f2-1f45ad2dc73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d4ec5d0-4bab-43ab-ad61-4b46d82564e4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a015ea42-f83b-4d94-ad21-dd854de68434\",\"dataFeedName\":\"js-test-influxdbFeed-163520254768104928\",\"metrics\":[{\"metricId\":\"47050ea0-6df0-478e-a2d8-ace37ca86b11\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"57736851-eddc-428f-bf2f-bbce1adf5a25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c022f113-fcd0-4572-883b-82ec06873646\",\"dataFeedName\":\"js-test-dataExplorerFeed-163520254768108791\",\"metrics\":[{\"metricId\":\"0460c055-6e59-46e6-9e24-bd2d07f373a2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c934e61a-8662-4bc1-ba0b-b957743c268e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"25e8d83f-7f02-4cdb-ae5c-0798ebf1e8fa\",\"dataFeedName\":\"js-test-cosmosFeed-163520254768109802\",\"metrics\":[{\"metricId\":\"da4d452e-82bf-4eee-a53e-2c9282fcc9ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"acc805e1-1c15-424e-8e3d-1772f7960bb6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"305d94ed-d1ed-48eb-9b2a-46a2e58c675d\",\"dataFeedName\":\"js-test-sqlServerFeed-163520254768100057\",\"metrics\":[{\"metricId\":\"edf96377-7b84-42e2-aa0c-52c3ebf4443a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a3a0b3f-55c0-4c68-b86e-c79234e5ca41\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"766081fb-2be0-4727-8721-2ce297c1d81a\",\"dataFeedName\":\"js-test-appInsightsFeed-163520254768106664\",\"metrics\":[{\"metricId\":\"3428373e-58ee-40b2-b043-3ffa903e98bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"82b84d0f-9630-4f26-99ed-02d8199f27fa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a124fcf0-98da-495a-b0e5-f1b721323a2f\",\"dataFeedName\":\"js-test-datafeed-163520254768100170\",\"metrics\":[{\"metricId\":\"6f213a31-64f2-47b6-bb4f-1333dd323369\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bc947cc-913d-46bb-8a14-fc5cd1c63dd0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-25T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "02f6a4ac-787f-4091-89f3-4e5cf3b51394" - }, - "Response" : { - "x-request-id" : "19b66867-5286-469f-a846-1b6d4c2fdbcd", - "content-length" : "26357", - "x-envoy-upstream-service-time" : "332", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "19b66867-5286-469f-a846-1b6d4c2fdbcd", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"9888cc7d-e4fa-4fc6-a436-364238dd47b3\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163494342171308875\",\"metrics\":[{\"metricId\":\"22ef9861-90ff-4764-81a4-b4adf5180bfb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a739be2e-610f-47de-ab36-d9e664940524\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"deb58e38-ea84-4623-b955-fa06b7bffe09\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163494342171304803\",\"metrics\":[{\"metricId\":\"3f5eaf16-f4b0-4769-9749-e679bab34479\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c8f330c6-27ef-4efd-af84-5223d621ec1b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:30Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f19921ef-62ab-4e01-bc0d-8402fffb7066\",\"dataFeedName\":\"js-test-mySqlFeed-163494342171309367\",\"metrics\":[{\"metricId\":\"314b9a11-fab5-4bd4-9d7e-3913f6404cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d61fb4ba-7211-4454-af7a-2735048001c5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f5d51bc7-65ee-4339-aaba-816a7b2c71d7\",\"dataFeedName\":\"js-test-mongoDbFeed-163494342171309466\",\"metrics\":[{\"metricId\":\"b2e5489a-3c62-4f61-a30e-b1757268d22f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8aa72033-9b9c-4023-9b0c-e7b891b93d3e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c2efbd6e-afaa-4559-9503-4a02bcbd9a52\",\"dataFeedName\":\"js-test-influxdbFeed-163494342171300623\",\"metrics\":[{\"metricId\":\"f089fb10-b9a0-4402-b20d-f8a438e27688\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0feef0d3-49b6-40b5-9cc6-79a08f615502\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"18640984-b51c-4009-83e6-0b8b81698c10\",\"dataFeedName\":\"js-test-tableFeed-163494342171309649\",\"metrics\":[{\"metricId\":\"4f93327f-4472-4b01-9f31-4d1cd0f5a461\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2e9b7ef8-c599-4cab-88ec-0e8f031183c1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2597db87-acb8-44d7-bcd1-e479d0b8741e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163494342171302019\",\"metrics\":[{\"metricId\":\"f7cf4193-6706-475b-8c37-83cf852cac90\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a369a581-df3e-43dc-9015-73f150c58a5e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f1752eeb-a960-40c3-b186-9a9228f2d728\",\"dataFeedName\":\"js-test-cosmosFeed-163494342171300973\",\"metrics\":[{\"metricId\":\"4e56b67b-776f-41e2-89b9-05c639392623\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"58903321-b3c5-46cf-809e-d9ffba20b9b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7f9a57b1-f786-4da5-98ba-367a0c3680d9\",\"dataFeedName\":\"js-test-sqlServerFeed-163494342171308486\",\"metrics\":[{\"metricId\":\"1931cd46-4c4f-4036-9bfe-3dfa7b8201de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bad492a5-d933-4a1b-a795-2c10b4072cd4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d2a903a4-4bcb-46f9-aae0-fddfa0be8404\",\"dataFeedName\":\"js-test-appInsightsFeed-163494342171304621\",\"metrics\":[{\"metricId\":\"519d12bf-531c-478c-a774-abc7135387ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4e4109b1-766e-4742-b597-ded56383ee99\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"19708be2-edb7-4843-9cfe-def5a3356e53\",\"dataFeedName\":\"js-test-datafeed-163494342171301247\",\"metrics\":[{\"metricId\":\"31fcb906-ab1e-4a30-ade8-bda3eee44b8f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a2dec6e6-8ed7-466f-a082-a81f8a050b03\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-22T22:57:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d6553de9-b22e-48ba-abae-f7f1ad0eb6c0\",\"dataFeedName\":\"js-test-postgreSqlFeed-163485692541302516\",\"metrics\":[{\"metricId\":\"3f0ce93c-5ed4-46ab-b68f-7032d42a5b7b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6393eb49-189f-41b9-a0f1-bac1ea71d899\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8c058741-fd4a-4841-a664-13048ec39cb9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163485692541301256\",\"metrics\":[{\"metricId\":\"29df47a8-5405-4c8c-ac9a-b198060a6227\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"75e71373-7898-4ba3-9e54-936036324df5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e5bbd822-2828-4b79-a177-1ccde9b875a2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163485692541303983\",\"metrics\":[{\"metricId\":\"8c159d07-2b67-4391-9d2b-9a254970e34a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0b2143f-35d7-4a5e-8dd5-65ebaf7ba60b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4a001a50-4d9d-4607-b17c-2721518c6ced\",\"dataFeedName\":\"js-test-mySqlFeed-163485692541300166\",\"metrics\":[{\"metricId\":\"fd4e9c19-a134-423f-82bd-6721057d4b24\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c6fe8474-ed73-4634-82ec-86599caab490\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:25Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d1cfe0ff-6c7d-4e53-8b05-c93a371f304d\",\"dataFeedName\":\"js-test-mongoDbFeed-163485692541309829\",\"metrics\":[{\"metricId\":\"cf4e6f15-f60a-4c60-93ce-a488af0be43f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d9d7c01-c929-4f02-9753-2324c97ec1d4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"98224e64-a395-4d87-9707-a97da337dbd6\",\"dataFeedName\":\"js-test-influxdbFeed-163485692541308448\",\"metrics\":[{\"metricId\":\"5887dae0-85b3-4631-b187-bb71b6109b74\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f599e1dd-6452-4cbf-8c11-984f17b3648a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"62b51649-3721-4ee3-a795-9edfe87dcdd3\",\"dataFeedName\":\"js-test-tableFeed-163485692541307240\",\"metrics\":[{\"metricId\":\"639ab044-e508-4bb6-a197-9699f55d278a\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2d718952-903b-4b33-8d18-f97de628226f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"525dc1d5-2aa7-4cf3-ac95-f006c2698024\",\"dataFeedName\":\"js-test-dataExplorerFeed-163485692541303573\",\"metrics\":[{\"metricId\":\"6579adb4-1322-45e1-995d-42815a9c6a10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0c2dee1b-3edd-43ed-bdae-9e5893f91aaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"e27e6680-2605-4d88-a365-5e9501bb402f\",\"dataFeedName\":\"js-test-cosmosFeed-163485692541300699\",\"metrics\":[{\"metricId\":\"1d121738-f26e-4e3a-874d-edd7e091f916\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8145f15f-ea3d-455b-b59a-6985128de765\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:56:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8916523d-a094-4e16-ab90-2ffa5893de4a" - }, - "Response" : { - "x-request-id" : "3db5760b-0ae3-4f12-9e68-196275b74d53", - "content-length" : "26555", - "x-envoy-upstream-service-time" : "148", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3db5760b-0ae3-4f12-9e68-196275b74d53", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"fcb3347e-91ae-45bd-b0a1-b01e4e17cc13\",\"dataFeedName\":\"js-test-sqlServerFeed-163485692541305967\",\"metrics\":[{\"metricId\":\"e362a5c3-da2b-40d2-b020-fec1eadaa8d5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4893cf15-6bfa-4c8a-a710-f0bfdc7cf450\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"408ac3fe-94c1-4008-aab1-4aff29ef7685\",\"dataFeedName\":\"js-test-appInsightsFeed-163485692541300154\",\"metrics\":[{\"metricId\":\"9bf0aa6c-ba88-4556-bf86-b733cf3b2dfa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e78a0697-640e-42f7-8d9d-a172bcca8638\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac1d2001-48fd-4569-8b9b-bd3c8f903c58\",\"dataFeedName\":\"js-test-datafeed-163485692541309714\",\"metrics\":[{\"metricId\":\"a9457d5d-5c52-4700-963d-e3333726b6ef\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"497bf38e-3bfc-40fc-b504-8c9d1db0c616\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-21T22:55:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"482b9366-bf5e-49d7-ab59-214e543ccdc1\",\"dataFeedName\":\"js-test-postgreSqlFeed-163477050393004507\",\"metrics\":[{\"metricId\":\"9ca300b9-520e-4856-a499-80605ed9ce10\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d452aed-f554-46c7-846d-e0c3a810b227\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"21067641-38ba-436d-bfd0-94c699073a0e\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163477050393002017\",\"metrics\":[{\"metricId\":\"d4dc3a3c-c84c-40d7-802f-318add1398eb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e56f44a6-46c8-47f7-aa13-b6144a5f718b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f8499f2-53c0-4c00-bc36-687b9dd8cab4\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163477050393007545\",\"metrics\":[{\"metricId\":\"d54a7a51-3f6d-4e4d-a26f-bc7655264c43\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6b51e6dd-4d4a-4016-baca-fa5998d0f496\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"335ada0b-f6b1-497e-8f5c-86d364d2ec85\",\"dataFeedName\":\"js-test-mySqlFeed-163477050393000830\",\"metrics\":[{\"metricId\":\"ab1fe6f9-c748-4907-95a8-58a160f1d73d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"627347ca-2d69-474c-98d7-0098a979d043\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fab91a7c-0ffb-4aa3-8c75-ff765c239ffe\",\"dataFeedName\":\"js-test-mongoDbFeed-163477050393008424\",\"metrics\":[{\"metricId\":\"38b19ee8-6946-4efa-bd59-ce432aa5cce9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"47bbab55-9677-4a4f-bb6f-5542493fc075\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:07Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a38270b-abbd-49d7-b7df-9a58ff75bb6e\",\"dataFeedName\":\"js-test-influxdbFeed-163477050393008953\",\"metrics\":[{\"metricId\":\"b959220c-1f99-44f8-9644-e5afa2a1f9da\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3320d721-adc9-4c51-b680-afbccb670cea\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:56:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"35c22ce7-3ea4-4274-8d51-26d54ddc2093\",\"dataFeedName\":\"js-test-tableFeed-163477050393003415\",\"metrics\":[{\"metricId\":\"1a1d7f49-2886-4e42-909a-409229a5d1ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9f1c46de-796e-477f-bc9c-153578f4350a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"985cea1e-abc8-432e-9e35-1549e9e9d3e3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163477050393002381\",\"metrics\":[{\"metricId\":\"b77ffced-1412-40da-850e-3432d964f850\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f1067f1-784a-4471-b07f-d8cb6e2e9619\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"83ec551f-cdc2-45c5-802d-c17093f511c6\",\"dataFeedName\":\"js-test-cosmosFeed-163477050393009863\",\"metrics\":[{\"metricId\":\"3e681565-0511-46c9-af79-53df83731765\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"08b37379-3d70-419c-856a-7c0517680acc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e2361965-54bf-481a-8d76-ba9c68d526e9\",\"dataFeedName\":\"js-test-sqlServerFeed-163477050393004236\",\"metrics\":[{\"metricId\":\"be58e3af-c244-43e2-acea-924176f603b0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0682fc48-ee92-470e-85c2-c2b9f5cd5e0a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:24Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"778a21c7-66e3-4532-b212-2ae84f9caac9\",\"dataFeedName\":\"js-test-appInsightsFeed-163477050393003625\",\"metrics\":[{\"metricId\":\"1b2da886-5f6b-490e-a712-a7aa73c795cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c988b95c-4329-48eb-a8a1-9209e50a69d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d173e4c8-eac7-4b23-a282-71c0de60e6ab\",\"dataFeedName\":\"js-test-datafeed-163477050393000714\",\"metrics\":[{\"metricId\":\"21854a27-7ba3-441a-8503-b2b60f8e3819\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b962cb75-2269-46c6-86fe-e9e5d26a5f68\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-20T22:55:06Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"041c4e91-c882-4795-b659-f115e49944db\",\"dataFeedName\":\"js-test-postgreSqlFeed-163468448802608152\",\"metrics\":[{\"metricId\":\"e70917af-8106-4dd1-aec7-b891af4a73a3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"bbe1cbb3-f230-4803-b53c-ac3c65b1f7b3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f9311dec-ffad-4084-b0ac-57d82938cc40\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163468448802605001\",\"metrics\":[{\"metricId\":\"f03a5b54-5671-40a0-8afb-78840c705f77\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9d3d090e-942d-4956-92a6-4f7cc281e6df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5a7e877e-bcf9-432b-9c1b-f5a0be2e47e8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163468448802605176\",\"metrics\":[{\"metricId\":\"18c304da-e0a8-4700-8659-db0df3634bd5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"726bc9ff-b9e2-4df6-823d-e71a35d36282\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"af16bd12-0ec4-4e62-aeff-99b38e03ec8a\",\"dataFeedName\":\"js-test-mySqlFeed-163468448802601066\",\"metrics\":[{\"metricId\":\"40e1f592-b85b-4309-ac3f-a0d3fe1cacbd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ffd0f6de-7b2f-430b-9e4d-b85ba70cc54b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aac795d-0745-4d05-85b7-ffb486b7f8ae\",\"dataFeedName\":\"js-test-mongoDbFeed-163468448802601042\",\"metrics\":[{\"metricId\":\"0b4111a0-561d-4c1d-b9f0-b80458623d06\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea779e95-e0f8-4a00-97f0-1712cb1f3019\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c8038d74-173d-4202-93c1-c84458695b74" - }, - "Response" : { - "x-request-id" : "0968570e-20a8-4625-8151-ef65ce91017a", - "content-length" : "26541", - "x-envoy-upstream-service-time" : "157", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "0968570e-20a8-4625-8151-ef65ce91017a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"774d2afe-fda1-4208-a2cf-30317b5af032\",\"dataFeedName\":\"js-test-influxdbFeed-163468448802607054\",\"metrics\":[{\"metricId\":\"6f29e7be-eba2-45cd-abe2-1a7ea4db22e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5a635a49-9f87-401a-9625-d52fbc9ca45c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76cd8887-9334-4333-99b9-a792b67ec57b\",\"dataFeedName\":\"js-test-tableFeed-163468448802605019\",\"metrics\":[{\"metricId\":\"7fa989ee-c0f2-477c-b5bb-8ea40922ee0c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5f6d969c-51b4-4f33-bb67-5e0d78d96576\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"775b4672-762a-4296-a50a-4cdd844d8b02\",\"dataFeedName\":\"js-test-dataExplorerFeed-163468448802602614\",\"metrics\":[{\"metricId\":\"fd746dc8-551d-4f67-873d-dcc07537f79c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a77693c7-ba9a-4f13-b0a7-5b0f92a30241\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"45fa00ce-b033-4974-8520-8cf9dc68080f\",\"dataFeedName\":\"js-test-cosmosFeed-163468448802607184\",\"metrics\":[{\"metricId\":\"338962e7-54c5-403e-9d70-e175b8f93a7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3b555692-31dc-4527-8521-8b1f3c28b488\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:02:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05727945-a10a-437b-8c0b-12950119fb40\",\"dataFeedName\":\"js-test-sqlServerFeed-163468448802605163\",\"metrics\":[{\"metricId\":\"7fff1e5b-3d98-4c13-a107-f080e3ccf83b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"950011ac-4b9b-4238-8d79-5f52696d7365\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c93f1ab6-4531-41ce-a6e0-7872ca4b8a5d\",\"dataFeedName\":\"js-test-appInsightsFeed-163468448802604264\",\"metrics\":[{\"metricId\":\"11d13fb1-4564-47a8-854d-a587da8e5a9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"73f2bcca-144c-4312-82de-7f75b3aa439a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b72fdb1a-ce13-42f7-af25-828191fc4e62\",\"dataFeedName\":\"js-test-datafeed-163468448802607009\",\"metrics\":[{\"metricId\":\"d49a6cc0-2c13-433a-84dd-f25675ee967c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"226e547f-4132-4343-8df8-df5423a60ed5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-19T23:01:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"789b90ec-9f56-4992-9c70-4b4585642f9a\",\"dataFeedName\":\"js-test-postgreSqlFeed-163459779906401227\",\"metrics\":[{\"metricId\":\"d3786551-2245-499a-83b5-e708b28cf934\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cf4dc7b-70e9-4722-9014-cfe8df958c7e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3297ae23-246f-4e3f-a599-aba18f365f81\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163459779906409787\",\"metrics\":[{\"metricId\":\"014e11b4-9fff-46bc-b54a-884cb9887cd1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d4fe1e4e-0557-4dc0-a3ab-6cd7f1ba2bca\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f106684-b7f6-49c0-859b-20304bc8d269\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163459779906400426\",\"metrics\":[{\"metricId\":\"0863c7ed-c965-432f-b5d7-7a45ed9a3876\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b66b23b1-f26d-45b3-acd4-84649ebd223b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"394b4f8b-7f2b-4658-a84d-4ff68cbd028c\",\"dataFeedName\":\"js-test-mySqlFeed-163459779906407512\",\"metrics\":[{\"metricId\":\"4f1e304f-7709-4b8b-8cf1-1fee7ce53dbc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"84c02d90-39ce-42ae-b946-4d6d12de1db1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"50fabb20-d1e7-48f2-b882-48bb6840df2b\",\"dataFeedName\":\"js-test-mongoDbFeed-163459779906407287\",\"metrics\":[{\"metricId\":\"5cae238d-8846-4825-817d-e9d446758061\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c45838c0-fa6d-4fc9-8970-8807850ced82\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"00b86552-a4a1-4bdb-96f7-edac0ff17d20\",\"dataFeedName\":\"js-test-influxdbFeed-163459779906408053\",\"metrics\":[{\"metricId\":\"f6490f92-a1fc-4310-8955-2612147b397e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ab0a55ed-2cff-4ccd-8d02-4a62f764cc62\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b3e8c03-146e-4a96-9b96-33f4c025d862\",\"dataFeedName\":\"js-test-tableFeed-163459779906409818\",\"metrics\":[{\"metricId\":\"21afd45d-80cf-4532-b82b-786378e20e81\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c83eacb3-d19d-49d2-9ea5-9b58f9a81e40\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f386f533-d457-4389-b73c-5ef9dd397562\",\"dataFeedName\":\"js-test-cosmosFeed-163459779906402351\",\"metrics\":[{\"metricId\":\"72c514f6-a1d2-467f-82bb-92594894e90d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a7e6ea1-d106-4373-a514-d6a5e7d3e135\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10010b05-82fe-4ebd-b634-f70ffaf80a00\",\"dataFeedName\":\"js-test-dataExplorerFeed-163459779906409880\",\"metrics\":[{\"metricId\":\"80f405c0-0ffa-463b-9988-ed69d2d5f0de\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5143d701-1386-498f-8266-ede6df193b1c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"09b106a2-4185-4811-9e73-4624774d710f\",\"dataFeedName\":\"js-test-sqlServerFeed-163459779906409917\",\"metrics\":[{\"metricId\":\"48b0e726-a29b-4fed-9d05-a46c1a7e3343\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0d1f92d5-552f-4bce-a5d8-adad5ce164a9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7782cc33-bb9a-4cfc-ba00-48348a22d0e4\",\"dataFeedName\":\"js-test-appInsightsFeed-163459779906406741\",\"metrics\":[{\"metricId\":\"35a57c39-2068-4bbb-900a-38a4741b6a27\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a10526c1-4cec-4fa2-969a-3a52afbf39af\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:57:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b4951e5-622b-4f64-bff6-aa28608744b5\",\"dataFeedName\":\"js-test-datafeed-163459779906404628\",\"metrics\":[{\"metricId\":\"3b5f2a14-0b40-4a2b-94f8-fa09487b6566\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6892c2cc-df10-4782-86cd-f0b737a90b59\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-18T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"22692c13-d12c-450a-a082-726d26bbc2e8\",\"dataFeedName\":\"js-test-postgreSqlFeed-163433850942002901\",\"metrics\":[{\"metricId\":\"8ebac36d-a3a3-465a-94dc-a70e7e92b945\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"356fd0e3-7586-4f6c-8b43-a74d9df1e2a1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=100", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "67387d91-6f6e-4d4e-8bd5-c8b088e46912" - }, - "Response" : { - "x-request-id" : "6a06a55f-267f-485f-8db0-27c3616093f7", - "content-length" : "26319", - "x-envoy-upstream-service-time" : "173", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6a06a55f-267f-485f-8db0-27c3616093f7", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"bc76a95e-645d-4b83-8c77-71faac9d3669\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163433850942000615\",\"metrics\":[{\"metricId\":\"61ea573b-a444-49e6-b804-cb2b2eac0518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"40ed0586-9c6f-4f0d-9e4e-9a3aafe53554\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42312f0-7272-434e-98c9-f87de9571265\",\"dataFeedName\":\"js-test-mySqlFeed-163433850942009324\",\"metrics\":[{\"metricId\":\"a46a2716-7613-4d1f-ad0f-a68bd2a5336c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c5a83e72-2d48-4dab-af41-9175a15253f6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f337ee7d-cb3a-4c84-8aef-087867fef781\",\"dataFeedName\":\"js-test-mongoDbFeed-163433850942006486\",\"metrics\":[{\"metricId\":\"8d69fe2e-cf9f-4163-931b-d40bd8b7a800\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"052428d4-5831-4957-b961-dd5fe634067e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"df64d783-cbeb-4f59-913f-1b7b7f8a5d78\",\"dataFeedName\":\"js-test-influxdbFeed-163433850942002966\",\"metrics\":[{\"metricId\":\"80e2c19b-bb1a-4388-9cc6-33f22a9d524f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2edf4b3f-5603-4228-8718-3386db7cc9db\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"15fac2c4-9b96-4029-9bd6-b8187c6a8027\",\"dataFeedName\":\"js-test-tableFeed-163433850942003172\",\"metrics\":[{\"metricId\":\"9f48c5b8-fa50-4c01-8e19-3f0af7ca667f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8b14d6fa-9589-47a3-80f4-2428eea1281b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c4324bb8-3383-4caf-8a1f-6188c3b06f56\",\"dataFeedName\":\"js-test-dataExplorerFeed-163433850942006585\",\"metrics\":[{\"metricId\":\"ff677574-7597-4236-a280-ece802441f89\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcfe74c1-a212-4a2e-b7ae-86d69d6191c2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"106784c1-8835-4f4b-ad71-f0978fae7837\",\"dataFeedName\":\"js-test-cosmosFeed-163433850942008143\",\"metrics\":[{\"metricId\":\"0da56162-f2e7-443d-9cee-6ad9d0c47dfe\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8de5feb6-26f5-4add-85d0-f99ee837453f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f2a7474-51de-44ac-92a0-912e039efd35\",\"dataFeedName\":\"js-test-sqlServerFeed-163433850942004244\",\"metrics\":[{\"metricId\":\"d1de3841-15b3-4bdc-8437-f50787962b3c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"dce159ff-b8d3-4932-89ba-5a72cf9123e0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:29Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"83bb685e-3c33-4742-8188-50f22915295e\",\"dataFeedName\":\"js-test-appInsightsFeed-163433850942005474\",\"metrics\":[{\"metricId\":\"b8a339a6-62ce-4d00-ad52-2213800eceba\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f7141608-2242-4377-8f49-46c8e46dfa12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"1ff9f815-b7a6-431f-b9d7-7b380b17c07c\",\"dataFeedName\":\"js-test-datafeed-163433850942003674\",\"metrics\":[{\"metricId\":\"d35647ba-9195-4bef-a82a-0a83632e3fee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"da721189-044b-4ece-b207-d3d67d944324\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-15T22:55:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"57acead6-3bee-46e9-a05b-226626bfc824\",\"dataFeedName\":\"js-test-postgreSqlFeed-163425217090408737\",\"metrics\":[{\"metricId\":\"539b7713-4289-4d1d-9628-5c86a86051a7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2a8a29b1-5285-4a94-bed7-2146b20291b6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c4ac1273-9249-4bfa-83db-f907178157df\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163425217090404735\",\"metrics\":[{\"metricId\":\"0bb40ff8-1fe6-4045-ae87-7df0956c8a3e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1345f27f-facf-4baa-ba88-1069141b8733\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"93016b8a-5db1-489e-a15d-bf89944e2732\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163425217090403154\",\"metrics\":[{\"metricId\":\"a30713a3-c9f2-4c08-8ca8-6f2b667738b3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5f59e56-f0a3-40d5-a9dd-c535a2411b04\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f817aa1-c49f-424f-84a8-744cde3802e8\",\"dataFeedName\":\"js-test-mySqlFeed-163425217090403483\",\"metrics\":[{\"metricId\":\"713abf2e-3351-491b-bedb-53f0c6354c4d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"cd9dcd8e-b661-443d-9194-4b001abbe18a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bacb9a83-6d9e-4868-b22e-d3d35c17133c\",\"dataFeedName\":\"js-test-mongoDbFeed-163425217090401041\",\"metrics\":[{\"metricId\":\"d1b1ad45-1aa1-4d96-b134-7f039bf628f1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1888a766-f6da-498a-a62f-a098be6ac72f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:08Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"26ef2841-4afa-4109-a99a-87283cd1b3bc\",\"dataFeedName\":\"js-test-influxdbFeed-163425217090400404\",\"metrics\":[{\"metricId\":\"0abf9946-a4b3-45cc-aa77-3840ddd50993\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"af614b1d-799b-49d9-949e-87dcf2bda2ab\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:57:02Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2f4140f4-1909-42a8-aff0-b99def9deffb\",\"dataFeedName\":\"js-test-tableFeed-163425217090408777\",\"metrics\":[{\"metricId\":\"5bbadc9e-47d1-47fd-af15-2b4c0315a508\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7f3b580c-28bf-4217-8148-459fc9280cbd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0b6c4066-cfca-4fdb-a1d2-2eb5542f79e0\",\"dataFeedName\":\"js-test-dataExplorerFeed-163425217090406927\",\"metrics\":[{\"metricId\":\"1623ced7-5372-4ddf-ace0-98484c420957\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fd2a820a-2622-422c-9a3b-d00e0ae5b0c7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"65c33d7d-9c0b-4039-94da-9007dbe241e5\",\"dataFeedName\":\"js-test-cosmosFeed-163425217090407342\",\"metrics\":[{\"metricId\":\"933b5b13-d2fe-4132-9413-034dd1a1e569\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b48f9fdc-309e-479d-8830-1459085b92f3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ea05aed5-aa00-4465-8f9e-6cbf6e14aff3\",\"dataFeedName\":\"js-test-sqlServerFeed-163425217090404114\",\"metrics\":[{\"metricId\":\"317f97ff-9808-4ed3-8712-c92659a3b25e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea6da990-b74f-4999-b5c4-bd749d113bb4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=120\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=120", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "494150a8-ad2a-4afc-9af9-4568bed60e62" - }, - "Response" : { - "x-request-id" : "6f5009a3-b449-48f8-9693-120a7caa381f", - "content-length" : "26821", - "x-envoy-upstream-service-time" : "188", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6f5009a3-b449-48f8-9693-120a7caa381f", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"fdc1c582-bba0-468c-ab58-e85bf0fb7201\",\"dataFeedName\":\"js-test-appInsightsFeed-163425217090405709\",\"metrics\":[{\"metricId\":\"3906e586-05a2-41ce-a89d-58c0ef88fff6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"660a265f-da62-41ca-a448-e80afe023e39\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2564a746-3a1a-4bf0-baf6-ff3cc5ef2405\",\"dataFeedName\":\"js-test-datafeed-163425217090405817\",\"metrics\":[{\"metricId\":\"e49059de-d500-4e69-bd95-a8c98e86a683\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d73509b-d163-4071-aefb-3e3dfb35b7c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-14T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d17f93b6-0852-4da8-aec0-d5f00673f68e\",\"dataFeedName\":\"js-test-postgreSqlFeed-163416596428201839\",\"metrics\":[{\"metricId\":\"c86cc6cd-ee66-436c-9c77-a26b0785cd85\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"713b5b85-f8c3-4cde-8014-64fd3c0c638f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6a98b7ad-ffc8-456c-8939-7314ce99b0be\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163416596428206823\",\"metrics\":[{\"metricId\":\"22acd26a-8b3a-4e35-be23-7faaecd4ad34\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51340ea1-f6f2-4191-8009-11ef089fa68d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:39Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4129aa5b-f664-48f9-b7c6-7ab0a00e3173\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163416596428205979\",\"metrics\":[{\"metricId\":\"570a2f41-1d4f-46bb-82ac-11b46c3f85e3\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cc72378-6a9c-4db9-ae17-494c69ec3382\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:38Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"47fa40a6-1ffa-425f-9348-06eddbfcec21\",\"dataFeedName\":\"js-test-mySqlFeed-163416596428204189\",\"metrics\":[{\"metricId\":\"bc5c0828-4d2e-4f1e-bef3-16f9d8dd9e9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ee2de793-3cb6-4ea2-8f75-a15a8f507f3c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6bc26334-3d4a-4c6e-9b9f-bc64648df3b3\",\"dataFeedName\":\"js-test-mongoDbFeed-163416596428203057\",\"metrics\":[{\"metricId\":\"415387ca-61f4-4424-a270-5fc07de3cda4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3e6e8d45-66ce-42ac-b2ec-bc587c29c221\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:26Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"22880bf7-fe5a-429a-b940-fe1e7bcdc1d6\",\"dataFeedName\":\"js-test-influxdbFeed-163416596428205352\",\"metrics\":[{\"metricId\":\"266a7b9e-b0d4-4e58-8249-a323b3eed704\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a199c341-2c6c-4d65-8b24-bef478bf058f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4061e534-3c2a-44b9-88ce-3fe7a6b2b317\",\"dataFeedName\":\"js-test-tableFeed-163416596428209518\",\"metrics\":[{\"metricId\":\"7b6d4b44-cdc5-409c-8a65-806f514e136c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d519c9c4-299a-4c35-9d04-6b03014f3712\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:14Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9aba55b0-2226-4170-b0f1-5f5c281b2ab3\",\"dataFeedName\":\"js-test-dataExplorerFeed-163416596428209351\",\"metrics\":[{\"metricId\":\"1638e7fe-e1a1-4549-918b-a95557722533\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1fcd05f9-7364-4c9a-b134-125e08c227a8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:13Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"d54ca735-c5ed-4aee-81ea-7b09f32d0dc4\",\"dataFeedName\":\"js-test-cosmosFeed-163416596428209934\",\"metrics\":[{\"metricId\":\"9fc9ba13-4e33-4879-b037-95bf7e703eb5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8714548c-cce1-49b3-b1bd-1eaf2b27dbf9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T23:00:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9a7458ec-34f1-47a3-ab16-38f8a1cdff4e\",\"dataFeedName\":\"js-test-sqlServerFeed-163416596428209579\",\"metrics\":[{\"metricId\":\"7c7f75fa-036b-4d6c-9a88-829e3bcd00a4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c9b483d-c2bb-45bd-a5d1-13c2bdbd3c25\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"16de3de9-3282-4faa-8438-db96b781dfd3\",\"dataFeedName\":\"js-test-appInsightsFeed-163416596428205623\",\"metrics\":[{\"metricId\":\"803dbf64-08c1-4369-9a81-b3e6024b75df\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c173bd7-c4e9-4bf6-ac9f-40d21dba3e7a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:39Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2a522881-7e71-46d9-afc7-472f71e2ae8e\",\"dataFeedName\":\"js-test-datafeed-163416596428205551\",\"metrics\":[{\"metricId\":\"34e7bea6-b3fd-482d-acfa-b576ca5c0231\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1a19e374-73be-45dd-822c-b58b29bc34a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-13T22:59:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ecf7fb2b-665f-4478-93e2-5486307ca8cb\",\"dataFeedName\":\"js-test-cosmosFeed-163407956949508845\",\"metrics\":[{\"metricId\":\"0c282973-acd4-46f0-9ccd-48e47f082fa5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e06bba51-8b02-4f56-9518-e7e8ff96ace1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T23:00:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e6c3903c-d940-4511-a443-d96aeda61a3d\",\"dataFeedName\":\"js-test-sqlServerFeed-163407956949506495\",\"metrics\":[{\"metricId\":\"79781ed2-6259-4221-ab95-d25aea5747ea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"10713176-5d8b-4590-9981-041aaacfe985\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3934c532-5be6-464d-b4af-3eb246f3ca40\",\"dataFeedName\":\"js-test-appInsightsFeed-163407956949509570\",\"metrics\":[{\"metricId\":\"f9503a78-1a49-41b6-aa14-ea04a9920a82\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff846520-c02e-4bec-b0e2-b21d7c2cd7dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c6317e5d-16a8-42e9-a739-0661ccd75ad6\",\"dataFeedName\":\"js-test-datafeed-163407956949509349\",\"metrics\":[{\"metricId\":\"cbd134ca-8b1e-4855-9040-cf326970b962\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c4da88e1-f6c7-488a-a22e-7769dfc9817b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-12T22:59:37Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"07d27695-7c0f-4771-9685-71b8ddd65774\",\"dataFeedName\":\"js-test-postgreSqlFeed-163399280662707867\",\"metrics\":[{\"metricId\":\"552f724d-bbc1-411b-85d1-6a9e5ec60e4c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"616edecd-3175-478b-94f0-f7e5c1222723\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"cfd4ef44-72de-4870-a4d9-9c0e4061bd93\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163399280662707978\",\"metrics\":[{\"metricId\":\"73d97afe-e535-4814-8f76-ae946afc48f2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0630e869-44a6-4590-9cc0-eeb73537ce7b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=140\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=140", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1cb938c1-46cd-4798-a614-7f5103e71c5a" - }, - "Response" : { - "x-request-id" : "c267c04b-602b-4ddc-bec7-69556fa9a099", - "content-length" : "26358", - "x-envoy-upstream-service-time" : "164", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c267c04b-602b-4ddc-bec7-69556fa9a099", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"cfd4ef44-72de-4870-a4d9-9c0e4061bd93\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163399280662707978\",\"metrics\":[{\"metricId\":\"73d97afe-e535-4814-8f76-ae946afc48f2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0630e869-44a6-4590-9cc0-eeb73537ce7b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:27Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3e26bbf4-f940-4b7c-bf24-b84d397f1999\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163399280662705386\",\"metrics\":[{\"metricId\":\"dae7c2de-ccf6-467c-8756-f32c2eeb9b6e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"60606158-081b-4220-b340-dcd21c0180a6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3e04301e-ac1c-433b-91ab-def250902e09\",\"dataFeedName\":\"js-test-mySqlFeed-163399280662709186\",\"metrics\":[{\"metricId\":\"56f68e39-e544-4376-b11f-3eb141f01e2e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d184cac-a032-4ab8-bcad-23f4c7009258\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"99a94fc0-159b-44f9-a46b-6636ee76628d\",\"dataFeedName\":\"js-test-mongoDbFeed-163399280662700535\",\"metrics\":[{\"metricId\":\"482df33d-c32d-4f54-a318-845e796d4fd6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ea92ed9c-cee2-475c-a695-a620bd21b045\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff034aa3-f03a-4d57-be0a-3ff4a406421c\",\"dataFeedName\":\"js-test-influxdbFeed-163399280662701108\",\"metrics\":[{\"metricId\":\"dbec1abb-3d05-4d9c-8984-c9fab02debea\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6a5c9f3e-a160-49a7-b028-332888057b5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:54:03Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8aecc17c-3f0b-4546-88dd-0fdb3691f4a3\",\"dataFeedName\":\"js-test-tableFeed-163399280662703929\",\"metrics\":[{\"metricId\":\"09333e5b-9ad2-4ca4-a203-0109ceae6a41\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e0f5e207-fabf-4615-bb7a-46c6b236d622\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0c69e54-cce1-4b7e-8126-7761d91b6f1b\",\"dataFeedName\":\"js-test-dataExplorerFeed-163399280662708753\",\"metrics\":[{\"metricId\":\"6336c919-06d3-4bd2-8cbd-3d48e6e2653c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4ea06722-e3a1-4ce5-8aee-ef119db8be37\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"f9cbe412-3c4d-4ec7-b62a-29ea7f5a8d8e\",\"dataFeedName\":\"js-test-cosmosFeed-163399280662709609\",\"metrics\":[{\"metricId\":\"f2b94d8e-d819-48e2-a876-5707328589d8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"24bc5c7d-fc54-4701-ae4a-276829eed7aa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"c111be50-a305-4864-8b21-fc29570fc044\",\"dataFeedName\":\"js-test-sqlServerFeed-163399280662702061\",\"metrics\":[{\"metricId\":\"c511a252-9378-4f90-86f5-b6de90364347\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3d4be9ba-ff43-4949-be9f-23d1e53cad49\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"14e6256b-0795-44af-953f-61f35be51547\",\"dataFeedName\":\"js-test-appInsightsFeed-163399280662704194\",\"metrics\":[{\"metricId\":\"31174c1b-1ccb-4ba2-842f-2df0293ba966\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3eaa7d9b-4fd7-4c9e-97eb-666e40dc6db0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"10b23d8b-b57b-4267-8fb0-d473f8fb26e0\",\"dataFeedName\":\"js-test-datafeed-163399280662702022\",\"metrics\":[{\"metricId\":\"0f7718af-a533-479d-b3f7-40e6d5302518\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"51aa6d7b-ee67-42d1-922f-1a7f32dafe79\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-11T22:53:32Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f2952571-7d9a-49b9-876a-513a5a9a6237\",\"dataFeedName\":\"js-test-postgreSqlFeed-163373361110602347\",\"metrics\":[{\"metricId\":\"45d24204-3dda-4dcd-a176-0a8d8444e78e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0f9f8860-523a-4616-afb8-2b72d59147e1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e6b38250-9033-4021-9945-c8411c6520d9\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163373361110605004\",\"metrics\":[{\"metricId\":\"6a85b973-eaa0-4c66-8c61-219244665db4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4383df27-a33b-4ee2-9ee8-d5b7ce544927\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"450e0e05-769e-4b60-93f1-6ed23fd9573c\",\"dataFeedName\":\"js-test-mySqlFeed-163373361110605569\",\"metrics\":[{\"metricId\":\"c4684207-6df4-416a-865d-65f45e096460\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c2531f73-ab81-41ee-9d68-7e6c9a83aece\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bd0320a4-15f4-47e4-9b92-91b2480f1715\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163373361110601677\",\"metrics\":[{\"metricId\":\"c8e0dd3a-4d55-4060-b185-d2f82c7710bd\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6db0d007-0574-446f-a2bf-811b11ece6f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:54Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"cb08d532-8be3-450c-9562-becea8f94f42\",\"dataFeedName\":\"js-test-mongoDbFeed-163373361110601970\",\"metrics\":[{\"metricId\":\"fb38cd98-9871-426b-9092-364b7b3cf7ee\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6539bf76-9b84-46ca-ba41-bb2fe5ce8ac7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"95924e75-8eb4-495d-9c88-5f270b788008\",\"dataFeedName\":\"js-test-influxdbFeed-163373361110601851\",\"metrics\":[{\"metricId\":\"a5472966-a6a3-443d-8472-c2ffbda37784\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"53a6e061-a671-41dc-af48-901c0c3de1bf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"59f7ff96-55ba-4bd3-8b12-667147df36b1\",\"dataFeedName\":\"js-test-tableFeed-163373361110609604\",\"metrics\":[{\"metricId\":\"89ec0c77-06da-4dda-a3be-567382bc6326\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"646583df-e6bf-42da-a581-c336e46baea1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3508e655-2fae-45d1-89a5-d63b7c7de9ca\",\"dataFeedName\":\"js-test-dataExplorerFeed-163373361110607870\",\"metrics\":[{\"metricId\":\"87c7055c-1ee2-4ca1-9d0d-de6a0c2b794e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5d103c50-2c12-4250-bb5f-ed55e2fb8c1d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"3cfbfe03-724d-4e5e-8708-a23aec71b016\",\"dataFeedName\":\"js-test-cosmosFeed-163373361110602125\",\"metrics\":[{\"metricId\":\"94abfba0-7886-49df-8670-06df71361ead\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"093d3b0a-3bc6-4408-9232-47d3d447ca09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=160\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=160", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ff7f6b01-9619-493e-8f32-5aaac106f093" - }, - "Response" : { - "x-request-id" : "d77a173f-3735-446f-baba-a5bc057cfe8c", - "content-length" : "26575", - "x-envoy-upstream-service-time" : "156", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d77a173f-3735-446f-baba-a5bc057cfe8c", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"3cfbfe03-724d-4e5e-8708-a23aec71b016\",\"dataFeedName\":\"js-test-cosmosFeed-163373361110602125\",\"metrics\":[{\"metricId\":\"94abfba0-7886-49df-8670-06df71361ead\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"093d3b0a-3bc6-4408-9232-47d3d447ca09\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a6c15cca-c02a-4ccc-b5ae-b631749ed1db\",\"dataFeedName\":\"js-test-sqlServerFeed-163373361110600523\",\"metrics\":[{\"metricId\":\"b2d3c45d-11f5-4fcd-a893-2a1b16c8713e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"32c0ae30-1217-4105-b518-7233d04dff8e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0dc2b89c-177b-422f-8dbf-42290a56ec7a\",\"dataFeedName\":\"js-test-appInsightsFeed-163373361110609911\",\"metrics\":[{\"metricId\":\"d3c844d9-3457-4248-abca-70a9350f79b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"68a82856-561e-4d31-aef3-e1cb6c2aad53\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b0098e19-fb7b-4f83-9f5b-2dc70e570a1a\",\"dataFeedName\":\"js-test-datafeed-163373361110606230\",\"metrics\":[{\"metricId\":\"1f2e7703-e01a-422d-83e6-ead72c6615af\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d2b084a6-2b53-45e8-adec-a6e1042b09c8\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-08T22:53:31Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d5d1c2bc-d5c6-4cea-8473-3bfbde123092\",\"dataFeedName\":\"js-test-postgreSqlFeed-163364745750608742\",\"metrics\":[{\"metricId\":\"e53312f0-59a7-4fce-bd02-3ab68af31dc0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"caa31f64-3a6d-4187-b49c-ac273bef35df\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"151c4512-f739-43bd-bc00-9601d906e134\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163364745750608769\",\"metrics\":[{\"metricId\":\"b839a1e3-b416-4426-b792-bdc30fb1b541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b3b398fc-e74b-42cf-8558-1667d6cdf9be\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ae547aff-5069-48e9-a4c7-09b4c999e8ae\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163364745750606894\",\"metrics\":[{\"metricId\":\"c0c01b47-b8a4-471a-ab37-4943db041a3e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d01cbe8-7d8a-454a-9569-10d96eb7e86f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e642e562-be4c-498d-ab86-427acee1ead8\",\"dataFeedName\":\"js-test-mySqlFeed-163364745750608285\",\"metrics\":[{\"metricId\":\"0507e6e4-5e7e-44e0-a9f7-eec7b9a1c7ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d7ea05d5-2c47-443a-95e3-47846391eb21\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:52Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5f4ef121-4432-48cd-9c90-e351b6301e3f\",\"dataFeedName\":\"js-test-mongoDbFeed-163364745750604681\",\"metrics\":[{\"metricId\":\"4a27c7ee-a821-451f-815f-86830c565337\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7cee858a-9677-4c36-8068-32603e636bbc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d9d02f95-c613-42f9-8240-f2d1789a56a5\",\"dataFeedName\":\"js-test-influxdbFeed-163364745750602380\",\"metrics\":[{\"metricId\":\"ae077b81-10da-400a-8930-185a68610a1f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1647df18-46c5-474e-bbe1-05a6b5501727\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b88c4925-df83-4a56-b9c1-495bfa1e4f70\",\"dataFeedName\":\"js-test-tableFeed-163364745750608689\",\"metrics\":[{\"metricId\":\"c23a17e3-f400-48d3-b640-80d6667c1e67\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5624e3ca-d3fa-4419-a433-eaf7bc83a7be\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8f1b9cbd-3cb7-4721-af99-f94403be25c4\",\"dataFeedName\":\"js-test-dataExplorerFeed-163364745750608621\",\"metrics\":[{\"metricId\":\"87cc7324-f2e0-4068-9633-9a01ee059d92\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0b5e2659-97cc-4d6c-a939-7a859dc1db32\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"5b5eb11e-c18b-45cf-887d-fa0d1c60c364\",\"dataFeedName\":\"js-test-cosmosFeed-163364745750609141\",\"metrics\":[{\"metricId\":\"bb903a81-cbbc-45ff-979a-6ac46dc850f4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d9e2339b-4d88-4dfc-96fc-26e6724b06aa\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:58:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a2626344-6eba-4824-86ce-37325ea544d0\",\"dataFeedName\":\"js-test-sqlServerFeed-163364745750604914\",\"metrics\":[{\"metricId\":\"9905e49d-bb9c-4689-9cd2-818b32a6f598\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"43a7acbc-0a8b-4241-88fa-e335020a3b60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"76b054a1-4602-42c5-915b-33b45783d6d3\",\"dataFeedName\":\"js-test-appInsightsFeed-163364745750604468\",\"metrics\":[{\"metricId\":\"99ce3cb9-026b-4f97-b91c-36680c7b2bb6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"32397263-0b09-4e39-8d88-63bd726900d9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"541077f7-88a6-456c-a045-436b98b94cb7\",\"dataFeedName\":\"js-test-datafeed-163364745750607661\",\"metrics\":[{\"metricId\":\"51ed5f1f-51d7-464b-a202-5916b9fb86b1\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4c77f7bc-d715-4116-9b7f-1ac73817dc12\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-07T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f2b5f342-2677-4681-81ec-c411b8828507\",\"dataFeedName\":\"js-test-postgreSqlFeed-163356099797004726\",\"metrics\":[{\"metricId\":\"595f17dd-73de-4e06-962f-b4792a36553d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"520b7462-75fa-4ae7-b0ea-d17f459e1e5b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:51Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"461e9ea0-421f-4404-886b-733f32ac3977\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163356099797005686\",\"metrics\":[{\"metricId\":\"80cd02e0-0b34-4495-ae90-23c828ada3ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a1e5a46a-26e0-4eee-ba25-dad842fd0294\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:45Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7b482adb-152e-489e-a721-617d8d690d6f\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163356099797004380\",\"metrics\":[{\"metricId\":\"a622a807-d0ac-4f36-96b4-3a012546fc2c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7a363150-d78d-4c6d-bc87-9848ffbe62c6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"8b9965a7-77bd-4063-981f-3e41fbafc57c\",\"dataFeedName\":\"js-test-mySqlFeed-163356099797005438\",\"metrics\":[{\"metricId\":\"5c82d2da-9886-4bbf-b3ed-0949e383d5ca\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c2d10dd3-9c99-438e-bce5-415874cadf2f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:33Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=180\"}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=180", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8e042c9c-1e2b-4c93-8dcf-f7a8fa53f2b5" - }, - "Response" : { - "x-request-id" : "c9449558-07d8-47b8-9867-20b720d6e9c4", - "content-length" : "26565", - "x-envoy-upstream-service-time" : "170", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c9449558-07d8-47b8-9867-20b720d6e9c4", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"4a721f89-a957-48c0-a47c-f02c6ccc858c\",\"dataFeedName\":\"js-test-mongoDbFeed-163356099797000564\",\"metrics\":[{\"metricId\":\"872ccbc8-09f7-46b7-971c-53545d0cd191\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4f1ef6f7-0b5e-44a7-9d8a-adeff3eb477f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f425cbef-9e06-45f0-b041-c60e5720775d\",\"dataFeedName\":\"js-test-influxdbFeed-163356099797009186\",\"metrics\":[{\"metricId\":\"b71ca02a-09ec-4ed5-b2da-41217e85491f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3bccf739-e576-4b4d-adc7-c998fa8a9ce7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"27d8de1b-c4fb-4922-9bc0-aed34e00fa11\",\"dataFeedName\":\"js-test-tableFeed-163356099797006938\",\"metrics\":[{\"metricId\":\"8017b783-a12e-48c0-8cdf-50493ed9c720\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d8801159-4c73-4ae6-849d-b9213fdca5f4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a96a7882-404e-491b-a3a6-45789bbfab5a\",\"dataFeedName\":\"js-test-dataExplorerFeed-163356099797005029\",\"metrics\":[{\"metricId\":\"a400b067-b321-42a6-9cf6-f90b2248375d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"02410349-01df-4c4a-b174-589756d6b1e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"2f66eda1-79ff-4db2-95b1-379d743f969c\",\"dataFeedName\":\"js-test-cosmosFeed-163356099797009443\",\"metrics\":[{\"metricId\":\"17c51a7b-3ecc-40ba-8e52-7b559b40b54e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"533938f3-2be4-4aac-8d12-45a64d14c133\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:57:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"34d422b5-deaa-420b-be18-d05ac636edd6\",\"dataFeedName\":\"js-test-sqlServerFeed-163356099797000510\",\"metrics\":[{\"metricId\":\"36c5a2e4-f874-42e1-badd-df6d5669af6f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ace84552-8c15-4b5d-b6f5-10a73c49a7c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"05d01cca-26c6-4857-ba5d-bc09bef8b9b1\",\"dataFeedName\":\"js-test-appInsightsFeed-163356099797000138\",\"metrics\":[{\"metricId\":\"79b5c438-46e2-4a72-992a-c158bad649ac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"64ad65c1-8a52-4571-addc-d3df48d3bcae\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:46Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc6b708b-3d9d-430f-99b4-161381de23cd\",\"dataFeedName\":\"js-test-datafeed-163356099797006468\",\"metrics\":[{\"metricId\":\"5e76e6f8-edac-46cc-aa9d-b004dcaba541\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8bd0cfb9-d401-46db-b3b1-04f75ad1189a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-06T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"386ac2ff-df82-4993-8b91-05e169ab16c5\",\"dataFeedName\":\"js-test-postgreSqlFeed-163347460219301896\",\"metrics\":[{\"metricId\":\"bb7fe4e3-67e3-4302-b262-3ebf5b566245\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d180046e-9855-4546-b20a-a4495c0feda5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2fc2fdd2-6c76-44d3-8c26-99eae8b20124\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163347460219308619\",\"metrics\":[{\"metricId\":\"5e8ae7d1-36eb-4048-a828-85d075bfb705\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"00909ae9-8fff-4f37-a996-3ca6c948816f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"f925fe2b-32eb-43ef-b748-4d2cc64fc611\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163347460219307690\",\"metrics\":[{\"metricId\":\"acbc430b-5440-4b95-a2de-071c14d12fb6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"a1a9a1dc-2fe6-4351-b76f-3967a019c031\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7e2c7d8c-8fd5-4ab0-b831-f88981ab459b\",\"dataFeedName\":\"js-test-mySqlFeed-163347460219304278\",\"metrics\":[{\"metricId\":\"dec4718b-51a3-4b38-9d66-78f57118887e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7329beab-1b48-4e77-84e8-88880b99512e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:22Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"bcd412d1-8097-4a63-8af9-ea8014bd24e5\",\"dataFeedName\":\"js-test-mongoDbFeed-163347460219301593\",\"metrics\":[{\"metricId\":\"752db659-a090-43b2-b7ad-646018a0566c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8af77e14-5645-4c78-9a1e-e34f0ab6fe60\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9d4843d8-3464-4f12-abbf-7b666530b170\",\"dataFeedName\":\"js-test-influxdbFeed-163347460219303248\",\"metrics\":[{\"metricId\":\"40d80fbe-3520-4068-96ac-c3deaecdf43c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3e282e21-dc3f-459d-b60d-2f0ab6fc7b69\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:57:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"241560f0-d51e-4854-8674-fa80c7ad163f\",\"dataFeedName\":\"js-test-tableFeed-163347460219301786\",\"metrics\":[{\"metricId\":\"45fa5e3e-8eef-4bb8-8e2b-d3ad4bc089ce\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0ae3be92-32fa-4324-a7ac-efbf48efab5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"fc7cbfc6-ca32-4fb1-94f8-564bcc16ec4e\",\"dataFeedName\":\"js-test-dataExplorerFeed-163347460219309573\",\"metrics\":[{\"metricId\":\"c9dd00db-366c-4cb4-9fed-b997a87103bb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0121f29f-e62a-4601-ab6c-dfa7e4c3c74f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"96129eec-466f-497c-a8f8-83566d23ca7d\",\"dataFeedName\":\"js-test-cosmosFeed-163347460219304530\",\"metrics\":[{\"metricId\":\"1d780232-d204-4a0f-919f-fe2b895f9553\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f2700d78-d4e4-4a04-9c14-07ffe64d3595\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b313675e-e728-432d-b973-3e32b43f9334\",\"dataFeedName\":\"js-test-sqlServerFeed-163347460219304622\",\"metrics\":[{\"metricId\":\"8dac805a-8094-4089-a551-d9da39627b27\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9cd02751-5852-4b52-9cd1-e46a630d930f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:50Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6b87f889-18c9-4361-9529-e92c41288e73\",\"dataFeedName\":\"js-test-appInsightsFeed-163347460219307862\",\"metrics\":[{\"metricId\":\"09d1b797-8b73-46b1-b37e-8c04717a06bc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6c59314d-e2df-4c8d-a7ae-d0be69e5cb5f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:48Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6aef058a-41c7-4c21-a00c-fea5d0ee87f6\",\"dataFeedName\":\"js-test-datafeed-163347460219303676\",\"metrics\":[{\"metricId\":\"62d7889c-3099-4ce1-9ec0-947f9e60ddf7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0016e5d6-32df-462d-8a3e-c8c4dc0fa8a3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-05T22:56:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=200\"}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=200", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3020579c-e23c-458b-aee1-4f7ed5fb3005" - }, - "Response" : { - "x-request-id" : "83497c6a-e92c-41f2-a661-dce0a824e8ed", - "content-length" : "26264", - "x-envoy-upstream-service-time" : "165", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "83497c6a-e92c-41f2-a661-dce0a824e8ed", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"d0648e92-492b-44cb-8327-4c9b861aad73\",\"dataFeedName\":\"js-test-postgreSqlFeed-163338814690007155\",\"metrics\":[{\"metricId\":\"ab4c635d-423e-4b61-af47-0f196214c1e8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ff4a7986-61d2-4c95-88d5-0ea21e79287d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"574f75c3-58c2-4b1e-bab6-47fcf39b7bd3\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163338814690004828\",\"metrics\":[{\"metricId\":\"93eac5d9-fc51-443e-8604-0822fbffefac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"92512efa-f325-4f62-833c-93907185f3f5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"11d8cf94-c6b0-476d-8d04-81f8328dcf27\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163338814690000658\",\"metrics\":[{\"metricId\":\"329a97ef-c46b-4f96-9220-d98e5f5fbd1f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"ef65dcb2-a3f6-49c8-8909-4cdf1d6843ce\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"91b43fad-5cc5-4d89-b687-9be9ce875ac4\",\"dataFeedName\":\"js-test-mySqlFeed-163338814690005430\",\"metrics\":[{\"metricId\":\"d55210ee-919c-407d-9626-df8b55306bcf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"decd446f-2c42-4a35-928f-671f192de097\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:19Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"b298e0c1-7e98-47ad-8e00-282a458d61ef\",\"dataFeedName\":\"js-test-mongoDbFeed-163338814690003885\",\"metrics\":[{\"metricId\":\"d3c61ebf-486a-4e78-81fc-6b57c96e44c8\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e5ea0850-73cb-4c84-873a-d7e2b0a56ca2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"97307f09-8842-4409-af8b-7d27cf5645de\",\"dataFeedName\":\"js-test-influxdbFeed-163338814690004992\",\"metrics\":[{\"metricId\":\"ad7ea7e6-1b91-41ba-9d13-64d8a8cd8b65\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8153f2d3-c392-4acf-912b-f1d3cd04dcac\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:18Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a0a1e8f9-35e1-4747-afdb-547c608e8649\",\"dataFeedName\":\"js-test-tableFeed-163338814690006976\",\"metrics\":[{\"metricId\":\"bdf77fd4-4e83-4d3c-98ab-9cdcded4d283\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d31df08b-977d-455f-a6b2-0e82089c9c7f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:12Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4bb5c73d-133f-4fb6-824e-7c92c5dd85fd\",\"dataFeedName\":\"js-test-dataExplorerFeed-163338814690004329\",\"metrics\":[{\"metricId\":\"e65b5f10-514e-4ad1-be20-04ef99f8e337\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d88ef76d-c0e2-490d-b51f-6a1ccbc81adb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:11Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"999e7511-927f-4f04-9b8c-7bca56a91ce2\",\"dataFeedName\":\"js-test-cosmosFeed-163338814690003601\",\"metrics\":[{\"metricId\":\"c51b1ccc-3451-48d0-8998-cdef1d94e4ff\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4d69b4da-0cf4-4d10-90ce-f3460927b6a2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e67887d9-1000-458e-a899-33781621647e\",\"dataFeedName\":\"js-test-sqlServerFeed-163338814690009483\",\"metrics\":[{\"metricId\":\"367454c6-9fb3-43ce-89b4-f2facdfc7163\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"15596c3a-60a8-41de-84ed-49729028f7e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"4280cf0e-e12a-4135-a5cb-fbcb2a225fa2\",\"dataFeedName\":\"js-test-appInsightsFeed-163338814690003701\",\"metrics\":[{\"metricId\":\"187c0044-dfc1-4adc-8ca8-2709fba1d8ed\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d650b34c-e00a-4356-af47-654499fc8b78\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:53Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0c551480-0d15-4bdb-ba79-d078329f5394\",\"dataFeedName\":\"js-test-datafeed-163338814690006682\",\"metrics\":[{\"metricId\":\"01e0f623-f0a9-4030-bfc8-6b52f1032627\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fcb6922b-90b8-4d80-9eb2-dca78e1be941\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-04T22:55:47Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"3d16da20-1e50-4b6c-b12e-a0258062a5c2\",\"dataFeedName\":\"js-test-postgreSqlFeed-163312892993307149\",\"metrics\":[{\"metricId\":\"56263637-f807-4a69-95c9-8a54d3a815cf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6be3ec57-b12a-4a1a-a941-a4f7373d01ff\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7881d71e-ca2a-491d-979c-beeb9d35407b\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163312892993303403\",\"metrics\":[{\"metricId\":\"becf965b-2a14-4d23-bbb5-15058c3c088d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"69ffa8a5-23a0-4c61-8851-7783b6de6445\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2ea524f2-bbd0-40c6-8af0-bfbd8e2d16ec\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163312892993200053\",\"metrics\":[{\"metricId\":\"950e1d27-4917-4482-8eea-e1993d89a26f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7bbc3972-ff3b-475a-a80f-f081f3dda0f9\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-10-01T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-10-01T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ae39d1fd-419d-42b1-9fd3-6843b85e70f8\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163312892993309712\",\"metrics\":[{\"metricId\":\"87bd7641-f35a-4324-9538-afaa203dee9c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"94210e48-a5bf-4bb6-80a1-e999c9717072\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d64d4795-84ac-4afa-9c35-5d71d3fa421c\",\"dataFeedName\":\"js-test-mySqlFeed-163312892993303355\",\"metrics\":[{\"metricId\":\"a29f1e97-057b-4c2a-8ef0-cec9bb8f9d82\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8f5c35f7-3d2f-4ed7-804f-9530d413dff6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:28Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0fcbb92e-61f6-42f2-9008-d5ebab00bb15\",\"dataFeedName\":\"js-test-mongoDbFeed-163312892993303542\",\"metrics\":[{\"metricId\":\"c016e503-0378-493b-b2f2-59d46299bce4\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"c214b47a-6b69-4807-869d-2443ca37211c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:17Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6dd57159-5101-4048-8ea1-94f48e3c752c\",\"dataFeedName\":\"js-test-influxdbFeed-163312892993305001\",\"metrics\":[{\"metricId\":\"c82a369a-a2db-44ce-b666-7ee585f96dca\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"efffe1ff-df05-426f-bbaa-3332e1926b98\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:16Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"53427ba6-7d70-4d02-bc84-6918f270aab1\",\"dataFeedName\":\"js-test-tableFeed-163312892993204266\",\"metrics\":[{\"metricId\":\"b2c5085f-5bad-4a3a-bdaa-03c9f0f40151\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4f64e311-9b15-4d10-8a0f-5fb553bfae90\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=220\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=220", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ebb3f661-fadf-48d5-bdbe-e1a9b574bbcb" - }, - "Response" : { - "x-request-id" : "450c755e-4a2a-4684-b734-1e8758b9130b", - "content-length" : "26488", - "x-envoy-upstream-service-time" : "158", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "450c755e-4a2a-4684-b734-1e8758b9130b", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"6bc6cbb4-320c-45dc-92e0-a5011a011d72\",\"dataFeedName\":\"js-test-dataExplorerFeed-163312892993205417\",\"metrics\":[{\"metricId\":\"6e474f1d-c800-4750-9a88-1b84ed5f37b5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"d6acb55b-57f6-4339-9f56-bf3814eea8dd\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:56:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"c62d2468-0dd4-4524-94a4-6f6dfe4117b8\",\"dataFeedName\":\"js-test-cosmosFeed-163312892993205225\",\"metrics\":[{\"metricId\":\"6a80f493-6a9c-4da4-af5c-9175710460f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b74fb702-ac65-475a-925e-53d85166030f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"068a182a-b028-4628-9ae2-943cc599bb82\",\"dataFeedName\":\"js-test-sqlServerFeed-163312892993203881\",\"metrics\":[{\"metricId\":\"a87a360c-4e2f-471e-9150-a5c90b46e9c0\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"421ec078-9ed8-43be-ad98-9fd0ad5ea9e6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9f487100-6eaf-4170-92ab-923e09199ec1\",\"dataFeedName\":\"js-test-appInsightsFeed-163312892993209249\",\"metrics\":[{\"metricId\":\"4eed8fde-6784-408b-8383-0db3cadc172c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"6bef3b5e-8992-4354-aacd-e40a52e51adb\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:36Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"7b77757c-1546-45d5-9a37-0ba95facb95b\",\"dataFeedName\":\"js-test-datafeed-163312892993208131\",\"metrics\":[{\"metricId\":\"d8252794-3eeb-43e4-ac50-9b4567a99311\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"9a685909-95cc-4595-b4a0-382fd58668c0\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-10-01T22:55:35Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d3bfdad0-f82d-428a-a024-4e694f48db55\",\"dataFeedName\":\"js-test-postgreSqlFeed-163304256469805732\",\"metrics\":[{\"metricId\":\"bff1aad1-77f5-474f-8ef9-119f027019cb\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b29a243a-c140-4dad-a963-6c9b912fbe97\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:44Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ab1ae0ee-9843-468c-a70a-681d3f5d8f07\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163304256469802028\",\"metrics\":[{\"metricId\":\"e4d49823-08f3-4c82-8f8e-13f52f7ce1a9\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0271adcc-153d-4127-845a-31faa3872336\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"a42f91f0-5377-43ca-87d0-bb96c178ab78\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163304256469800636\",\"metrics\":[{\"metricId\":\"8c0b0be2-e8a1-48e7-97e2-65e4cdeec0fa\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"472d0b78-8b0c-44de-8834-de88073d809e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-30T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-30T22:56:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"71fe4975-7e5e-4621-89d5-1ba7c765251c\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163304256469808385\",\"metrics\":[{\"metricId\":\"74d0e299-7b9f-44f0-b8e2-9e456c18a18b\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"e211f231-c89c-4bff-8409-519a442d43e3\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2cabfce0-7b8e-48fd-8b7b-edd609e853ce\",\"dataFeedName\":\"js-test-mySqlFeed-163304256469807300\",\"metrics\":[{\"metricId\":\"18f00f58-b870-4b59-b6d8-7d6d59ba7b7f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0eba33c6-11a0-4a68-b236-ecd643e00a7b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5233196e-6560-499f-94ce-401c184131df\",\"dataFeedName\":\"js-test-mongoDbFeed-163304256469809271\",\"metrics\":[{\"metricId\":\"89c077eb-9fb8-4806-b430-6e1995c4c222\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0b7b70d8-6678-47af-bb5f-d77b8411f8d2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:41Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"d108bbef-dfec-441c-9743-945ffeab5ccc\",\"dataFeedName\":\"js-test-influxdbFeed-163304256469808844\",\"metrics\":[{\"metricId\":\"0537fe98-7b8d-4beb-8046-57261e416958\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"385385cb-c375-4e20-a7c7-5588365dca2e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5d17aa73-b1fa-4809-97a6-bc7f889ff258\",\"dataFeedName\":\"js-test-tableFeed-163304256469801899\",\"metrics\":[{\"metricId\":\"666c598c-9f9b-4b7a-9165-559e090015d6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"1aab75d3-5784-4163-a5e2-ddb2112fe0a2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:40Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6b0e4d6a-5b18-44b3-821d-8816c66462ec\",\"dataFeedName\":\"js-test-dataExplorerFeed-163304256469808043\",\"metrics\":[{\"metricId\":\"ed3e2907-78b1-4cf6-b8a3-0ac4fc6d397c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63ec4eb2-e818-4342-bfb8-75ca0907497d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:34Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"7d52bf31-0b33-4766-b3a2-a3a5270f283b\",\"dataFeedName\":\"js-test-cosmosFeed-163304256469808350\",\"metrics\":[{\"metricId\":\"d1bcd94c-f02f-4ad9-9f5e-5e4e0538d411\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3d773287-fa4b-4a2f-ac6d-89e606b694d1\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:23Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ff199288-5ade-439d-9539-2d9802271db6\",\"dataFeedName\":\"js-test-sqlServerFeed-163304256469803616\",\"metrics\":[{\"metricId\":\"013fd7ae-624c-4684-aa5a-271cc8c3533e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0724e3e4-bc5c-4db9-8385-df0cc4e31e5d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:21Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"e0cd8cbc-7f4c-488f-9b71-0beab9078907\",\"dataFeedName\":\"js-test-appInsightsFeed-163304256469801704\",\"metrics\":[{\"metricId\":\"5af886f9-772e-4e76-8990-9550ee5011bf\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2b615f81-7f65-40ba-9382-d2b56154206a\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:15Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"63c04d85-7072-4f34-810a-5ed860dd24fd\",\"dataFeedName\":\"js-test-datafeed-163304256469802463\",\"metrics\":[{\"metricId\":\"0ccea564-c2d7-41c2-aec4-2b38d6991de5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8e05096b-b467-464e-815a-23af545bccc6\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-30T22:56:10Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"44f094bd-4788-4f09-9554-53631657a350\",\"dataFeedName\":\"js-test-postgreSqlFeed-163295624935402170\",\"metrics\":[{\"metricId\":\"790a94e8-b539-418a-a106-aa1cea62a7ac\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3a2af827-dd0f-4b4e-844a-51b57ab17639\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"PostgreSql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:58:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: postgresql,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"26df3035-bea5-4b72-813c-1cb5969bc284\",\"dataFeedName\":\"js-test-logAnalyticsFeed-163295624935409797\",\"metrics\":[{\"metricId\":\"ffe6583e-baf1-439f-b9b8-27c84bc9594c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"81da74d2-0a0a-49a4-a4d8-cd3057e1405f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureLogAnalytics\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"clientId\":\"client-id\",\"query\":\"query\",\"tenantId\":\"tenant-id\",\"workspaceId\":\"workspace-id\"},\"authenticationType\":\"Basic\"}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=240\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/dataFeeds?$maxpagesize=20&$skip=240", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3abafaef-202d-4a99-a586-8c9588634d53" - }, - "Response" : { - "x-request-id" : "464c0db4-0689-4435-917d-11a795efb9bd", - "content-length" : "22765", - "x-envoy-upstream-service-time" : "147", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "464c0db4-0689-4435-917d-11a795efb9bd", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"dataFeedId\":\"685e01d9-2d5f-4ac5-bbe5-dc239962d800\",\"dataFeedName\":\"js-test-eventhubRequestFeed-163295624935403683\",\"metrics\":[{\"metricId\":\"ee44f79c-8f95-4428-abe9-87c289de81c6\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"5ab43009-b279-4234-84b9-a0633d1e915e\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-09-29T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-09-29T22:57:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"$Default\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"38019854-46cd-4780-8c96-15ec2b9ce1c2\",\"dataFeedName\":\"js-test-dataLakeGenFeed-163295624935404941\",\"metrics\":[{\"metricId\":\"14badd91-5ecb-489e-bc1e-736badbc5937\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"df88f3a9-f118-475f-91f7-5a10e6d478d5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataLakeStorageGen2\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"fileTemplate\":\"file-template\",\"accountName\":\"REDACTED\",\"directoryTemplate\":\"directory-template\",\"fileSystemName\":\"file-system-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"2211978f-a41e-4dd7-9031-a85e21f97d38\",\"dataFeedName\":\"js-test-mySqlFeed-163295624935400134\",\"metrics\":[{\"metricId\":\"5a46e457-5f7d-42ed-9bcd-7419b816a869\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8d2caecd-85a5-4111-8fc8-75c1b59242f7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MySql\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:58Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"5fa02b12-55be-4fbe-82e1-084c46339ca7\",\"dataFeedName\":\"js-test-mongoDbFeed-163295624935403794\",\"metrics\":[{\"metricId\":\"b316978e-ec05-4e32-885b-dcde1809c727\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f7ced785-d743-459b-a25d-d5e16b365f87\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"MongoDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"data-feed-mongodb\",\"command\":\"{ find: mongodb,filter: { Time: @StartTime },batch: 200 }\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0a703d4f-0ac7-4805-b98c-c98eda530f7c\",\"dataFeedName\":\"js-test-influxdbFeed-163295624935408979\",\"metrics\":[{\"metricId\":\"8b8e7c56-305e-403f-8530-d365ad8c3b1c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"01524fd3-deaf-4bc3-9ffa-0489b41a89fc\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"InfluxDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"connectionString\":\"REDACTED\",\"database\":\"data-feed-database\",\"query\":\"partition-key eq @start-time\",\"REDACTEDName\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"9d25002e-09c6-4098-ab8f-e1813aeb022c\",\"dataFeedName\":\"js-test-tableFeed-163295624935405050\",\"metrics\":[{\"metricId\":\"966751b9-1083-47c0-93a4-51a4bf42a123\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"598fec46-8467-47e3-b926-c7f82f4f3fb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureTable\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"partition-key eq @start-time\",\"table\":\"table-name\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"04c0ccd1-6962-40cc-9f7c-a8a3887466c4\",\"dataFeedName\":\"js-test-dataExplorerFeed-163295624935403812\",\"metrics\":[{\"metricId\":\"1b3f350c-ce64-4e6d-8a59-82f8eff13da7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63139d12-50b1-4081-b43b-a23b46c3aeaf\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:56Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"ece68b7c-e355-441a-af06-6f501067728a\",\"dataFeedName\":\"js-test-cosmosFeed-163295624935405186\",\"metrics\":[{\"metricId\":\"dbe1d78b-bf8a-412e-917c-4df8d492213d\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7441a55e-f491-47a5-8125-c2039999c888\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:55Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"66eb4ecc-8755-48f4-bef0-881d75866a09\",\"dataFeedName\":\"js-test-sqlServerFeed-163295624935406441\",\"metrics\":[{\"metricId\":\"b193aa44-184d-48ea-9dfc-fd0843c9c8d2\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"8fb3821e-1ca6-45af-a22e-575a098a3cb5\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:49Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"921ffe1e-d306-42ae-9642-44d30862e8a2\",\"dataFeedName\":\"js-test-appInsightsFeed-163295624935409579\",\"metrics\":[{\"metricId\":\"f602f759-87c5-4b2f-8000-04f606a1725e\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"b2f13819-9089-4b56-9c0f-b74ae92251c2\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:43Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"6fede4c4-36a0-447d-a840-b649eb01e123\",\"dataFeedName\":\"js-test-datafeed-163295624935408576\",\"metrics\":[{\"metricId\":\"b99375f7-96e5-4c65-8ff9-27b6d38507f5\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"7c3cc93f-a278-4fff-b48f-16a38bb5f89f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-29T22:57:42Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"271707ea-a3be-48d6-8655-ec9191334389\",\"dataFeedName\":\"js-test-dataExplorerFeed-163286993752000772\",\"metrics\":[{\"metricId\":\"6168bbd6-ca75-43ed-ab28-aa8fa907613c\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"63460bbd-89c2-4050-a14d-589207c7e6c7\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureDataExplorer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:04Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let starttime=datetime(@StartTime); let endtime=starttime\"},\"authenticationType\":\"ManagedIdentity\"},{\"dataFeedId\":\"6a441f0b-9482-418d-9ec2-a486a14339ba\",\"dataFeedName\":\"js-test-cosmosFeed-163286993752000665\",\"metrics\":[{\"metricId\":\"4155cf5b-4064-4ade-9a4c-aa5aa226b807\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"824843f4-04b7-40ba-a508-98169eb5a91b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureCosmosDB\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:03Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"database\":\"sample\",\"sqlQuery\":\"let starttime=datetime(@StartTime); let endtime=starttime\",\"collectionId\":\"sample\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"64478672-2d07-43cb-a09d-e594465ae919\",\"dataFeedName\":\"js-test-sqlServerFeed-163286993752001601\",\"metrics\":[{\"metricId\":\"ded5b762-0b93-49f2-b984-4765697cc124\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f2a63b29-5197-4fbe-9936-35151617e937\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:02Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"select * from adsample2 where Timestamp = @StartTime\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"0643ccac-5f48-4bb8-92a3-d5971745aa93\",\"dataFeedName\":\"js-test-appInsightsFeed-163286993752003102\",\"metrics\":[{\"metricId\":\"493917c1-40b2-4518-8308-9eaca74e5b73\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"4bf5db06-0093-43c3-a2bf-7c628b62fc9c\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:01Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"REDACTED\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ac974c50-7b2c-4b02-85c1-2b6623babfbb\",\"dataFeedName\":\"js-test-datafeed-163286993752003310\",\"metrics\":[{\"metricId\":\"818c34ba-50ff-4593-97d0-b42899214e53\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2cec93fe-e922-4b3b-8672-d72a89d7511b\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureBlob\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-28T22:59:00Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"container\":\"adsample\",\"blobTemplate\":\"%Y/%m/%d/%h/JsonFormatV2.json\"},\"authenticationType\":\"Basic\"},{\"dataFeedId\":\"ccaad5bf-1df6-41f7-b774-28830d1a65d2\",\"dataFeedName\":\"azsqlDatafeed\",\"metrics\":[{\"metricId\":\"61e14436-a60f-4ba9-85e2-abe66d0d7515\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"fa753672-8baf-4e8e-b48b-10fc1a423118\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-30T00:00:00Z\",\"dataSourceType\":\"SqlServer\",\"timestampColumn\":\"timestamp\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"SmartFilling\",\"fillMissingPointValue\":0.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"This description was generated by a sample.\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"chriss@microsoft.com\",\"yumeng@microsoft.com\",\"xiangyan@microsoft.com\",\"elraikhm@microsoft.com\",\"kaghiya@microsoft.com\",\"camaiaor@microsoft.com\",\"krpratic@microsoft.com\",\"anuchan@microsoft.com\",\"savaity@microsoft.com\"],\"viewers\":[],\"creator\":\"savaity@microsoft.com\",\"status\":\"Paused\",\"createdTime\":\"2021-09-02T22:04:59Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp >= @IntervalStart and timestamp < @IntervalEnd\"},\"authenticationType\":\"Basic\"}]}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/dataFeeds", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "8f35a695-54ec-4be7-aab5-dd611aeb21f3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4dc1bcd7-e0e5-4b07-8897-d27e1d5e1b30", + "Content-Length": "5543", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "188", + "x-ms-region": "West US 2", + "X-Request-ID": "4dc1bcd7-e0e5-4b07-8897-d27e1d5e1b30" + }, + "ResponseBody": { + "value": [ + { + "dataFeedId": "b97ce530-f0c7-4c67-bb27-4639e0adbefa", + "dataFeedName": "java_data_feed_for_detectionb82ea2b1-3a3b-4891-9e6a-b7d90adc46e9", + "metrics": [ + { + "metricId": "97f6b0c5-924a-4b04-9405-36856d0267d3", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "a8f62c2b-f7e6-4f41-96e6-473281d742d8", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "region", + "dimensionDisplayName": "region" + } + ], + "dataStartFrom": "2019-10-01T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": 0, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2023-04-17T23:00:06Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "select * from adsample2 where Timestamp = @StartTime" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "6e48e476-33e6-4113-a299-a5740bc0db47", + "dataFeedName": "azBlobDataFeed", + "metrics": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "metricName": "Metric1", + "metricDisplayName": "Metric1", + "metricDescription": "" + }, + { + "metricId": "81fafdc5-e2fc-4679-8c20-e2fe3e366c15", + "metricName": "Metric2", + "metricDisplayName": "Metric2", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "Dim1", + "dimensionDisplayName": "Dim1" + }, + { + "dimensionName": "Dim2", + "dimensionDisplayName": "Dim2" + } + ], + "dataStartFrom": "2022-02-28T00:00:00Z", + "dataSourceType": "AzureBlob", + "timestampColumn": "Timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Active", + "createdTime": "2022-04-05T17:10:58Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "container": "adsample", + "blobTemplate": "data/%Y/%m/sample_%Y_%m_%d.json" + }, + "authenticationType": "Basic" + }, + { + "dataFeedId": "5599bb15-cf0d-47dc-bca4-ef1a532689ed", + "dataFeedName": "sample_datafeed", + "metrics": [ + { + "metricId": "00989743-bffa-4e6b-b90b-b41c13e27636", + "metricName": "cost", + "metricDisplayName": "Cost", + "metricDescription": "" + }, + { + "metricId": "54535a9d-2790-44a6-93f7-4171b72276d7", + "metricName": "revenue", + "metricDisplayName": "Revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "Category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2019-01-01T00:00:00Z", + "dataSourceType": "AzureDataLakeStorageGen2", + "timestampColumn": "", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "needRollup": "NoRollup", + "fillMissingPointType": "PreviousValue", + "fillMissingPointValue": 0.0, + "rollUpMethod": "None", + "dataFeedDescription": "", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-11-15T22:00:37Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "fileTemplate": "adsample.json", + "accountName": "REDACTED", + "directoryTemplate": "%Y/%m/%d", + "fileSystemName": "adsample" + }, + "authenticationType": "ServicePrincipal", + "credentialId": "9388a986-5430-4666-a758-7461c2a48774" + }, + { + "dataFeedId": "ccaad5bf-1df6-41f7-b774-28830d1a65d2", + "dataFeedName": "azsqlDatafeed", + "metrics": [ + { + "metricId": "61e14436-a60f-4ba9-85e2-abe66d0d7515", + "metricName": "cost", + "metricDisplayName": "cost", + "metricDescription": "" + }, + { + "metricId": "fa753672-8baf-4e8e-b48b-10fc1a423118", + "metricName": "revenue", + "metricDisplayName": "revenue", + "metricDescription": "" + } + ], + "dimension": [ + { + "dimensionName": "category", + "dimensionDisplayName": "category" + }, + { + "dimensionName": "city", + "dimensionDisplayName": "city" + } + ], + "dataStartFrom": "2020-08-30T00:00:00Z", + "dataSourceType": "SqlServer", + "timestampColumn": "timestamp", + "startOffsetInSeconds": 0, + "maxQueryPerMinute": 30.0, + "granularityName": "Daily", + "allUpIdentification": "__SUM__", + "needRollup": "NeedRollup", + "fillMissingPointType": "SmartFilling", + "fillMissingPointValue": 0.0, + "rollUpMethod": "Sum", + "dataFeedDescription": "This description was generated by a sample.", + "stopRetryAfterInSeconds": -1, + "minRetryIntervalInSeconds": -1, + "maxConcurrency": -1, + "viewMode": "Private", + "admins": [ + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com", + "REDACTED.microsoft.com" + ], + "viewers": [], + "creator": "REDACTED", + "status": "Paused", + "createdTime": "2021-09-02T22:04:59Z", + "isAdmin": true, + "actionLinkTemplate": "", + "dataSourceParameter": { + "query": "SELECT @IntervalStart as timestamp, region, category, revenue, cost FROM MASampleRevenueCost WHERE timestamp \u003E= @IntervalStart and timestamp \u003C @IntervalEnd" + }, + "authenticationType": "Basic" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json index 916a489595235..a9ae0b3432005 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithDefaultPipeline[1].json @@ -1,224 +1,411 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "44a813f5-4b71-4bfd-8302-307869e784f6", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "51", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "dda75fd2-6f8b-4366-bb9e-99efa328fc79", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "790e0f70-22ba-4422-b1ca-c92682700126", + "Content-Length": "3663", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "142", + "x-ms-region": "West US 2", + "X-Request-ID": "790e0f70-22ba-4422-b1ca-c92682700126" + }, + "ResponseBody": { + "value": [ + { + "feedbackId": "2e157fbc-34ab-422e-aa8e-3133323a4c61", + "createdTime": "2023-03-08T23:53:53.675Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2020-01-01T00:00:00Z", + "endTime": "2020-09-09T00:00:00Z", + "value": { + "changePointValue": "AutoDetect" + } + }, + { + "feedbackId": "e4a4c55e-486d-46dc-a857-75bbb9c30c3c", + "createdTime": "2022-11-17T08:28:26.451Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "68e2b300-d70c-4994-b565-4cc155b277b3", + "createdTime": "2022-11-17T08:28:25.817Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "2eb51c14-af15-4b9e-9410-6927db36d501", + "createdTime": "2022-11-17T08:28:25.188Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "6499b105-3d22-4bd4-98ec-8527ffd144af", + "createdTime": "2022-11-17T08:28:24.161Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8f7537f4-555a-449f-b661-09c20ca56739", + "createdTime": "2022-11-17T08:28:17.646Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "371ebae3-fb38-4833-b786-09d310e79c03", + "createdTime": "2022-11-17T08:28:16.894Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "40e31831-31a0-4da1-9c45-544a01085442", + "createdTime": "2022-11-17T08:28:15.998Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "20923f71-36c5-4785-b743-e811927c2643", + "createdTime": "2022-11-17T08:28:16.046Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "411a192d-a69c-40e8-93ba-4e7ffa901fbe", + "createdTime": "2022-11-17T08:28:15.39Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=10" + } }, - "Response" : { - "x-request-id" : "4845a8d1-81ae-48f5-a730-5e05034d16da", - "content-length" : "3818", - "x-envoy-upstream-service-time" : "163", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4845a8d1-81ae-48f5-a730-5e05034d16da", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "38a50297-7be7-4ad4-b512-286c05455955", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "3f9d7925-ee0a-4fd2-8f89-815cb4673cfb", - "content-length" : "3877", - "x-envoy-upstream-service-time" : "107", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3f9d7925-ee0a-4fd2-8f89-815cb4673cfb", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "50065a05-dcc5-4eea-ad01-f0359039fc8c", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "f27abf44-4961-4754-81bf-f04a411717bd", - "content-length" : "3871", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f27abf44-4961-4754-81bf-f04a411717bd", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30\"}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0eb85799-a2ee-4786-a7b6-60271b942856", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2649960b-4846-4638-9ec7-9abf514103bf", - "content-length" : "3873", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2649960b-4846-4638-9ec7-9abf514103bf", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "99ef1067-96f3-4ff4-96f1-5cc8f56c099b", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "365adea0-e5ab-476e-8eec-a7d134b155ce", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "120", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "365adea0-e5ab-476e-8eec-a7d134b155ce", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50\"}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "5bf904c5-227e-42b6-ac86-e8d6087743db", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "684dc03f-972a-4ab6-ad4d-da3b954f52f8", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "99", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "684dc03f-972a-4ab6-ad4d-da3b954f52f8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "04bc684c-430b-4fc3-82b2-bf9e3f69c426", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "7378b084-2093-44fb-b8bd-3051810ad1b5", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "162", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7378b084-2093-44fb-b8bd-3051810ad1b5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6bd3046d-e241-4ba5-a542-7749c761dde7", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "ec9ddc72-6bf9-4d8f-87f0-e0263097e6b7", - "content-length" : "3939", - "x-envoy-upstream-service-time" : "116", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "ec9ddc72-6bf9-4d8f-87f0-e0263097e6b7", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b2185901-8d43-4700-a0d0-f6010f902827", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "5764a04a-1d8a-41d9-8a77-694853ff4093", - "content-length" : "3815", - "x-envoy-upstream-service-time" : "100", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5764a04a-1d8a-41d9-8a77-694853ff4093", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "562dfd82-e8da-4c83-abbc-f136ee4a2731", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "daf277fe-68b3-479d-8159-3a1de7cd0944", - "content-length" : "3882", - "x-envoy-upstream-service-time" : "170", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "daf277fe-68b3-479d-8159-3a1de7cd0944", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"176a3fc9-4d5f-41af-99fe-2d3b2b3da291\",\"createdTime\":\"2022-04-06T02:28:57.657Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"77affbd3-e0e1-4746-b3b3-affef608357f\",\"createdTime\":\"2022-04-06T02:28:57.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"89b4c916-1a43-4f0c-b9de-d821652d78e9\",\"createdTime\":\"2022-04-06T02:28:56.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dfe47f73-e91d-46d1-a5a6-abd53210da01\",\"createdTime\":\"2022-04-06T02:28:56.106Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1cbb0477-fda0-4cba-8a99-56aac23dfced\",\"createdTime\":\"2022-04-06T02:28:55.955Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"441e8afd-43d3-4065-81f6-cc1b7a582cb6\",\"createdTime\":\"2022-04-06T02:28:55.786Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"8db09894-03e4-49d3-b2f7-17c55752eee1\",\"createdTime\":\"2022-04-06T02:28:55.54Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d054434f-b53f-478d-89f5-92c9287fceb3\",\"createdTime\":\"2022-04-06T02:28:55.117Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"dccc35c4-3935-4990-b47a-d7ad3625be2e\",\"createdTime\":\"2022-04-06T02:28:53.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"0732d268-644d-4362-88d5-08848773f247\",\"createdTime\":\"2022-04-06T02:28:53.801Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "51", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "62692afc-be72-4525-96cb-fd35901b6716", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9f98bfce-2e02-453b-bd26-5ffbad32cd0c", + "Content-Length": "3712", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "234", + "x-ms-region": "West US 2", + "X-Request-ID": "9f98bfce-2e02-453b-bd26-5ffbad32cd0c" + }, + "ResponseBody": { + "value": [ + { + "feedbackId": "7e44f1f2-73e5-4da4-b6e3-6a232a1c341c", + "createdTime": "2022-11-17T08:28:14.714Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e586b348-5711-4a75-bf7b-1557bce2897f", + "createdTime": "2022-11-17T08:28:14.641Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "42c85de4-7b27-42ca-8185-a29d5525c45a", + "createdTime": "2022-11-17T08:28:13.473Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a6e7e725-7ed7-42f6-a6fe-badec96e46bb", + "createdTime": "2022-11-16T08:38:58.346Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "f9c117b2-ce5e-461e-b17b-041683206c2a", + "createdTime": "2022-11-16T08:38:57.54Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "32ae7475-7d35-4bb8-8672-8f225babd142", + "createdTime": "2022-11-16T08:38:56.901Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "f5edbc48-f95e-43a6-81a1-829b38a51200", + "createdTime": "2022-11-16T08:38:56.029Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "323dd22a-2488-4963-84cd-b59c5721404d", + "createdTime": "2022-11-16T08:34:45.575Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "653386ef-b866-4cf4-9307-9de4e85a391b", + "createdTime": "2022-11-16T08:34:44.768Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "b5894399-94ae-4210-9c03-a5d557de1534", + "createdTime": "2022-11-16T08:34:44.121Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=20" + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json index 9e21da9a573ab..c348632126713 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsAdvisorClientBuilderTest.clientBuilderWithNullServiceVersion[1].json @@ -1,224 +1,411 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "caa13e0e-17e3-4231-b0cc-3f2b73789b65", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "51", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0a618996-d370-4ce3-b385-a57c7365d7bd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "24e86c83-927c-4faa-a96c-d28f4437f790", + "Content-Length": "3663", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "274", + "x-ms-region": "West US 2", + "X-Request-ID": "24e86c83-927c-4faa-a96c-d28f4437f790" + }, + "ResponseBody": { + "value": [ + { + "feedbackId": "2e157fbc-34ab-422e-aa8e-3133323a4c61", + "createdTime": "2023-03-08T23:53:53.675Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2020-01-01T00:00:00Z", + "endTime": "2020-09-09T00:00:00Z", + "value": { + "changePointValue": "AutoDetect" + } + }, + { + "feedbackId": "e4a4c55e-486d-46dc-a857-75bbb9c30c3c", + "createdTime": "2022-11-17T08:28:26.451Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "68e2b300-d70c-4994-b565-4cc155b277b3", + "createdTime": "2022-11-17T08:28:25.817Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "2eb51c14-af15-4b9e-9410-6927db36d501", + "createdTime": "2022-11-17T08:28:25.188Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "6499b105-3d22-4bd4-98ec-8527ffd144af", + "createdTime": "2022-11-17T08:28:24.161Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "8f7537f4-555a-449f-b661-09c20ca56739", + "createdTime": "2022-11-17T08:28:17.646Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "371ebae3-fb38-4833-b786-09d310e79c03", + "createdTime": "2022-11-17T08:28:16.894Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "40e31831-31a0-4da1-9c45-544a01085442", + "createdTime": "2022-11-17T08:28:15.998Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "20923f71-36c5-4785-b743-e811927c2643", + "createdTime": "2022-11-17T08:28:16.046Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "411a192d-a69c-40e8-93ba-4e7ffa901fbe", + "createdTime": "2022-11-17T08:28:15.39Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=10" + } }, - "Response" : { - "x-request-id" : "15a6fafd-24b1-4208-afe9-e4f54c1f63cf", - "content-length" : "3818", - "x-envoy-upstream-service-time" : "212", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "15a6fafd-24b1-4208-afe9-e4f54c1f63cf", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"19d58618-9c1e-4635-9994-347ed75688a7\",\"createdTime\":\"2022-04-08T23:35:56.83Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"084553f4-8aba-49d2-87dc-8b742b3af6d4\",\"createdTime\":\"2022-04-08T23:35:55.917Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"6b7e36c0-8c1f-497c-8dae-344b193cde4d\",\"createdTime\":\"2022-04-08T23:35:55.196Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"52e77863-c8cf-4a4a-83ec-8064af10344b\",\"createdTime\":\"2022-04-08T23:35:53.277Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a2085296-415d-4ed1-8c46-c8de65d7c8ca\",\"createdTime\":\"2022-04-08T23:35:52.549Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"b0ebd182-a6d3-4ecd-8b09-298a22e567f0\",\"createdTime\":\"2022-04-08T23:35:51.822Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"913cda7e-de3b-4690-9a02-47fe62e9e424\",\"createdTime\":\"2022-04-08T23:35:51.338Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"48965322-9d27-4d88-8378-edee9860be5c\",\"createdTime\":\"2022-04-08T23:35:50.616Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"a3307c4c-e99c-4e1e-9424-014f9e6f5757\",\"createdTime\":\"2022-04-08T23:35:49.548Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"60f60f09-f8e4-4d58-b759-439bed5b9953\",\"createdTime\":\"2022-04-08T23:35:48.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10\"}", - "Date" : "Fri, 08 Apr 2022 23:50:05 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=10", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9463851c-e632-4a12-ba7c-1b42f050fe22", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2b2a91d7-e86e-4dd1-a1ab-74161cd2b506", - "content-length" : "3877", - "x-envoy-upstream-service-time" : "264", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2b2a91d7-e86e-4dd1-a1ab-74161cd2b506", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"d013b8af-e355-46f3-8f02-2fdbcdc864c6\",\"createdTime\":\"2022-04-08T23:35:47.851Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"823e82f2-59b7-4dd8-9642-ad959c3bcbe4\",\"createdTime\":\"2022-04-08T23:35:47.247Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"0581672b-3b8c-4038-befd-8de9ce6afdaf\",\"createdTime\":\"2022-04-08T23:35:45.079Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"8f6fd703-5951-445c-8ef7-74faa1fb1b79\",\"createdTime\":\"2022-04-08T23:35:44.193Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"81d2c3b9-e8d0-4292-895a-4b4998f7c037\",\"createdTime\":\"2022-04-08T23:35:43.264Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef29c76f-f705-4175-882f-de69bb0c5756\",\"createdTime\":\"2022-04-08T23:35:42.709Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96b963eb-8a09-4249-b94e-8c2d71ef1416\",\"createdTime\":\"2022-04-08T23:35:27.049Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"133b6e9f-5050-45d8-b924-aa14a77f3986\",\"createdTime\":\"2022-04-08T23:35:25.5Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"bd795eaf-342e-4d46-8239-8822fd638582\",\"createdTime\":\"2022-04-08T23:34:58.033Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ade49d58-37e8-4c70-a61f-a684da1a1254\",\"createdTime\":\"2022-04-08T23:34:56.863Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20\"}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=20", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "af3934cd-3029-4b71-b7a8-b8d7ebcdf361", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d7255863-f5da-4b17-a505-90ae90205a6d", - "content-length" : "3871", - "x-envoy-upstream-service-time" : "260", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d7255863-f5da-4b17-a505-90ae90205a6d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"e1426bfb-06ee-436f-be1f-fb8fc1ff14c9\",\"createdTime\":\"2022-04-08T23:34:56.327Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e26d6b92-e82f-4d7c-8661-3f464e68c43d\",\"createdTime\":\"2022-04-08T23:34:54.68Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d3f87537-7467-4290-9ace-4b0ad3a162a5\",\"createdTime\":\"2022-04-08T23:34:54.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"c2105cb6-4abc-42b7-b445-b1d305271a9e\",\"createdTime\":\"2022-04-08T23:34:53.212Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f73f5db7-8009-4be4-b3e0-f6d709c783cd\",\"createdTime\":\"2022-04-08T23:34:52.71Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"76c2a0e1-51f0-4371-b73d-67542d433ca9\",\"createdTime\":\"2022-04-08T23:34:52.129Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"55e3f57a-6cb5-4458-b68d-f6133c4bfe75\",\"createdTime\":\"2022-04-08T23:34:51.35Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"f522c9de-25c7-41d5-b6d9-3feef6433110\",\"createdTime\":\"2022-04-08T23:34:50.684Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"55386b84-036f-4ddd-9e72-6f2d1c7cac0a\",\"createdTime\":\"2022-04-08T23:34:49.875Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"e746aadd-ee5a-47e0-a304-b80a6f7c9421\",\"createdTime\":\"2022-04-08T23:34:49.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30\"}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=30", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "61bec237-2545-41f3-ab46-27b590455b52", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "1ef4512e-7e46-4c9f-b083-eeb0a88adf67", - "content-length" : "3873", - "x-envoy-upstream-service-time" : "175", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1ef4512e-7e46-4c9f-b083-eeb0a88adf67", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"0de1d115-a1ae-4bde-a9c6-0ef0772ad48b\",\"createdTime\":\"2022-04-08T23:34:47.602Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"39c34acd-33c0-4a7a-ae05-4d55e65c0df9\",\"createdTime\":\"2022-04-08T23:34:46.91Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"9d3e5ccd-7b41-4c08-b825-a3e5b80d0774\",\"createdTime\":\"2022-04-08T23:34:46.252Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"2d24fcf2-d2d0-45ff-a7ce-0d57a45fea1d\",\"createdTime\":\"2022-04-08T23:34:45.662Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7408c9dc-f995-499b-87d2-56e702e15094\",\"createdTime\":\"2022-04-08T23:34:44.971Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"01f4eb17-63c2-4d9b-81ca-f778663f120f\",\"createdTime\":\"2022-04-08T23:34:44.072Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"c9383859-6932-4d0a-9503-22c0090ef1bf\",\"createdTime\":\"2022-04-08T23:32:39.958Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"f3c632e3-95df-41ed-a352-9c262acc6f14\",\"createdTime\":\"2022-04-08T23:32:39.047Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"86bdc4b5-4265-4233-a39d-78dd9775b78e\",\"createdTime\":\"2022-04-08T23:32:38.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6126cc7e-6ea5-48f8-a773-bb69170265a4\",\"createdTime\":\"2022-04-08T23:32:36.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=40", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "eeeabddf-c446-469a-904a-07154d9b8361", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2991d238-3755-44ff-95fb-519f8f4483db", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "156", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2991d238-3755-44ff-95fb-519f8f4483db", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"52aa39ce-9c14-48d2-919e-b78f93c1b3c0\",\"createdTime\":\"2022-04-08T23:32:36.272Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"ef7cdbf0-23e7-46ee-a9f1-addaeaa85215\",\"createdTime\":\"2022-04-08T23:32:35.516Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96259f3c-ca43-45d3-b117-f145ebe2a7db\",\"createdTime\":\"2022-04-08T23:32:34.866Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"7258d11d-c8fc-4824-b155-a2a31de861ed\",\"createdTime\":\"2022-04-08T23:32:34.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dcc4c77c-ee9a-453a-83b1-5a5a43513207\",\"createdTime\":\"2022-04-08T23:32:33.217Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d91c1589-f30e-4a64-a884-05f20f5e1743\",\"createdTime\":\"2022-04-08T23:32:32.469Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"ffec6a95-f16d-4f7e-9d72-146f70c11df3\",\"createdTime\":\"2022-04-08T23:32:31.627Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21025dab-a80e-40ae-ad8f-39eb7259a50d\",\"createdTime\":\"2022-04-08T23:32:30.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"058baa11-2363-4b40-9e63-78e583e6f30e\",\"createdTime\":\"2022-04-08T23:32:29.453Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6fbe1f22-69a8-4ea1-a8ff-66f673a29cdf\",\"createdTime\":\"2022-04-08T23:32:28.649Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=50", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a17e5e9a-e834-4ace-b662-b823722dc6df", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "51d92522-f969-4e29-a1ce-f24174a96bd2", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "135", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "51d92522-f969-4e29-a1ce-f24174a96bd2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"b029b396-c087-4cc8-b1b7-cedad2e5229e\",\"createdTime\":\"2022-04-08T23:32:27.88Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"5369dd55-0213-4680-ade5-97ea60ca34d2\",\"createdTime\":\"2022-04-08T23:32:27.305Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"96f43ca5-163b-4184-af37-cf0d9977cdea\",\"createdTime\":\"2022-04-08T23:32:26.278Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"7c43a067-66d1-48e5-ba23-16b157a2d467\",\"createdTime\":\"2022-04-08T23:32:25.312Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"ef04270e-5a1e-4d17-8aa2-107010f4d3d1\",\"createdTime\":\"2022-04-08T23:31:53.466Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"99b24324-81a0-4f48-94e8-3cea1a6fc188\",\"createdTime\":\"2022-04-08T23:31:52.648Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"bb8a48b4-5d76-40cd-ad80-4a39aff0d795\",\"createdTime\":\"2022-04-08T23:31:52.116Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"563f657c-3c49-48ee-a721-5152b5c0e742\",\"createdTime\":\"2022-04-08T23:31:50.719Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"5941049b-2b1c-45cb-9538-d6647d803e17\",\"createdTime\":\"2022-04-08T23:31:49.849Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"eff24166-c73c-4a97-8d20-69d37e07fda4\",\"createdTime\":\"2022-04-08T23:31:49.199Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=60", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9b14606a-f5c1-4b1e-8260-2626f9e38bcb", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "fb2eb112-edb6-4a9a-8f4b-a7ecb303e572", - "content-length" : "3878", - "x-envoy-upstream-service-time" : "113", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fb2eb112-edb6-4a9a-8f4b-a7ecb303e572", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"b026b79f-adf6-493e-8c1b-54aa5260a8ec\",\"createdTime\":\"2022-04-08T23:31:48.67Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"64d0c735-5392-41a2-9bcf-7477628f441a\",\"createdTime\":\"2022-04-08T23:31:47.983Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"aa28ae0d-3179-495a-b3fe-d2a28d60b155\",\"createdTime\":\"2022-04-08T23:31:47.012Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"65fd64c9-19c8-44b3-844a-12c5a6c5f586\",\"createdTime\":\"2022-04-08T23:31:46.295Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"fb7bdcaa-6058-4c16-b26a-303258d2af5d\",\"createdTime\":\"2022-04-08T23:31:45.389Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"f16afdc4-7b3a-4c4f-ad50-bcbae3f47bb8\",\"createdTime\":\"2022-04-08T23:31:44.751Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"d347c52f-9b5a-4420-a68c-eac3ddfd8e5a\",\"createdTime\":\"2022-04-08T23:31:43.309Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"43a5c5dc-8579-4303-ae67-720254c4efd9\",\"createdTime\":\"2022-04-08T23:31:42.271Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1efd6a02-8510-40db-a17c-9b36add61b58\",\"createdTime\":\"2022-04-08T23:31:41.582Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"3c7ee77b-1afd-465a-92df-bfb1ee252e98\",\"createdTime\":\"2022-04-08T23:31:40.972Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=70", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "29ee479e-1cef-4b74-8be4-e8176f253241", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "7e9a2580-089e-4985-a68f-33cba5780b6a", - "content-length" : "3939", - "x-envoy-upstream-service-time" : "150", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7e9a2580-089e-4985-a68f-33cba5780b6a", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"fa486d03-12f1-447d-b16a-a9273afc1b46\",\"createdTime\":\"2022-04-08T23:31:40.133Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e4b852f9-a765-489b-b057-abb2949cd140\",\"createdTime\":\"2022-04-08T23:31:39.032Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"b13f3eac-bbf8-4d73-835d-3a0ba69164a3\",\"createdTime\":\"2022-04-08T23:18:22.793Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"53c46c70-7cac-449b-9d44-cbf2f0e6e4ae\",\"createdTime\":\"2022-04-08T23:18:22.19Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"fbf43319-b8eb-42fa-be49-8b5a7b0ced94\",\"createdTime\":\"2022-04-08T23:18:21.419Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"edf921bb-911e-4b7a-98f8-8c5e046a4036\",\"createdTime\":\"2022-04-08T23:18:22.028Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"21e61889-8573-44c5-8c95-e8e2c63f4e4a\",\"createdTime\":\"2022-04-08T23:18:21.026Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"552d4a8e-261f-4742-8584-77c0454b5c06\",\"createdTime\":\"2022-04-08T23:18:20.367Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"dd06a900-2206-49ef-a6a2-842fe2b8f7d2\",\"createdTime\":\"2022-04-08T23:18:20.279Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"4888a657-4326-4f56-a952-3151926a4e61\",\"createdTime\":\"2022-04-08T23:18:19.609Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80\"}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=80", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "8f1c859c-eff0-4991-b10d-69c58e3c8966", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "1aa7daeb-319e-42d0-9ba6-cf95db13de02", - "content-length" : "3815", - "x-envoy-upstream-service-time" : "156", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "1aa7daeb-319e-42d0-9ba6-cf95db13de02", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"791a78ed-4d3f-4c14-9ab6-291278e1c3eb\",\"createdTime\":\"2022-04-08T23:18:19.251Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"373410f8-0e22-4921-bd46-ef0fe0d6f826\",\"createdTime\":\"2022-04-08T23:18:18.336Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}},{\"feedbackId\":\"4529c2d6-169a-4dc0-961c-e9b07d1508c4\",\"createdTime\":\"2022-04-08T23:18:18.348Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"e8a85b3b-58bf-42fe-9b52-f053f1ad1d7f\",\"createdTime\":\"2022-04-08T23:18:17.17Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"36b612ee-95a9-43ac-8cf9-87b7e984bfd6\",\"createdTime\":\"2022-04-08T23:18:16.362Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1dc0d9f5-5e03-4ab2-b6ca-47c712b83327\",\"createdTime\":\"2022-04-08T23:18:15.529Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"de65ffa7-b9ee-4a35-b909-b367e99b7f59\",\"createdTime\":\"2022-04-08T23:18:14.334Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dbed043d-bdc7-490a-95d1-e09751f50d8f\",\"createdTime\":\"2022-04-08T23:18:13.396Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"6f4561a1-b4bd-4201-8aaa-1dc6ae180e00\",\"createdTime\":\"2022-04-08T23:18:12.125Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"edf6a9e1-a95b-4ffd-b368-a45e7c5d5e5a\",\"createdTime\":\"2022-04-08T23:18:11.303Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=90", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fd35cbb1-c2c2-46ef-8592-a110f67a8327", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "6cd933ee-4712-4e0f-9ec5-9e45118c9550", - "content-length" : "3882", - "x-envoy-upstream-service-time" : "168", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6cd933ee-4712-4e0f-9ec5-9e45118c9550", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"feedbackId\":\"176a3fc9-4d5f-41af-99fe-2d3b2b3da291\",\"createdTime\":\"2022-04-06T02:28:57.657Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"77affbd3-e0e1-4746-b3b3-affef608357f\",\"createdTime\":\"2022-04-06T02:28:57.476Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"89b4c916-1a43-4f0c-b9de-d821652d78e9\",\"createdTime\":\"2022-04-06T02:28:56.022Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"dfe47f73-e91d-46d1-a5a6-abd53210da01\",\"createdTime\":\"2022-04-06T02:28:56.106Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"1cbb0477-fda0-4cba-8a99-56aac23dfced\",\"createdTime\":\"2022-04-06T02:28:55.955Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Anomaly\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"anomalyValue\":\"NotAnomaly\"}},{\"feedbackId\":\"441e8afd-43d3-4065-81f6-cc1b7a582cb6\",\"createdTime\":\"2022-04-06T02:28:55.786Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"8db09894-03e4-49d3-b2f7-17c55752eee1\",\"createdTime\":\"2022-04-06T02:28:55.54Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"d054434f-b53f-478d-89f5-92c9287fceb3\",\"createdTime\":\"2022-04-06T02:28:55.117Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Comment\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"commentValue\":\"Not an anomaly.\"}},{\"feedbackId\":\"dccc35c4-3935-4990-b47a-d7ad3625be2e\",\"createdTime\":\"2022-04-06T02:28:53.993Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"ChangePoint\",\"startTime\":\"2021-08-05T00:00:00Z\",\"endTime\":\"2021-08-07T00:00:00Z\",\"value\":{\"changePointValue\":\"AutoDetect\"}},{\"feedbackId\":\"0732d268-644d-4362-88d5-08848773f247\",\"createdTime\":\"2022-04-06T02:28:53.801Z\",\"userPrincipal\":\"savaity@microsoft.com\",\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimensionFilter\":{\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"feedbackType\":\"Period\",\"value\":{\"periodType\":\"AutoDetect\",\"periodValue\":3}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10&$skip=100\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=10", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "51", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9078c0cb-60e6-4e27-8dc6-50a9c97246bf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9d429c32-147c-40de-91fd-d9ae74ed3897", + "Content-Length": "3712", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "209", + "x-ms-region": "West US 2", + "X-Request-ID": "9d429c32-147c-40de-91fd-d9ae74ed3897" + }, + "ResponseBody": { + "value": [ + { + "feedbackId": "7e44f1f2-73e5-4da4-b6e3-6a232a1c341c", + "createdTime": "2022-11-17T08:28:14.714Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "e586b348-5711-4a75-bf7b-1557bce2897f", + "createdTime": "2022-11-17T08:28:14.641Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "42c85de4-7b27-42ca-8185-a29d5525c45a", + "createdTime": "2022-11-17T08:28:13.473Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "a6e7e725-7ed7-42f6-a6fe-badec96e46bb", + "createdTime": "2022-11-16T08:38:58.346Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "f9c117b2-ce5e-461e-b17b-041683206c2a", + "createdTime": "2022-11-16T08:38:57.54Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "32ae7475-7d35-4bb8-8672-8f225babd142", + "createdTime": "2022-11-16T08:38:56.901Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + }, + { + "feedbackId": "f5edbc48-f95e-43a6-81a1-829b38a51200", + "createdTime": "2022-11-16T08:38:56.029Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Anomaly", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "anomalyValue": "NotAnomaly" + } + }, + { + "feedbackId": "323dd22a-2488-4963-84cd-b59c5721404d", + "createdTime": "2022-11-16T08:34:45.575Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Period", + "value": { + "periodType": "AssignValue", + "periodValue": 2 + } + }, + { + "feedbackId": "653386ef-b866-4cf4-9307-9de4e85a391b", + "createdTime": "2022-11-16T08:34:44.768Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "Comment", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "commentValue": "comment" + } + }, + { + "feedbackId": "b5894399-94ae-4210-9c03-a5d557de1534", + "createdTime": "2022-11-16T08:34:44.121Z", + "userPrincipal": "REDACTED.microsoft.com", + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimensionFilter": { + "dimension": { + "Dim1": "USD" + } + }, + "feedbackType": "ChangePoint", + "startTime": "2022-03-01T00:00:00Z", + "endTime": "2022-09-29T00:00:00Z", + "value": { + "changePointValue": "NotChangePoint" + } + } + ], + "@nextLink": "https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/feedback/metric/query?$maxpagesize=10\u0026$skip=20" + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json index 2dc55fe80d72d..72c0ff5934ae7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricDimensionValues[1].json @@ -1,26 +1,42 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/dimension/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d7b358df-eacb-4ff3-98ac-302485209b9e", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "98218441-d3d1-443e-ba2c-d5e473f173be", - "content-length" : "33", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "98218441-d3d1-443e-ba2c-d5e473f173be", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[\"__SUM__\",\"JPN\",\"USD\"]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/dimension/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "24", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "6366ebc9-7628-4c87-b2ed-6460eba82ae8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dimensionName": "Dim1" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2061d56a-0fd0-49ab-9dcf-205fcf9d6108", + "Content-Length": "33", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "106", + "x-ms-region": "West US 2", + "X-Request-ID": "2061d56a-0fd0-49ab-9dcf-205fcf9d6108" + }, + "ResponseBody": { + "value": [ + "JPN", + "__SUM__", + "USD" + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json index a758d0f0ba872..5913e040d7e9b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricEnrichmentStatus[1].json @@ -1,26 +1,40 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/status/enrichment/anomalyDetection/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d90e47b4-b303-45c1-a9e1-059a2b7324b9", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "5b293539-57c5-48ed-9f3e-ace59cd73f18", - "content-length" : "29", - "x-envoy-upstream-service-time" : "343", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5b293539-57c5-48ed-9f3e-ace59cd73f18", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[],\"@nextLink\":null}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/status/enrichment/anomalyDetection/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b68b374e-869c-4230-8ec8-e6bcb2fca641", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2021-10-01T00:00:00Z", + "endTime": "2021-10-30T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8ce3c3c4-ff35-411b-854a-5f5b13af3e1a", + "Content-Length": "29", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "220", + "x-ms-region": "West US 2", + "X-Request-ID": "8ce3c3c4-ff35-411b-854a-5f5b13af3e1a" + }, + "ResponseBody": { + "value": [], + "@nextLink": null + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json index dd75734b614f0..5c7c04edc2ded 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesData[1].json @@ -1,26 +1,57 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/data/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "95d03d42-0277-4da0-91dc-abe09d6c0a65", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "f3d157fa-9f80-41c9-b69f-ca69a1419623", - "content-length" : "143", - "x-envoy-upstream-service-time" : "365", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f3d157fa-9f80-41c9-b69f-ca69a1419623", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"timestampList\":[],\"valueList\":[]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/data/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "107", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "b2039c41-28be-4bff-96de-10d8c9a8671e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-01-01T00:00:00Z", + "series": [ + { + "Dim1": "JPN", + "Dim2": "JP" + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3a1f1ac4-fde1-412d-830f-930048747240", + "Content-Length": "143", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "389", + "x-ms-region": "West US 2", + "X-Request-ID": "3a1f1ac4-fde1-412d-830f-930048747240" + }, + "ResponseBody": { + "value": [ + { + "id": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "timestampList": [], + "valueList": [] + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json index 19fff01982e6a..c7827ec16bf7d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitionsDimensionFilter[1].json @@ -1,26 +1,58 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a90aa7e8-a259-48fd-923d-15c81e32f66f", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "3fc54b3f-5a76-4e01-9a0d-44a4dbb9a62e", - "content-length" : "198", - "x-envoy-upstream-service-time" : "108", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3fc54b3f-5a76-4e01-9a0d-44a4dbb9a62e", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "73", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:12 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "be75a417-b6fb-4976-a44e-62dd5baae9d5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "activeSince": "2022-01-01T00:00:00Z", + "dimensionFilter": { + "Dim1": [ + "JPN" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7c55a0ed-3836-4999-a55e-a062690f22b2", + "Content-Length": "198", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "122", + "x-ms-region": "West US 2", + "X-Request-ID": "7c55a0ed-3836-4999-a55e-a062690f22b2" + }, + "ResponseBody": { + "value": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json index a3b72717d1118..2132d86d28d1d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesAsyncTest.listMetricSeriesDefinitions[1].json @@ -1,26 +1,88 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6f5d0aee-f953-4a19-ae7d-3a0a91af6dca", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "fd4de017-8e45-4aa6-bc5e-54969d6b0370", - "content-length" : "675", - "x-envoy-upstream-service-time" : "119", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fd4de017-8e45-4aa6-bc5e-54969d6b0370", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"JP\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"USD\",\"Dim2\":\"US\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"US\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"USD\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "38", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:11 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "721bf2a7-f68a-4d28-b74f-ab258b74a0b0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "activeSince": "2022-01-01T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a66097c9-8247-4e30-aaa3-780bda9da78f", + "Content-Length": "675", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "96", + "x-ms-region": "West US 2", + "X-Request-ID": "a66097c9-8247-4e30-aaa3-780bda9da78f" + }, + "ResponseBody": { + "value": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "JP" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "USD", + "Dim2": "US" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "US" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "USD", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json index 43e84cd92e5ed..299b9527a30ee 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricDimensionValues[1].json @@ -1,26 +1,42 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/dimension/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ebef4c69-b905-45a7-847f-68fd3164405f", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2e3108e5-2cc8-4a59-bfbf-d960d44585a1", - "content-length" : "33", - "x-envoy-upstream-service-time" : "103", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2e3108e5-2cc8-4a59-bfbf-d960d44585a1", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[\"__SUM__\",\"JPN\",\"USD\"]}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/dimension/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "24", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "9ca2bf6c-613b-45ac-ad4b-421c22cee731", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "dimensionName": "Dim1" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fc566d78-e861-4d30-a2dc-45656b14081b", + "Content-Length": "33", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "100", + "x-ms-region": "West US 2", + "X-Request-ID": "fc566d78-e861-4d30-a2dc-45656b14081b" + }, + "ResponseBody": { + "value": [ + "JPN", + "__SUM__", + "USD" + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json index 51156edff485d..dc3be5f6a4519 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricEnrichmentStatus[1].json @@ -1,26 +1,40 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/status/enrichment/anomalyDetection/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "eb7c207a-7a69-4180-83e2-85e57b17e7d8", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "c52b6eb1-0b58-4f54-9afe-2159c0791231", - "content-length" : "29", - "x-envoy-upstream-service-time" : "277", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c52b6eb1-0b58-4f54-9afe-2159c0791231", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[],\"@nextLink\":null}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/status/enrichment/anomalyDetection/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "69", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "2927bfec-5e4b-466a-bc8a-5bf1bd6533aa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2021-10-01T00:00:00Z", + "endTime": "2021-10-30T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b07897fb-d288-4288-8ee9-fb7bde0878d6", + "Content-Length": "29", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "327", + "x-ms-region": "West US 2", + "X-Request-ID": "b07897fb-d288-4288-8ee9-fb7bde0878d6" + }, + "ResponseBody": { + "value": [], + "@nextLink": null + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json index d601fdb304103..d8464c50bcde6 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesData[1].json @@ -1,26 +1,57 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/data/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "17c504c8-2235-4dcd-a194-4bfb9cb53ad8", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "b3dcbcd4-4ded-468c-81b4-785b7da0a668", - "content-length" : "143", - "x-envoy-upstream-service-time" : "384", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "b3dcbcd4-4ded-468c-81b4-785b7da0a668", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},\"timestampList\":[],\"valueList\":[]}]}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/data/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "107", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "936aaca0-5ecb-4b70-a749-8feaea201e92", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "startTime": "2022-01-01T00:00:00Z", + "endTime": "2022-01-01T00:00:00Z", + "series": [ + { + "Dim1": "JPN", + "Dim2": "JP" + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b5a873f7-83f9-4eee-a9dc-9a5f48fa0fbe", + "Content-Length": "143", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "423", + "x-ms-region": "West US 2", + "X-Request-ID": "b5a873f7-83f9-4eee-a9dc-9a5f48fa0fbe" + }, + "ResponseBody": { + "value": [ + { + "id": { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + "timestampList": [], + "valueList": [] + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json index ecab87380a054..5033a4befee92 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitionsDimensionFilter[1].json @@ -1,26 +1,58 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "6984f83a-fa2c-4c4a-b57d-60223badcd93", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "d13c126e-14d2-4555-9d23-941503471dbe", - "content-length" : "198", - "x-envoy-upstream-service-time" : "108", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d13c126e-14d2-4555-9d23-941503471dbe", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "73", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ee3513f4-7092-45ab-b447-7eb77bf583ee", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "activeSince": "2022-01-01T00:00:00Z", + "dimensionFilter": { + "Dim1": [ + "JPN" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f638cc49-cc3a-4364-afca-44281022377d", + "Content-Length": "198", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "159", + "x-ms-region": "West US 2", + "X-Request-ID": "f638cc49-cc3a-4364-afca-44281022377d" + }, + "ResponseBody": { + "value": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json index 8289022e56d39..0479a77ac0df2 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/MetricsSeriesTest.listMetricSeriesDefinitions[1].json @@ -1,26 +1,88 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "772aaceb-348d-448a-bd04-499bebceec3c", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "48ee8b21-3bd2-4c3f-89b9-8cff6b4459ff", - "content-length" : "675", - "x-envoy-upstream-service-time" : "159", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "48ee8b21-3bd2-4c3f-89b9-8cff6b4459ff", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"JPN\",\"Dim2\":\"JP\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"JP\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"USD\",\"Dim2\":\"US\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"US\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"USD\",\"Dim2\":\"__SUM__\"}},{\"metricId\":\"b6c0649c-0c51-4aa6-82b6-3c3b0aa55066\",\"dimension\":{\"Dim1\":\"__SUM__\",\"Dim2\":\"__SUM__\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/metrics/b6c0649c-0c51-4aa6-82b6-3c3b0aa55066/series/query", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "38", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:10 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "13a66c0e-94ad-4368-b53b-bda39a77b389", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "activeSince": "2022-01-01T00:00:00Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8856a171-e185-4158-85e4-f91ddff2c850", + "Content-Length": "675", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "171", + "x-ms-region": "West US 2", + "X-Request-ID": "8856a171-e185-4158-85e4-f91ddff2c850" + }, + "ResponseBody": { + "value": [ + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "JPN", + "Dim2": "JP" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "JP" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "USD", + "Dim2": "US" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "US" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "USD", + "Dim2": "__SUM__" + } + }, + { + "metricId": "b6c0649c-0c51-4aa6-82b6-3c3b0aa55066", + "dimension": { + "Dim1": "__SUM__", + "Dim2": "__SUM__" + } + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createEmailHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createEmailHook[1].json deleted file mode 100644 index 76c0e90508386..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createEmailHook[1].json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "917d65b5-3c6e-4f1b-a0d0-3c19923f5235", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "c0977e0b-31cb-4870-9ad3-1aa41e10ff61", - "content-length" : "0", - "x-envoy-upstream-service-time" : "350", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c0977e0b-31cb-4870-9ad3-1aa41e10ff61", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/27dba44e-f623-49c8-8ccb-8db03cef8c85" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/27dba44e-f623-49c8-8ccb-8db03cef8c85", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c43714f7-9b36-4320-8889-b73e29ffd563" - }, - "Response" : { - "x-request-id" : "a4aa454b-3755-4095-b4b3-4296b671540d", - "content-length" : "326", - "x-envoy-upstream-service-time" : "169", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a4aa454b-3755-4095-b4b3-4296b671540d", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"27dba44e-f623-49c8-8ccb-8db03cef8c85\",\"hookName\":\"9c1104fe-3389-4e27-81f0-94c983958c1a\",\"hookType\":\"Email\",\"externalLink\":\"https://github.com/Azure/azure-sdk-for-java/wiki\",\"description\":\"alert_us!\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\",\"simpleuser1@hotmail.com\"]}}", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/27dba44e-f623-49c8-8ccb-8db03cef8c85", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "fbe30aaf-8220-41b6-8f66-468d33c7d7ea" - }, - "Response" : { - "x-request-id" : "eefab7d9-5adb-4c34-8d5b-d0852fa27c0b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "eefab7d9-5adb-4c34-8d5b-d0852fa27c0b", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:10 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json index 36766c0bf9a7c..e02ebbfe267f7 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.createWebHook[1].json @@ -1,65 +1,121 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3350d3d0-7020-4262-990b-f2a8dc665908", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "324", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 22:59:56 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "30294a46-e7ca-43b2-b2f6-1f81db8e5988", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "hookType": "Webhook", + "hookName": "d44b90e5-beb5-4612-9066-bc11e01a00a6", + "description": "alert_us!", + "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", + "hookParameter": { + "endpoint": "https://httpbin.org/post", + "username": "username", + "password": "REDACTED", + "headers": { + "x-contoso-id": "123", + "x-contoso-name": "contoso" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "83d72cf3-a669-4ba1-8453-f7bf01234331", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/hooks/c55115f6-dfe2-4799-b6a3-65f57c706960", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "874", + "x-ms-region": "West US 2", + "X-Request-ID": "83d72cf3-a669-4ba1-8453-f7bf01234331" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "fd132ffc-7dab-491f-a7a3-3b2137a52868", - "content-length" : "0", - "x-envoy-upstream-service-time" : "887", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "fd132ffc-7dab-491f-a7a3-3b2137a52868", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/fe0776b8-532a-4220-b26e-6c1354bab15b" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/c55115f6-dfe2-4799-b6a3-65f57c706960", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "0af5ef6d-9448-451a-93b4-3da685a27800", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6cb5fdb5-c520-4de9-83d9-03b87dd396e6", + "Content-Length": "408", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "185", + "x-ms-region": "West US 2", + "X-Request-ID": "6cb5fdb5-c520-4de9-83d9-03b87dd396e6" + }, + "ResponseBody": { + "hookId": "c55115f6-dfe2-4799-b6a3-65f57c706960", + "hookName": "d44b90e5-beb5-4612-9066-bc11e01a00a6", + "hookType": "Webhook", + "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", + "description": "alert_us!", + "admins": [ + "REDACTED.microsoft.com" + ], + "hookParameter": { + "endpoint": "https://httpbin.org/post", + "username": "username", + "password": "REDACTED", + "headers": { + "x-contoso-id": "123", + "x-contoso-name": "contoso" + } + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/fe0776b8-532a-4220-b26e-6c1354bab15b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "f0e52826-8edc-4f27-9076-5f372cac5dc5" - }, - "Response" : { - "x-request-id" : "130849a4-2fc4-405d-9f76-c82d62568db4", - "content-length" : "405", - "x-envoy-upstream-service-time" : "168", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "130849a4-2fc4-405d-9f76-c82d62568db4", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"fe0776b8-532a-4220-b26e-6c1354bab15b\",\"hookName\":\"ce92db43-40af-4843-90ba-a3f4a6340ed3\",\"hookType\":\"Webhook\",\"externalLink\":\"https://github.com/Azure/azure-sdk-for-java/wiki\",\"description\":\"alert_us!\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\",\"username\":\"REDACTED\",\"password\":\"REDACTEDpwd!@#\",\"headers\":{\"x-contoso-id\":\"123\",\"x-contoso-name\":\"contoso\"}}}", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/fe0776b8-532a-4220-b26e-6c1354bab15b", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d3ffb342-434c-444a-b305-04cb989831e2" - }, - "Response" : { - "x-request-id" : "a03b87cf-7d0b-441a-8bc9-14098317e27b", - "content-length" : "0", - "x-envoy-upstream-service-time" : "214", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "a03b87cf-7d0b-441a-8bc9-14098317e27b", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/c55115f6-dfe2-4799-b6a3-65f57c706960", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:58 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "904e71db-7e82-4629-b6a6-3e4e8a9c9b2d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "9d128b73-8021-40de-98d5-a92647dde66f", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 22:59:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "313", + "x-ms-region": "West US 2", + "X-Request-ID": "9d128b73-8021-40de-98d5-a92647dde66f" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.testListHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.testListHook[1].json deleted file mode 100644 index 56fd1766818af..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookAsyncTest.testListHook[1].json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "70509024-bcfe-4954-8023-627a0854aae3", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "2709285d-971e-47d1-be95-c263d3aebc96", - "content-length" : "0", - "x-envoy-upstream-service-time" : "689", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "2709285d-971e-47d1-be95-c263d3aebc96", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/32674020-0fe9-47a0-a80b-c4bce13f8e2f" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/32674020-0fe9-47a0-a80b-c4bce13f8e2f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "b7734f5d-bd96-4abe-a7bd-3776723631a3" - }, - "Response" : { - "x-request-id" : "df8c13a5-f091-4ab1-9ba9-b2381ebb2741", - "content-length" : "253", - "x-envoy-upstream-service-time" : "188", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "df8c13a5-f091-4ab1-9ba9-b2381ebb2741", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"32674020-0fe9-47a0-a80b-c4bce13f8e2f\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}}", - "Date" : "Fri, 08 Apr 2022 23:50:06 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "66cafa39-67a5-403c-962b-2d267833a605", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "130fb870-bb14-49a6-b668-e8f2c48463a5", - "content-length" : "0", - "x-envoy-upstream-service-time" : "892", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "130fb870-bb14-49a6-b668-e8f2c48463a5", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/41b12022-af05-4e43-9a4f-95a884a53433" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/41b12022-af05-4e43-9a4f-95a884a53433", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "61afe13d-49e0-4132-9997-409db0355a18" - }, - "Response" : { - "x-request-id" : "7d9a6283-1983-4faf-84de-50f94995d8a5", - "content-length" : "256", - "x-envoy-upstream-service-time" : "187", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7d9a6283-1983-4faf-84de-50f94995d8a5", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"41b12022-af05-4e43-9a4f-95a884a53433\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks?hookName=java_test", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "1fa1cb5d-6726-456f-bdf6-9da1c3115edd" - }, - "Response" : { - "x-request-id" : "53600615-e0e8-4cd3-8655-7cb0d25cb748", - "content-length" : "522", - "x-envoy-upstream-service-time" : "110", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "53600615-e0e8-4cd3-8655-7cb0d25cb748", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"32674020-0fe9-47a0-a80b-c4bce13f8e2f\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}},{\"hookId\":\"41b12022-af05-4e43-9a4f-95a884a53433\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:07 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "be39e8a5-a6f1-43bd-bff1-d169c091020a" - }, - "Response" : { - "x-request-id" : "c888a3f5-a41b-4fd2-ae03-4fc2156b2efb", - "content-length" : "406", - "x-envoy-upstream-service-time" : "134", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c888a3f5-a41b-4fd2-ae03-4fc2156b2efb", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"32674020-0fe9-47a0-a80b-c4bce13f8e2f\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=1\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3dfbb918-5ce2-4595-8cd5-9eaa8d6b495a" - }, - "Response" : { - "x-request-id" : "4e07a477-0967-41ea-9ef3-b0a0bd52b6e8", - "content-length" : "409", - "x-envoy-upstream-service-time" : "135", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "4e07a477-0967-41ea-9ef3-b0a0bd52b6e8", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"41b12022-af05-4e43-9a4f-95a884a53433\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=2\"}", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=2", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d3844cda-ceb5-44c4-b1b1-cab28e48a89e" - }, - "Response" : { - "x-request-id" : "438386aa-c0d0-459b-b480-4064544bb25f", - "content-length" : "12", - "x-envoy-upstream-service-time" : "137", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "438386aa-c0d0-459b-b480-4064544bb25f", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[]}", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/32674020-0fe9-47a0-a80b-c4bce13f8e2f", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "ca59e825-980a-4680-8bc6-548955934d56" - }, - "Response" : { - "x-request-id" : "f7ce2cc5-243d-480d-acdd-698e7ea26728", - "content-length" : "0", - "x-envoy-upstream-service-time" : "216", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "f7ce2cc5-243d-480d-acdd-698e7ea26728", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:09 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/41b12022-af05-4e43-9a4f-95a884a53433", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "33f810a3-afb2-4e6a-a83b-4abc0aa7cb5b" - }, - "Response" : { - "x-request-id" : "5c9c88fc-6ca1-48fb-a31b-14289d1dcde9", - "content-length" : "0", - "x-envoy-upstream-service-time" : "225", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "5c9c88fc-6ca1-48fb-a31b-14289d1dcde9", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:08 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createEmailHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createEmailHook[1].json deleted file mode 100644 index 98214e4612fa1..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createEmailHook[1].json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "168f4160-ca85-4a77-8381-46595be0523a", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "6f8d64b1-b167-4fb8-a4b7-9d4e429157f2", - "content-length" : "0", - "x-envoy-upstream-service-time" : "199", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "6f8d64b1-b167-4fb8-a4b7-9d4e429157f2", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e0b80ef3-4445-4018-a916-f8a5a16a4da1" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e0b80ef3-4445-4018-a916-f8a5a16a4da1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "d39753f8-881d-401d-8136-e6bc20e80330" - }, - "Response" : { - "x-request-id" : "e81642ed-0638-4796-a1a0-146fa6b99169", - "content-length" : "326", - "x-envoy-upstream-service-time" : "180", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e81642ed-0638-4796-a1a0-146fa6b99169", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"e0b80ef3-4445-4018-a916-f8a5a16a4da1\",\"hookName\":\"9c1104fe-3389-4e27-81f0-94c983958c1a\",\"hookType\":\"Email\",\"externalLink\":\"https://github.com/Azure/azure-sdk-for-java/wiki\",\"description\":\"alert_us!\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\",\"simpleuser1@hotmail.com\"]}}", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/e0b80ef3-4445-4018-a916-f8a5a16a4da1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "409597fd-b847-4a42-91a7-20b40b811c49" - }, - "Response" : { - "x-request-id" : "79aa16e1-eb94-463a-a5cd-4a1ef96ce04f", - "content-length" : "0", - "x-envoy-upstream-service-time" : "209", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "79aa16e1-eb94-463a-a5cd-4a1ef96ce04f", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:15 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json index 495e967cb25e7..3ec1684b94aa2 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.createWebHook[1].json @@ -1,65 +1,121 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "a9762a54-8b94-4254-8213-459911f6d09d", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "324", + "Content-Type": "application/json", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1a03b4d0-0c0f-4995-8326-52e59e2ae734", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "hookType": "Webhook", + "hookName": "d44b90e5-beb5-4612-9066-bc11e01a00a6", + "description": "alert_us!", + "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", + "hookParameter": { + "endpoint": "https://httpbin.org/post", + "username": "username", + "password": "REDACTED", + "headers": { + "x-contoso-id": "123", + "x-contoso-name": "contoso" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "apim-request-id": "c678b5af-320f-475c-80d6-094c403d72cb", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Location": "https://REDACTED/metricsadvisor/v1.0/hooks/daf2c4f8-3296-4909-a6e6-26e1bc5d18c9", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1101", + "x-ms-region": "West US 2", + "X-Request-ID": "c678b5af-320f-475c-80d6-094c403d72cb" + }, + "ResponseBody": null }, - "Response" : { - "x-request-id" : "d16bb6f4-f190-4bc4-b7b0-e5a32d79d098", - "content-length" : "0", - "x-envoy-upstream-service-time" : "902", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d16bb6f4-f190-4bc4-b7b0-e5a32d79d098", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/52142a8a-f815-44cd-a3b8-a2f3872fbd24" + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/daf2c4f8-3296-4909-a6e6-26e1bc5d18c9", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:03 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "ed3c9882-3f67-406b-9e40-f4300d1b7803", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b3615b6c-06c7-4af1-9bac-23c0c820fa80", + "Content-Length": "408", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 17 Apr 2023 23:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "185", + "x-ms-region": "West US 2", + "X-Request-ID": "b3615b6c-06c7-4af1-9bac-23c0c820fa80" + }, + "ResponseBody": { + "hookId": "daf2c4f8-3296-4909-a6e6-26e1bc5d18c9", + "hookName": "d44b90e5-beb5-4612-9066-bc11e01a00a6", + "hookType": "Webhook", + "externalLink": "https://github.com/Azure/azure-sdk-for-java/wiki", + "description": "alert_us!", + "admins": [ + "REDACTED.microsoft.com" + ], + "hookParameter": { + "endpoint": "https://httpbin.org/post", + "username": "username", + "password": "REDACTED", + "headers": { + "x-contoso-id": "123", + "x-contoso-name": "contoso" + } + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/52142a8a-f815-44cd-a3b8-a2f3872fbd24", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "dda3d3fe-81a5-4e4f-8476-5cf9d836735d" - }, - "Response" : { - "x-request-id" : "e55618aa-fb9a-4d33-b5a4-1273a1948f66", - "content-length" : "405", - "x-envoy-upstream-service-time" : "167", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "e55618aa-fb9a-4d33-b5a4-1273a1948f66", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"52142a8a-f815-44cd-a3b8-a2f3872fbd24\",\"hookName\":\"ce92db43-40af-4843-90ba-a3f4a6340ed3\",\"hookType\":\"Webhook\",\"externalLink\":\"https://github.com/Azure/azure-sdk-for-java/wiki\",\"description\":\"alert_us!\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\",\"username\":\"REDACTED\",\"password\":\"REDACTEDpwd!@#\",\"headers\":{\"x-contoso-id\":\"123\",\"x-contoso-name\":\"contoso\"}}}", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/52142a8a-f815-44cd-a3b8-a2f3872fbd24", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e1699fd-c659-48a5-bb45-542df3650a16" - }, - "Response" : { - "x-request-id" : "d6fc6772-3d4c-4eeb-9612-adb5b5aa433d", - "content-length" : "0", - "x-envoy-upstream-service-time" : "207", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "d6fc6772-3d4c-4eeb-9612-adb5b5aa433d", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:16 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/metricsadvisor/v1.0/hooks/daf2c4f8-3296-4909-a6e6-26e1bc5d18c9", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:04 GMT", + "Ocp-Apim-Subscription-Key": "REDACTED", + "User-Agent": "azsdk-java-azure-ai-metricsadvisor/1.1.13 (11.0.9; Windows 10; 10.0)", + "x-api-key": "REDACTED", + "x-ms-client-request-id": "1042bbb7-3afa-4c0c-9650-4e6163796231", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "apim-request-id": "c0c2bab2-4801-45a2-b5e1-e41d221e338b", + "Content-Length": "0", + "Date": "Mon, 17 Apr 2023 23:00:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "431", + "x-ms-region": "West US 2", + "X-Request-ID": "c0c2bab2-4801-45a2-b5e1-e41d221e338b" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.testListHook[1].json b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.testListHook[1].json deleted file mode 100644 index c165e03fd10ef..0000000000000 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/resources/session-records/NotificationHookTest.testListHook[1].json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "2cc091d9-1c27-436a-bb86-84d2b20af9cd", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "86ed382d-b3cb-49eb-b8ba-ae50c43faba9", - "content-length" : "0", - "x-envoy-upstream-service-time" : "200", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "86ed382d-b3cb-49eb-b8ba-ae50c43faba9", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:11 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/85aac020-6f4c-4dab-8ff2-4a7d01f01cba" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/85aac020-6f4c-4dab-8ff2-4a7d01f01cba", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f3877aa-1fac-4a73-b3cd-26327ca8d849" - }, - "Response" : { - "x-request-id" : "91efce36-548b-49e3-9bff-29e4b7850712", - "content-length" : "253", - "x-envoy-upstream-service-time" : "211", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "91efce36-548b-49e3-9bff-29e4b7850712", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"85aac020-6f4c-4dab-8ff2-4a7d01f01cba\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "517c8f82-8983-407d-9fff-45acf951bb92", - "Content-Type" : "application/json" - }, - "Response" : { - "x-request-id" : "efd54a0a-5750-4fb6-b529-8b34b496a3e9", - "content-length" : "0", - "x-envoy-upstream-service-time" : "287", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "efd54a0a-5750-4fb6-b529-8b34b496a3e9", - "retry-after" : "0", - "StatusCode" : "201", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Location" : "https://ga-metrics-advisor.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/d3457bd2-6064-4267-a162-2f34a9a1b388" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/d3457bd2-6064-4267-a162-2f34a9a1b388", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "c0f98235-1ca8-4efb-8114-c8620faf4d68" - }, - "Response" : { - "x-request-id" : "85acce46-5c70-4df9-8f89-e4e9656f8209", - "content-length" : "256", - "x-envoy-upstream-service-time" : "165", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "85acce46-5c70-4df9-8f89-e4e9656f8209", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"hookId\":\"d3457bd2-6064-4267-a162-2f34a9a1b388\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks?hookName=java_test", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "bedc33cb-814d-4bcd-ae72-79cd813466f5" - }, - "Response" : { - "x-request-id" : "657d47ab-78a9-4936-b11f-cdba6918b6d4", - "content-length" : "522", - "x-envoy-upstream-service-time" : "123", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "657d47ab-78a9-4936-b11f-cdba6918b6d4", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"85aac020-6f4c-4dab-8ff2-4a7d01f01cba\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}},{\"hookId\":\"d3457bd2-6064-4267-a162-2f34a9a1b388\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}]}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "82eabacc-b1c3-4ea7-b4ee-624a8aff6112" - }, - "Response" : { - "x-request-id" : "7ebc7cae-d6a3-4237-aeed-37065f0755c2", - "content-length" : "406", - "x-envoy-upstream-service-time" : "131", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7ebc7cae-d6a3-4237-aeed-37065f0755c2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"85aac020-6f4c-4dab-8ff2-4a7d01f01cba\",\"hookName\":\"java_test_73b807dd-a11e-4706-bff3-7389845abd44\",\"hookType\":\"Email\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"toList\":[\"simpleuser0@hotmail.com\"]}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=1\"}", - "Date" : "Fri, 08 Apr 2022 23:50:12 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=1", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "7360ed4d-a0aa-4c54-9316-472e1b5c335c" - }, - "Response" : { - "x-request-id" : "69c498e2-f257-4772-9194-eedd99689ba2", - "content-length" : "409", - "x-envoy-upstream-service-time" : "116", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "69c498e2-f257-4772-9194-eedd99689ba2", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[{\"hookId\":\"d3457bd2-6064-4267-a162-2f34a9a1b388\",\"hookName\":\"java_test_b47bfbd4-973a-4c1d-bad6-9c0c0913989f\",\"hookType\":\"Webhook\",\"externalLink\":\"\",\"description\":\"\",\"admins\":[\"savaity@microsoft.com\"],\"hookParameter\":{\"endpoint\":\"https://httpbin.org/post\"}}],\"@nextLink\":\"https://ga-metrics-advisor.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=2\"}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.cognitiveservices.azure.com:443/metricsadvisor/v1.0/hooks?hookName=java_test&$maxpagesize=1&$skip=2", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "e6354626-49af-41fa-95f4-f609cb0d07d7" - }, - "Response" : { - "x-request-id" : "98bb9895-28b4-4b66-a3d0-4133beeb3c17", - "content-length" : "12", - "x-envoy-upstream-service-time" : "101", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "98bb9895-28b4-4b66-a3d0-4133beeb3c17", - "retry-after" : "0", - "StatusCode" : "200", - "Body" : "{\"value\":[]}", - "Date" : "Fri, 08 Apr 2022 23:50:13 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/85aac020-6f4c-4dab-8ff2-4a7d01f01cba", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "9b4353d8-af53-4fdc-9efa-552078df59c0" - }, - "Response" : { - "x-request-id" : "c0511be4-459b-4206-bf49-d735d9da2a97", - "content-length" : "0", - "x-envoy-upstream-service-time" : "271", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "c0511be4-459b-4206-bf49-d735d9da2a97", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/metricsadvisor/v1.0/hooks/d3457bd2-6064-4267-a162-2f34a9a1b388", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-metricsadvisor/1.2.0-beta.1 (11.0.9; Windows 10; 10.0)", - "x-ms-client-request-id" : "0e466bf0-d847-44d2-a19f-0bfda257f0aa" - }, - "Response" : { - "x-request-id" : "3dba7f2c-d3ed-46b2-b3b1-b617b9d8f9c3", - "content-length" : "0", - "x-envoy-upstream-service-time" : "211", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "3dba7f2c-d3ed-46b2-b3b1-b617b9d8f9c3", - "retry-after" : "0", - "StatusCode" : "204", - "Date" : "Fri, 08 Apr 2022 23:50:14 GMT" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file