Skip to content

feat: Provide support for batch scraping #5220

feat: Provide support for batch scraping

feat: Provide support for batch scraping #5220

Triggered via pull request August 2, 2024 23:42
Status Failure
Total duration 2m 25s
Artifacts

codeql-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
Analyse: src/Promitor.Core.Scraping/LogAnalyticsScraper.cs#L53
'LogAnalyticsScraper.BatchScrapeResourceAsync(string, BatchScrapeDefinition<IAzureResourceDefinition>, PromitorMetricAggregationType, TimeSpan)': return type must be 'Task<List<ScrapeResult>>' to match overridden member 'Scraper<LogAnalyticsResourceDefinition>.BatchScrapeResourceAsync(string, BatchScrapeDefinition<IAzureResourceDefinition>, PromitorMetricAggregationType, TimeSpan)'
Analyse: src/Promitor.Core.Scraping/LogAnalyticsScraper.cs#L53
'LogAnalyticsScraper.BatchScrapeResourceAsync(string, BatchScrapeDefinition<IAzureResourceDefinition>, PromitorMetricAggregationType, TimeSpan)': return type must be 'Task<List<ScrapeResult>>' to match overridden member 'Scraper<LogAnalyticsResourceDefinition>.BatchScrapeResourceAsync(string, BatchScrapeDefinition<IAzureResourceDefinition>, PromitorMetricAggregationType, TimeSpan)'
Analyse
Assets file '/home/runner/work/promitor/promitor/src/Promitor.Tests.Unit/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyse
Assets file '/home/runner/work/promitor/promitor/src/Promitor.Integrations.AzureMonitor/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyse
Assets file '/home/runner/work/promitor/promitor/src/Promitor.Core.Scraping/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyse
Assets file '/home/runner/work/promitor/promitor/src/Promitor.Core/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyse
Assets file '/home/runner/work/promitor/promitor/src/Promitor.Integrations.AzureStorage/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyse
Assets file '/home/runner/work/promitor/promitor/src/Promitor.Agents.Scraper/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyse
Assets file '/home/runner/work/promitor/promitor/src/Promitor.Agents.ResourceDiscovery/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyse
Assets file '/home/runner/work/promitor/promitor/src/Promitor.Agents.Core/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyse: src/Promitor.Core.Scraping/Configuration/Model/MetricsDeclaration.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyse: src/Promitor.Core.Scraping/Configuration/Serialization/v1/Model/MetricsDeclarationV1.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyse: src/Promitor.Core.Scraping/Configuration/Model/MetricsDeclaration.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyse: src/Promitor.Core.Scraping/Configuration/Serialization/v1/Model/MetricsDeclarationV1.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyse
1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.