Skip to content

Commit

Permalink
Changing Latency to nonzero value to get rid of InvalidMetrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Mar 20, 2024
1 parent 32b91e6 commit 909df9c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
6 changes: 3 additions & 3 deletions test/app_signals/resources/metrics/client_producer.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@
],
"startTimeUnixNano": START_TIME,
"timeUnixNano": START_TIME,
"sum": 0,
"min": 0,
"max": 0
"sum": 1,
"min": 1,
"max": 1
}
]
}
Expand Down
6 changes: 3 additions & 3 deletions test/app_signals/resources/metrics/server_consumer.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@
],
"startTimeUnixNano": START_TIME,
"timeUnixNano": START_TIME,
"sum": 0,
"min": 0,
"max": 0
"sum": 1,
"min": 1,
"max": 1
}
]
}
Expand Down
9 changes: 9 additions & 0 deletions test/feature/mac/parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,15 @@ metric_validation:
- metric_name: "mem_used_percent"
metric_sample_count: 60
metric_dimension: []
- metric_name: "Latency"
metric_sample_count: 60
metric_dimension: [ ]
- metric_name: "Error"
metric_sample_count: 60
metric_dimension: [ ]
- metric_name: "Fault"
metric_sample_count: 60
metric_dimension: [ ]

# Logs that the test needs to validate; moreover, the feature validation already has
# InstanceID as a log group; therefore, does not need to pass it
Expand Down

0 comments on commit 909df9c

Please sign in to comment.