Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip a cycle instead of retrying if a metric is not found in gnocchi
In case a metric is not found in gnocchi, return nothing instead of retrying. The metric is unlikely to be available during the next collection cycle. Change-Id: I4b954b146b800255554449bb19eb4bed3cb87dd4
- Loading branch information
1 parent
5c69644
commit 6404ec1
Showing
3 changed files
with
27 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
other: | ||
- | | ||
The "scope_key" option is now defained in cloudkitty.conf and has been | ||
The "scope_key" option is now defined in cloudkitty.conf and has been | ||
removed from the cloudkitty and monasca collector's extra_args |
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/skip-period-if-nonexistent-metric-ba56a671e68f5bf5.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
fixes: | ||
- | | ||
The behaviour of the gnocchi collector has changed in case of a nonexistent | ||
metric. Given that a nonexistent metric is unlikely to exist in the next | ||
collection cycle, the metric is simply skipped. |