kubo/test/sharness/t0119-prometheus-data
Andrew Gillis b3973fa016
refactor: make datastore metrics opt-in (#10788)
* datastore: metrics optional and off by default

When ipfs is initialized, the datastore metrics wrapper is not configured by default as it previously was. To enable datastore metrics during initialization, specifying the appropriate `--profile` option.

To enable datastore metrics tracking wrapper, initialize with datastore profile name + "-measure" suffix. For example:
```
ipfs init --profile flatfs-measure
```

Closes #10767

* fix sharness tests for new datastore dafaults

* Add sharness test to check metrics added by flatfs-measure profile

* Document updated metrics in changelog

* update config doc with new profiles

* docs(changelog): separate section

* initialize non-measure pebbleds with FormatMajorVersion config

* docs: fix typos, add docs link

---------

Co-authored-by: gammazero <gammazero@users.noreply.github.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2025-04-30 22:01:24 +02:00
..
prometheus_metrics refactor: make datastore metrics opt-in (#10788) 2025-04-30 22:01:24 +02:00
prometheus_metrics_added_by_enabling_rcmgr refactor(rcmgr): use default libp2p rcmgr metrics (#9947) 2024-11-27 20:50:43 +01:00
prometheus_metrics_added_by_measure_profile refactor: make datastore metrics opt-in (#10788) 2025-04-30 22:01:24 +02:00