File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ func ExampleNewCounterVecT_multiple_labels_manual() {
3737 }
3838
3939 c := promsafe .NewCounterVecT (prometheus.CounterOpts {
40- Name : "items_counted " ,
40+ Name : "items_counted_detailed " ,
4141 }, & MyCounterLabels {})
4242
4343 // Manually register the counter
@@ -62,7 +62,7 @@ func ExampleNewCounterVecT_promauto_migrated() {
6262 var myReg = prometheus .NewRegistry ()
6363
6464 counterOpts := prometheus.CounterOpts {
65- Name : "items_counted " ,
65+ Name : "items_counted_detailed_auto " ,
6666 }
6767
6868 // Old unsafe code
@@ -93,7 +93,7 @@ func ExampleNewCounterVecT_promauto_global_migrated() {
9393 promsafe .SetupGlobalPromauto ()
9494
9595 counterOpts := prometheus.CounterOpts {
96- Name : "items_counted " ,
96+ Name : "items_counted_detailed_auto_global " ,
9797 }
9898
9999 // Old code:
You can’t perform that action at this time.
0 commit comments