Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ability to define a custom AzureEnvironment. #2579

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Adding ability to define a custom AzureEnvironment.

1ade4bd
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Adding ability to define a custom AzureEnvironment. #2579

Adding ability to define a custom AzureEnvironment.
1ade4bd
Select commit
Loading
Failed to load commit list.
GitHub Actions / .NET Unit Tests succeeded Nov 29, 2024 in 0s

1471 passed, 0 failed and 0 skipped

Tests passed successfully

✅ Promitor.Tests.Unit/TestResults/test-results.trx

1471 tests were completed in 13s with 1471 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Promitor.Tests.Unit.Agents.Core.Extensions.ConfigurationBuilder.AddRequiredYamlFileTests 2✅ 34ms
Promitor.Tests.Unit.Agents.Core.UserAgentTest 5✅ 21ms
Promitor.Tests.Unit.Agents.ResourceDiscovery.AzureResourceGroupsDiscoveryBackgroundJobTests 2✅ 23ms
Promitor.Tests.Unit.Agents.ResourceDiscovery.AzureResourceRepositoryTests 2✅ 31ms
Promitor.Tests.Unit.Azure.ArmUserAgentTests 7✅ 25ms
Promitor.Tests.Unit.Azure.AzureAuthenticationFactoryUnitTests 37✅ 220ms
Promitor.Tests.Unit.Azure.AzureAuthenticationInfoUnitTests 12✅ 40ms
Promitor.Tests.Unit.Azure.AzureCloudUnitTests 10✅ 62ms
Promitor.Tests.Unit.Azure.AzureEnvironmentUnitTests 4✅ 30ms
Promitor.Tests.Unit.Builders.Queries.GraphQueryBuilderTests 16✅ 11ms
Promitor.Tests.Unit.Clients.AtlassianStatuspageClientTests 5✅ 148ms
Promitor.Tests.Unit.Configuration.RuntimeConfigurationUnitTest 41✅ 3s
Promitor.Tests.Unit.Core.Extensions.MeasureMetricExtensionsTests 1✅ 1ms
Promitor.Tests.Unit.Core.Metrics.MetricAggregationTypeConverterTest 2✅ 74ms
Promitor.Tests.Unit.Core.Metrics.ScrapeDefinitionBatchPropertiesTest 8✅ 260ms
Promitor.Tests.Unit.Core.PagedResultTests 5✅ 2ms
Promitor.Tests.Unit.Core.Scraping.Batching.AzureResourceDefinitionBatchingTests 6✅ 82ms
Promitor.Tests.Unit.Core.Scraping.Configuration.Model.Metrics.MetricDefinitionTests 9✅ 7ms
Promitor.Tests.Unit.Discovery.Query.AppServiceResourceDiscoveryQueryUnitTest 8✅ 50ms
Promitor.Tests.Unit.Discovery.Query.SqlDatabaseResourceDiscoveryQueryUnitTest 3✅ 28ms
Promitor.Tests.Unit.Discovery.Query.SqlElasticPoolDiscoveryQueryUnitTest 3✅ 15ms
Promitor.Tests.Unit.Discovery.Query.SynapseApacheSparkPoolDiscoveryQueryUnitTest 3✅ 13ms
Promitor.Tests.Unit.Discovery.Query.SynapseSqlPoolDiscoveryQueryUnitTest 3✅ 47ms
Promitor.Tests.Unit.Metrics.MeasuredMetricTest 2✅ 22ms
Promitor.Tests.Unit.Metrics.MetricSinkWriterTests 11✅ 127ms
Promitor.Tests.Unit.Metrics.Sinks.AtlassianStatuspageMetricSinkTests 8✅ 339ms
Promitor.Tests.Unit.Metrics.Sinks.PrometheusScrapingEndpointMetricSinkTest 17✅ 824ms
Promitor.Tests.Unit.Metrics.Sinks.StatsDMetricSinkTests 9✅ 367ms
Promitor.Tests.Unit.Prometheus.LabelTransformerTests 2✅ 9ms
Promitor.Tests.Unit.Prometheus.StringExtensionTests 3✅ 27ms
Promitor.Tests.Unit.Serialization.AutoMapperTests 1✅ 66ms
Promitor.Tests.Unit.Serialization.DeserializationContextTests 4✅ 16ms
Promitor.Tests.Unit.Serialization.DeserializerTests.DeserializationTests 15✅ 150ms
Promitor.Tests.Unit.Serialization.DeserializerTests.ValidationTests 12✅ 99ms
Promitor.Tests.Unit.Serialization.ErrorReporterTests 11✅ 44ms
Promitor.Tests.Unit.Serialization.FieldDeserializationInfoBuilderTests.DefaultTests 3✅ 9ms
Promitor.Tests.Unit.Serialization.FieldDeserializationInfoBuilderTests.MapUsingDeserializerTests 2✅ 15ms
Promitor.Tests.Unit.Serialization.FieldDeserializationInfoBuilderTests.MapUsingTests 2✅ 9ms
Promitor.Tests.Unit.Serialization.FieldDeserializationInfoBuilderTests.RequiredTests 3✅ 9ms
Promitor.Tests.Unit.Serialization.FieldDeserializationInfoBuilderTests.SetPropertyTests 2✅ 32ms
Promitor.Tests.Unit.Serialization.FieldValidators.CronExpressionValidatorTests 4✅ 26ms
Promitor.Tests.Unit.Serialization.v1.Core.AggregationDeserializerTests 2✅ 11ms
Promitor.Tests.Unit.Serialization.v1.Core.AzureMetadataDeserializerTests 13✅ 79ms
Promitor.Tests.Unit.Serialization.v1.Core.AzureMetricConfigurationDeserializerTests 12✅ 142ms
Promitor.Tests.Unit.Serialization.v1.Core.AzureResourceDiscoveryGroupDeserializerTests 2✅ 11ms
Promitor.Tests.Unit.Serialization.v1.Core.LogAnalyticsConfigurationDeserializerTests 3✅ 46ms
Promitor.Tests.Unit.Serialization.v1.Core.MetricAggregationDeserializerTests 5✅ 86ms
Promitor.Tests.Unit.Serialization.v1.Core.MetricDefaultsDeserializerTests 5✅ 28ms
Promitor.Tests.Unit.Serialization.v1.Core.MetricDefinitionDeserializerTests 31✅ 216ms
Promitor.Tests.Unit.Serialization.v1.Core.MetricDimensionDeserializerTests 2✅ 11ms
Promitor.Tests.Unit.Serialization.v1.Core.ScrapingDeserializerTests 3✅ 14ms
Promitor.Tests.Unit.Serialization.v1.Core.SecretDeserializerTests 6✅ 24ms
Promitor.Tests.Unit.Serialization.v1.Core.V1DeserializerTests 9✅ 109ms
Promitor.Tests.Unit.Serialization.v1.Mapping.MetricDefinitionV1MappingTests 1✅ 20ms
Promitor.Tests.Unit.Serialization.v1.Providers.ApiManagementDeserializerTests 8✅ 25ms
Promitor.Tests.Unit.Serialization.v1.Providers.ApplicationGatewayDeserializerTests 7✅ 56ms
Promitor.Tests.Unit.Serialization.v1.Providers.ApplicationInsightsDeserializerTests 7✅ 25ms
Promitor.Tests.Unit.Serialization.v1.Providers.AppPlanDeserializerTests 6✅ 31ms
Promitor.Tests.Unit.Serialization.v1.Providers.AutomationAccountDeserializerTests 8✅ 56ms
Promitor.Tests.Unit.Serialization.v1.Providers.AzureFirewallDeserializerTests 6✅ 42ms
Promitor.Tests.Unit.Serialization.v1.Providers.BlobStorageDeserializerTests 6✅ 41ms
Promitor.Tests.Unit.Serialization.v1.Providers.CdnDeserializerTests 7✅ 33ms
Promitor.Tests.Unit.Serialization.v1.Providers.ContainerInstanceDeserializerTests 7✅ 52ms
Promitor.Tests.Unit.Serialization.v1.Providers.ContainerRegistryDeserializerTests 7✅ 29ms
Promitor.Tests.Unit.Serialization.v1.Providers.CosmosDbDeserializerTests 7✅ 23ms
Promitor.Tests.Unit.Serialization.v1.Providers.DataExplorerClusterDeserializerTests 7✅ 40ms
Promitor.Tests.Unit.Serialization.v1.Providers.DataFactoryDeserializerTests 9✅ 31ms
Promitor.Tests.Unit.Serialization.v1.Providers.DataShareDeserializerTests 9✅ 67ms
Promitor.Tests.Unit.Serialization.v1.Providers.DeviceProvisioningServiceDeserializerTests 6✅ 35ms
Promitor.Tests.Unit.Serialization.v1.Providers.EventHubsDeserializerTests 10✅ 76ms
Promitor.Tests.Unit.Serialization.v1.Providers.ExpressRouteCircuitDeserializerTests 7✅ 26ms
Promitor.Tests.Unit.Serialization.v1.Providers.FileStorageDeserializerTests 6✅ 54ms
Promitor.Tests.Unit.Serialization.v1.Providers.FrontDoorDeserializerTests 7✅ 34ms
Promitor.Tests.Unit.Serialization.v1.Providers.FunctionAppDeserializerTests 8✅ 42ms
Promitor.Tests.Unit.Serialization.v1.Providers.GenericResourceDeserializerTests 9✅ 193ms
Promitor.Tests.Unit.Serialization.v1.Providers.IoTHubDeserializerTests 6✅ 88ms
Promitor.Tests.Unit.Serialization.v1.Providers.KeyVaultDeserializerTests 6✅ 19ms
Promitor.Tests.Unit.Serialization.v1.Providers.KubernetesServiceDeserializerTests 6✅ 31ms
Promitor.Tests.Unit.Serialization.v1.Providers.LoadBalancerDeserializerTests 6✅ 33ms
Promitor.Tests.Unit.Serialization.v1.Providers.LogAnalyticsDeserializerTests 8✅ 40ms
Promitor.Tests.Unit.Serialization.v1.Providers.LogicAppDeserializerTests 7✅ 44ms
Promitor.Tests.Unit.Serialization.v1.Providers.MariaDbDeserializerTests 7✅ 33ms
Promitor.Tests.Unit.Serialization.v1.Providers.MonitorAutoscaleDeserializerTests 7✅ 19ms
Promitor.Tests.Unit.Serialization.v1.Providers.MySqlDeserializerTests 11✅ 52ms
Promitor.Tests.Unit.Serialization.v1.Providers.NatGatewayDeserializerTests 7✅ 18ms
Promitor.Tests.Unit.Serialization.v1.Providers.NetworkGatewayDeserializerTests 7✅ 25ms
Promitor.Tests.Unit.Serialization.v1.Providers.NetworkInterfaceDeserializerTests 7✅ 28ms
Promitor.Tests.Unit.Serialization.v1.Providers.PostgreSqlDeserializerTests 13✅ 66ms
Promitor.Tests.Unit.Serialization.v1.Providers.PowerBiDedicatedDeserializerTests 6✅ 24ms
Promitor.Tests.Unit.Serialization.v1.Providers.PublicIpAddressDeserializerTests 7✅ 24ms
Promitor.Tests.Unit.Serialization.v1.Providers.RedisCacheDeserializerTests 7✅ 23ms
Promitor.Tests.Unit.Serialization.v1.Providers.RedisEnterpriseCacheDeserializerTests 7✅ 39ms
Promitor.Tests.Unit.Serialization.v1.Providers.ServiceBusNamespaceDeserializerTests 10✅ 62ms
Promitor.Tests.Unit.Serialization.v1.Providers.SqlDatabaseDeserializerTests 10✅ 199ms
Promitor.Tests.Unit.Serialization.v1.Providers.SqlElasticPoolDeserializerTests 10✅ 27ms
Promitor.Tests.Unit.Serialization.v1.Providers.SqlManagedInstanceDeserializerTests 6✅ 31ms
Promitor.Tests.Unit.Serialization.v1.Providers.SqlServerDeserializerTests 6✅ 29ms
Promitor.Tests.Unit.Serialization.v1.Providers.StorageAccountDeserializerTests 6✅ 71ms
Promitor.Tests.Unit.Serialization.v1.Providers.StorageQueueDeserializerTests 13✅ 48ms
Promitor.Tests.Unit.Serialization.v1.Providers.SynapseApacheSparkPoolDeserializerTests 10✅ 72ms
Promitor.Tests.Unit.Serialization.v1.Providers.SynapseSqlPoolDeserializerTests 10✅ 70ms
Promitor.Tests.Unit.Serialization.v1.Providers.SynapseWorkspaceDeserializerTests 7✅ 39ms
Promitor.Tests.Unit.Serialization.v1.Providers.TrafficManagerDeserializerTests 6✅ 31ms
Promitor.Tests.Unit.Serialization.v1.Providers.VirtualMachineDeserializerTests 7✅ 36ms
Promitor.Tests.Unit.Serialization.v1.Providers.VirtualMachineScaleSetDeserializerTests 6✅ 21ms
Promitor.Tests.Unit.Serialization.v1.Providers.VirtualNetworkDeserializerTests 7✅ 38ms
Promitor.Tests.Unit.Serialization.v1.Providers.WebAppDeserializerTests 8✅ 23ms
Promitor.Tests.Unit.Serialization.v1.V1SerializationTests 2✅ 118ms
Promitor.Tests.Unit.Serialization.YamlMappingNodeExtensionTests 11✅ 41ms
Promitor.Tests.Unit.Validation.Authentication.AzureAuthenticationValidationStepTests 14✅ 72ms
Promitor.Tests.Unit.Validation.ResourceDiscovery.AzureLandscapeValidationStepTests 8✅ 155ms
Promitor.Tests.Unit.Validation.ResourceDiscovery.ResourceDiscoveryGroupValidationStepTests 2✅ 60ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.AzureMetricConfigurationValidatorTest 3✅ 1ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.GeneralMetricsDeclarationValidationStepTests 10✅ 275ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.ApiManagementMetricsDeclarationValidationStepsTests 11✅ 443ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.ApplicationGatewayMetricsDeclarationValidationStepTests 10✅ 599ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.ApplicationInsightsMetricsDeclarationValidationStepsTests 10✅ 431ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.AppPlanMetricsDeclarationValidationStepsTests 10✅ 466ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.AutomationAccountMetricsDeclarationValidationStepsTests 12✅ 727ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.AzureFirewallMetricsDeclarationValidationStepsTests 10✅ 375ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.BlobStorageMetricsDeclarationValidationStepTests 12✅ 553ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.CdnMetricsDeclarationValidationStepTests 10✅ 515ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.ContainerInstanceMetricsDeclarationValidationStepTests 10✅ 394ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.ContainerRegistryMetricsDeclarationValidationStepTests 10✅ 537ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.CosmosDbMetricsDeclarationValidationStepTests 10✅ 991ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.DataExplorerClusterMetricsDeclarationValidationStepsTests 10✅ 276ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.DataFactoryMetricsDeclarationValidationStepTests 11✅ 399ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.DataShareMetricsDeclarationValidationStepTests 11✅ 672ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.DeviceProvisioningServiceMetricsDeclarationValidationStepsTests 10✅ 512ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.EventHubsMetricsDeclarationValidationStepTests 14✅ 629ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.ExpressRouteCircuitMetricsDeclarationValidationStepTests 10✅ 409ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.FileStorageMetricsDeclarationValidationStepTests 12✅ 616ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.FrontDoorMetricsDeclarationValidationStepsTests 10✅ 503ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.FunctionAppMetricsDeclarationValidationStepsTests 10✅ 499ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.GenericMetricsDeclarationValidationStepTests 12✅ 623ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.IoTHubMetricsDeclarationValidationStepsTests 10✅ 421ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.KeyVaultMetricsDeclarationValidationStepsTests 10✅ 601ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.KubernetesServiceMetricsDeclarationValidationStepsTests 10✅ 419ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.LoadBalancerMetricsDeclarationValidationStepTests 10✅ 298ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.LogAnalyticsDeclarationValidationStepsTests 6✅ 1s
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.LogicAppsMetricsDeclarationValidationStepTests 10✅ 578ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.MariaDbMetricsDeclarationValidationStepTests 10✅ 382ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.MonitorAutoscaleMetricsDeclarationValidationStepsTests 10✅ 419ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.MySqlMetricsDeclarationValidationStepTests 11✅ 433ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.NatGatewayMetricsDeclarationValidationStepTests 10✅ 983ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.NetworkGatewayMetricsDeclarationValidationStepTests 10✅ 391ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.NetworkInterfaceMetricsDeclarationValidationStepTests 10✅ 359ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.PostgreSqlMetricsDeclarationValidationStepTests 13✅ 521ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.PowerBiDedicatedMetricsDeclarationValidationStepsTests 10✅ 528ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.PublicIpAddressMetricsDeclarationValidationStepsTests 10✅ 417ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.RedisCacheMetricsDeclarationValidationStepTests 9✅ 458ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.RedisEnterpriseCacheMetricsDeclarationValidationStepTests 10✅ 355ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.ServiceBusNamespaceMetricsDeclarationValidationStepTests 17✅ 624ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.SqlDatabaseMetricsDeclarationValidationStepTests 10✅ 463ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.SqlElasticPoolMetricsDeclarationValidationStepTests 10✅ 559ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.SqlManagedInstanceMetricsDeclarationValidationStepTests 9✅ 347ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.SqlServerMetricsDeclarationValidationStepTests 9✅ 327ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.StorageAccountMetricsDeclarationValidationStepTests 12✅ 487ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.StorageQueueMetricsDeclarationValidationStepTests 15✅ 532ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.SynapseApacheSparkPoolMetricsDeclarationValidationStepTests 10✅ 327ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.SynapseSqlPoolMetricsDeclarationValidationStepTests 10✅ 562ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.SynapseWorkspaceMetricsDeclarationValidationStepTests 9✅ 343ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.TrafficManagerMetricsDeclarationValidationStepTests 10✅ 644ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.VirtualMachineMetricsDeclarationValidationStepTests 10✅ 549ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.VirtualMachineScaleSetMetricsDeclarationValidationStepsTests 10✅ 390ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.VirtualNetworkMetricsDeclarationValidationStepTests 10✅ 319ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.ResourceTypes.WebAppMetricsDeclarationValidationStepsTests 11✅ 443ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.Sinks.AtlassianStatuspageMetricSinkValidationStepTests 14✅ 1s
Promitor.Tests.Unit.Validation.Scraper.Metrics.Sinks.OpenTelemetryCollectorMetricSinkValidationStepTests 18✅ 1s
Promitor.Tests.Unit.Validation.Scraper.Metrics.Sinks.PrometheusScrapingEndpointMetricSinkValidationStepTests 4✅ 192ms
Promitor.Tests.Unit.Validation.Scraper.Metrics.Sinks.StatsDMetricSinkValidationStepTests 17✅ 1s
Promitor.Tests.Unit.Validation.Scraper.Misc.AzureLandscapeValidationStepTests 10✅ 1s
Promitor.Tests.Unit.Validation.Scraper.Misc.ConfigurationPathValidationStepTests 2✅ 7ms