-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support downsampling of histogram as labels (#93445)
The first GA version of downsampling supports numeric metrics and does not include histograms. Support for downsampling of histogram fields as metrics will come in future. In the meanwhile we need to make sure that histograms are correctly handled as labels considering that we can't use histogram fields as dimensions nor as metrics. This means that we treat histograms as any other label, which is, we propagate the latest (most recent timestamp-wise) value. Note that we need this even after supporting histograms as metrics, in case the time_series_metric is not provided for a histogram field. Histogram fields do not have FormattedDocValues. Here we override the getFormattedValues for the histogram field data in such a way to be able to extract the doc values and process them.
- Loading branch information
1 parent
925a6dc
commit 6f7eeb0
Showing
5 changed files
with
230 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 93445 | ||
summary: Support downsampling of histogram as labels | ||
area: Rollup | ||
type: bug | ||
issues: | ||
- 93263 |
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
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