We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c41bef4 commit 40e6eecCopy full SHA for 40e6eec
README.md
@@ -629,7 +629,7 @@ To do so you need to create a custom collector (which will need to be registered
629
630
```java
631
class YourCustomCollector extends Collector {
632
- List<MetricFamilySamples> collect() {
+ public List<MetricFamilySamples> collect() {
633
List<MetricFamilySamples> mfs = new ArrayList<MetricFamilySamples>();
634
// With no labels.
635
mfs.add(new GaugeMetricFamily("my_gauge", "help", 42));
0 commit comments