Is your feature request related to a problem?
Yes. We are working on the C++ Prometheus Exporter and are mapping the Exact Aggregator to the Prometheus Summary data type, which requires a vector of quantile data. We found some gaps between these two components.
- The Exact Aggregator has two different modes. We can pass a boolean in the constructor to tell it whether to collect the quantile data. If an Exact Aggregator instance is initialized with a false, we cannot get the quantile from it and it cannot be translated to a Prometheus Summary in this case.
- If the Exact Aggregator collects quantile data, there is also another problem. In the aggregator we have a function that takes a double between 0 to 1 inclusive as a quantile, and it returns the value at this quantile. We don't know how many quantile samples should be taken and put into a Prometheus Summary.
Describe the solution you'd like
- For the first problem, we need some instructions from the community.
- For the second, what we are doing now is taking quantiles at 0, 0.25, 0.5, 0.75, and 1, so the quantile vector has 5 samples in it. Again, some official instructions needed.
Is your feature request related to a problem?
Yes. We are working on the C++ Prometheus Exporter and are mapping the Exact Aggregator to the Prometheus Summary data type, which requires a vector of quantile data. We found some gaps between these two components.
Describe the solution you'd like