Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gnocchi: don't create metrics with resource
Ceilometer creates metrics that will never get measures (service not polled, notification not configured). This is because we create all metrics during resource creation. That was done sometimes ago because Gnocchi was not provide metrics creating during batching process. But since a while now, we also create metrics (if missing) during the batch processing. This change removes the creation of metrics during resource creation. All metrics with measures got created during the batch call. This stops to have metric without measures in Gnocchi. Change-Id: I3f3b805722b11029aefdb76bae93413cb32ecff6 (cherry picked from commit 10cd6ba) original commit 826ba35c6eb9900bb0a557f6e4f06f7d1b9bd394 StoryBoard: “Various backports to core openstack components to pick up fixes” https://storyboard.openstack.org/#!/story/2003407
- Loading branch information
Showing
3 changed files
with
44 additions
and
41 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
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/gnocchi-no-metric-by-default-b643e09f5ffef2c4.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 @@ | ||
--- | ||
issues: | ||
- | | ||
Ceilometer created metrics that could never get measures depending on the | ||
polling configuration. Metrics are now created only if Ceilometer gets at | ||
least a measure for them. |