We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dfaff2 commit 8344bdbCopy full SHA for 8344bdb
validator/src/main/java/com/amazon/aoc/validators/CWMetricValidator.java
@@ -92,10 +92,12 @@ public void validate() throws Exception {
92
maxRetryCount,
93
() -> {
94
95
+ String httpPath = validationConfig.getHttpPath();
96
+
97
// Special handling for Genesis path - just check if any metrics exists in namespace
98
// since ADOT will just capture any OTel Metrics emitted from the instrumentation library used
99
// and convert them into EMF metrics, it's impossible to create a validation template for this.
- if (validationConfig.getHttpPath().contains("ai-chat")) {
100
+ if (httpPath != null && httpPath.contains("ai-chat")) {
101
validateAnyMetricExists();
102
return;
103
}
0 commit comments