Open tranmonglong0611 opened 2 years ago
That's because of the scheduling process which should be blocked.
You are saying that there is no validation today that makes sure the Azure Monitor configuration is there?
I mean the scheduling process is blocked but the stacktrace log is not really meaningful for the user. They should get the log like "azureMetricConfiguration is required field but was not found ..."
That is exactly the problem though, it should never get that far and the validation should already block that metric.
Report
I run Promitor.Agents.Scraper main method local. And I see that when I lack azureMetricConfiguration field when config metrics I will got this kind of error
Expected Behavior
I want to get Report Error that azureMetricConfiguration is required field when config metrics Something like this
Actual Behavior
Steps to Reproduce the Problem
...
Component
Scraper
Version
v1.0.0
Configuration
Configuration:
Platform
No response
Contact Details
No response