-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[metric] Reset declared_resource to 0 when commit updates with test f…
…ix (#1232) (#1254) * [metric] #3 Reset declared_resource to 0 when commit updates (#1232) The current OpenCensus library keeps a metric stream that is uniquely identified by commit alive even though no new values are issued. This makes the Otel Collector metricstransform processor receives all time value when calculating the max and gives false output. The temporary work around is to reset the stream of previous commit to 0 when parser sees new commit. b/321875474 * Use default timeout for metric value check (#1264) * test: Only check declared_resources metric (#1268) The fix #1232 only affects declared_resources from Config Sync. The metric from RG controller may take longer to be ready. Skip checking for those target values for now.
- Loading branch information
1 parent
6d547d0
commit 367f1f4
Showing
2 changed files
with
91 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters