Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
expfmt/text: optionally include empty MetricFamilies
When parsing text format it is sometimes useful to keep all the MetricFamilies around, even the ones that don't have any timeseries. This is the case for the testutil library in client_golang where we need to distinguish registered metrics from erronous inputs. Signed-off-by: Damien Grisonnet <[email protected]>
- Loading branch information